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
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
Bussonnier Matthias
cd67e1aca7
return elements instead of append them directly
...
+ jshint fixes
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
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
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
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
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)
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
Min RK
696394e27d
allow kernel_name to be specified in url parameter
12 years ago
Thomas Kluyver
c3cb2164f6
Clear output after replacing cell contents
12 years ago
Thomas Kluyver
90817ccb1f
Machinery to replace the current cell instead of adding a new one
12 years ago
Nicholas Bollweg (Nick)
83757b6a0e
moving typeset to utils, usage in cell and outputarea
12 years ago
Jonathan Frederic
e7330f5e22
Address @carreau 's review comments
12 years ago
Jonathan Frederic
ebb6e818a7
Fix, prevent notebook from having its height set on pager display
12 years ago
Jonathan Frederic
e79a43e867
Fix scroll/resize handle missing behavior.
12 years ago
Jonathan Frederic
353a9afd34
Kill the layout manager
12 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
12 years ago
Thomas Kluyver
1929f5702c
Merge pull request #6945 from minrk/kernel-info-lang
...
fix loading of language name from kernel_info
12 years ago
Min RK
0a36fb6cdc
Merge pull request #7068 from Carreau/close-pager
...
close pager on escape on command mode
12 years ago
Thomas Kluyver
eb14a13843
Merge pull request #6991 from minrk/unhandled-types
...
Handle unrecognized output and cell types
12 years ago
Matthias Bussonnier
ed7bcb5359
close pager on escape on command mode
12 years ago
Min RK
88219df674
Preserve nbformat_minor from the future
...
warn on click of unrecognized elements, rather than on load.
12 years ago
Matthias Bussonnier
0bb4e55ff6
Merge pull request #7055 from foogunlana/codemirror_bug_fix
...
Fixed the code mirror skipping Markdown cell bug
12 years ago
foogunlana
f0010c086d
Fixed code mirror bug for markdown cells
12 years ago
foogunlana
dbc98b5f69
Fixed code mirror skipping Markdown cell bug
12 years ago
Min RK
9067245c0b
Merge pull request #7033 from Carreau/fcell
...
get cell correctly in nested context
12 years ago
Bussonnier Matthias
794ef18920
get cell correctly in nested context
...
fix some extensions like live_reveal
the .not('.cell .cell') part prevent the potential selection of DOM
elelment that would have the class cell from any output. In each branch
of the dom we thus select the first decendent node that have the class
'.cell'.
12 years ago
Thomas Kluyver
d64c6e5841
Load nbextensions from config
12 years ago
Min RK
cf91873644
Merge pull request #6866 from takluyver/nb-texteditor
...
Notebook text editor
12 years ago
Min RK
535bbee883
Merge pull request #6978 from takluyver/nbconvert-script
...
Nbconvert to script for any kernel language
12 years ago
Kyle Kelley
6061ff914b
Merge pull request #7010 from quantopian/add-events
...
Add various events useful for third party integrations.
12 years ago
Scott Sanderson
4ed34d4f9d
DEV: Pass current cell to the execute cell event.
12 years ago
Matthias Bussonnier
5db4b7a8ee
Merge pull request #6668 from Carreau/actions
...
Add notion of action to keyboard manager.
12 years ago
Scott Sanderson
16b9150151
DEV: Add various events.
12 years ago
Thomas Kluyver
8bfec5015b
Add the . into file_extension
12 years ago
Min RK
c72c637511
move language name, version into language_info
...
in kernel_info_reply
adds adaptation of language info to msgspec adapter
12 years ago
Min RK
4ec20d55da
fix loading of language name from kernel_info
...
language is langinfo.name, not langinfo.language
fixes highlighting for IJulia kernels
12 years ago
Thomas Kluyver
6419595371
Use NotificationArea in the text editor
12 years ago
Min RK
c9a4e5b00d
handle various permission failures
...
- turn various EPERM, EACCES errors into 403
- add `writable` bool field to contents models
- if a notebook is not `writable`, save is disabled
12 years ago
Min RK
bb23105fdd
Handle unrecognized outputs and cells from the future
12 years ago
Bussonnier Matthias
907d70339e
some extra comma/semicolon cleanup
12 years ago
Bussonnier Matthias
ac355d757f
update to use event
12 years ago
Matthias Bussonnier
9ae62c21b8
Some cleanup unused code and missig use-strict
12 years ago
Min RK
a4aaf94cd6
Merge pull request #6987 from takluyver/i6983
...
Fix conversion of input area to stream output
12 years ago
Thomas Kluyver
5990012062
Fix conversion of input area to stream output
...
Closes gh-6983
12 years ago
Thomas Kluyver
58b0669b9b
Fix asyncy nbconvert to download
12 years ago
Thomas Kluyver
800e2ad25a
'Download as' script
12 years ago
Min RK
c7ad3aa47d
Don't dismiss rename dialog until rename is complete
...
- draws error message in the same dialog,
rather than triggering a new dialog via events.
- `Notebook.rename` returns the contents Promise, rather than registering its own error handler.
12 years ago
Min RK
da80d64e45
Merge pull request #6955 from Carreau/typeset
...
Actually typeset latex
12 years ago
Jonathan Frederic
7a3a9e74e9
Bug fix, typo
12 years ago
Jonathan Frederic
db2ef15b81
Address @carreau 's comments
12 years ago