Jonathan Frederic
5c5025f3b6
Added smooth scroll to replace std browser behavior.
12 years ago
Jonathan Frederic
c2d72353a2
Fixed bug
12 years ago
Jonathan Frederic
617f078165
Make slideshow toolbar add classes to modified cells.
12 years ago
Jonathan Frederic
06ad682d68
Add scrollmanager
12 years ago
Jessica B. Hamrick
d46606a48b
Trim anchor link in heading cells, fixes #6324
12 years ago
Pierre Gerold
406860fd35
Typo and presentation
12 years ago
Pierre Gerold
98f2d989b6
Modify cells converter funcs to keep metadata through
12 years ago
Jason Grout
78ae8b36c5
Fix several small bugs in the notebook trust framework
...
1. The trust dialog is not called with the notebook context, so we have to use the closure to bind to a notebook event.
2. Replace != with !==
3. The trust_changed.Notebook event default handler expects the trust value to be value key inside an object. In fact, the event handler is redundant with the code--both seem to set the trust value of the current notebook.
12 years ago
Thomas Kluyver
fdb375e0ef
Merge pull request #6380 from ellisonbg/latex-complete
...
Adds Julia-style latex->unicode tab completion
12 years ago
Thomas Kluyver
bdb5481a1e
Remove leftover debugging
12 years ago
Jessica B. Hamrick
b8d3d2c6af
Register input with keyboard manager, fixes #6426
12 years ago
Jessica B. Hamrick
3aada4008c
Rename chkb to text
12 years ago
Jessica B. Hamrick
c3c11e5820
Initial version of textbox celltoolbar ui element
12 years ago
Fernando Perez
a5fd908b28
Merge pull request #6408 from minrk/new-cell-code
...
make default cell type configurable
12 years ago
MinRK
6cee444630
make default cell type configurable
...
- adds IPython.notebook.default_cell_type
- default is 'code' (matching IPython 2.0)
- special heuristic values include:
- 'selected': default to selected cell (current master behavior)
- 'above': default to cell above
- 'below': default to cell below
12 years ago
Matthias BUSSONNIER
186c8ae41d
remove useless comment
12 years ago
Matthias BUSSONNIER
a9b4bdc03f
Move md-cell display logic to css
12 years ago
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
12 years ago
MinRK
6038612732
don't hide cell toolbar on rendered text cells
...
because it annoys @Carreau
12 years ago
Matthias BUSSONNIER
7752320295
get rid of some jq-ui- style
12 years ago
Brian E. Granger
a67c7e83a6
Adding tests and limiting CM mode to python 3.
12 years ago
Brian E. Granger
2dfd4079ec
Cleaning up and only doing latex completion for python 3.
12 years ago
Brian E. Granger
27f2f6baaa
Adding regexp for unicode identifers to CM mode.
12 years ago
MinRK
6345b6c874
fix handling of no-checkpoint-defined
...
a few typos and missing handling of undefined checkpoint
regression introduced in #6205
12 years ago
Matthias Bussonnier
77ec6fdfa2
Merge pull request #6205 from Carreau/momentjs
...
use momentjs for nicer dates
12 years ago
Brian E. Granger
9e16415907
Initial messing around.
...
Latex tab completion will have to be done outside the normal
completer logic as the completer line splitting logic uses
\\ as a special character to split lines on. I probably want
to put the latex completions first and it if finds any matches,
don't do any other completion logic. The only issue is that might
short circuit dir/path matching on windows. Hmmm.
12 years ago
Brian E. Granger
4b22230896
Merge pull request #6305 from minrk/switch-kernel-close-ws
...
JS: close WebSockets when killing kernels
12 years ago
MinRK
d5a4553b8e
improve indicators and handling of dead kernels and broken websocket connections
...
I think it's still possible to get to a state with no kernel and insufficient indication.
Imperfect, but an improvement.
12 years ago
MinRK
0909694b50
avoid race condition when deleting/starting sessions
...
javascript doesn't guarantee the order of AJAX requests,
so we give `Session.delete` and `Kernel.kill` a callback signature.
Changing the kernel type calls `Notebook.start_kernel`,
which terminates the previous session, if defined,
before starting the new one.
A flag is stored, to prevent multiple simultaneous attempts to start sessions, raising a SessionAlreadyStarting Error,
preventing the spec_changed event from firing.
12 years ago
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
12 years ago
MinRK
cb3da26e61
display JSON error message on failed notebook load
...
if there is one (escaped for safety).
12 years ago
Thomas Kluyver
c15284d716
Merge pull request #6238 from ivanov/cm-heading-fonts
...
proportional font-size when editing heading cells
12 years ago
Thomas Kluyver
b95de43b97
Merge pull request #6253 from jasongrout/highlighting-bug
...
Copy codemirror mode configuration instead of changing it
12 years ago
Jason Grout
c80709e5a3
Copy codemirror mode configuration instead of changing it
...
If we change it, the modified (wrong) mode is saved in the notebook, which
wrecks havoc on highlighting once the notebook is saved and reopened.
12 years ago
MinRK
8c4069cc00
add support and tests for uploading and saving regular files
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
Paul Ivanov
fd53a306c4
Merge pull request #6197 from ivanov/set-text-rendered
...
changing text of cell should reset rendered status
12 years ago
Paul Ivanov
9cafcaa421
fix more style consistencies
12 years ago
Paul Ivanov
5e018bba0d
match font family when editing heading cells
12 years ago
Paul Ivanov
468e568ea7
appropriate heading level when loading from JSON
12 years ago
Matthias BUSSONNIER
8b20aee32e
use momentjs for nice dates
12 years ago
Min RK
a2a70b40e2
Merge pull request #6145 from Carreau/style-cleanup
...
JS/CSS Style cleanup
12 years ago
Matthias BUSSONNIER
2899c766a1
remove var
12 years ago
Paul Ivanov
66733621de
proportional font-size when editing heading cells
...
@MinRK @takluyver and I had the idea to do this when we were discussing #6225 .
12 years ago
Thomas Kluyver
4fc8af546b
Merge pull request #5859 from watercrossing/addPageUpDown
...
add page-up and page-down functionality to the autocomplete dropdown
12 years ago
Paul Ivanov
86f38a8f3b
call unrender() when setting text of cells
12 years ago
Min RK
254d372522
Merge pull request #6227 from Carreau/cellt-g-event
...
Use global event for celltoolbar
12 years ago
Thomas Kluyver
274cfb3af2
Merge pull request #6225 from ivanov/split-merge-heading-cells
...
allow splitting and merging of heading cells
12 years ago
Matthias BUSSONNIER
aad51f9527
rename ipevents to events for consistency
12 years ago
Matthias BUSSONNIER
2c4f2f98a6
Use global event for celltoolbar
12 years ago
Matthias BUSSONNIER
a72bd4f52e
use dataformat module explicitely
12 years ago
Matthias BUSSONNIER
b63cb1f34f
remove unused dependecy and css class
12 years ago
Matthias BUSSONNIER
8506e2c257
remove empty style function of save widget
12 years ago
Matthias BUSSONNIER
04088c9559
remove empty style function
12 years ago
Matthias BUSSONNIER
4d9611a9ff
add TODO
12 years ago
Matthias BUSSONNIER
c468caeb19
add extra var for local variable
12 years ago
Matthias BUSSONNIER
233ef2180d
remove unused variable
12 years ago
Matthias BUSSONNIER
4f7f90dca8
comment typo
12 years ago
Matthias BUSSONNIER
660ddf76af
move tolbar styling to css
12 years ago
Matthias BUSSONNIER
72c0e4446f
command_mode_icon typos (dash instead of underscore)
12 years ago
Matthias BUSSONNIER
1f0ef5dc97
more cleanup
12 years ago
Matthias BUSSONNIER
d732098ee1
remove uselessrandom id, and move styling to css
12 years ago
Matthias BUSSONNIER
5b9f518513
move styling from js to css
12 years ago
Matthias BUSSONNIER
01a0d038d4
move styling from js to css
12 years ago
Matthias BUSSONNIER
a97f4f69cc
move styling from js to css
12 years ago
Matthias BUSSONNIER
09e866a750
remove js styling, already done in css + deprecate warning
12 years ago
Matthias BUSSONNIER
0b092b4199
movestyling from js to css
12 years ago
Matthias BUSSONNIER
b8d98e9d81
move border-box-sizing from js to css
...
nothing to do in js, pure styling.
12 years ago
Matthias BUSSONNIER
52309fba7c
Transfer of border-box-sizing from js to css
...
`border-box-sizing` is pure styling, it has nothing to do in Javascript
it should be put in css to be overwritable.
12 years ago
Matthias BUSSONNIER
d7cc8dcf8d
a few todo
12 years ago
Min RK
c007debe3a
Merge pull request #6084 from tomspur/fontawesome4
...
Update fontawesome to 4.1
12 years ago
Thomas Kluyver
c9631845fa
Merge pull request #6126 from takluyver/kernelspecs-nb-ui
...
UI for changing kernels in the notebook
12 years ago
Paul Ivanov
e52f3ac85b
allow splitting and merging of heading cells
...
I consider it a bug that you couldn't merge with heading cells, and that
you couldn't split them, either. (So much so that I thought it was a bug
in ipython-vimception when I ran into it).
This change removes that limitation, so heading cells are on par with
the other cells in terms of the kinds of manipulations one can carry out
with them.
12 years ago
Matthias BUSSONNIER
36e3f20d5e
fix some font-awesoem 4 icons
12 years ago
Thomas Spura
8a9dcd219d
Port to fontawesome4
12 years ago
Matthias Bussonnier
925a968840
Merge pull request #6063 from Carreau/fix-5984
...
Introduce info/warning/danger to notification area
12 years ago
Thomas Kluyver
316ecf3e54
Address review comments
12 years ago
Matthias BUSSONNIER
573c45613d
fix missing semicolons
12 years ago
Ben Duffield
aa8df62b81
add marked to require dependencies
12 years ago
Thomas Kluyver
c71eea365e
Add submenu under kernel for changing kernel
12 years ago
Thomas Kluyver
72e2c2c6d7
Remove last use of global kernelselector
12 years ago
Thomas Kluyver
76477386ae
Don't refer to global kernelselector object in Session
12 years ago
Thomas Kluyver
2785e87b4b
Fix JS iteration
...
Well, work around it.
12 years ago
Matthias BUSSONNIER
849ff3bb05
Simplify and uniformise styling of kernel selector
...
Make the theme coherent with the logout button
12 years ago
Thomas Kluyver
c432af1af5
Use JS events for switching kernelspecs
12 years ago
Thomas Kluyver
01d43290af
Remove unused style() function
12 years ago
Thomas Kluyver
e51f26275a
Set codemirror mode from kernelspecs
12 years ago
Thomas Kluyver
ba69cd972e
Add method to change codemirror mode of all code cells
12 years ago
Thomas Kluyver
54c6cb62c0
Start kernel according to loaded notebook metadata
12 years ago
Thomas Kluyver
b644ddbe36
Store kernelspec in notebook metadata on change
12 years ago
Thomas Kluyver
7400dd1c18
Line dropdown up on RHS of kernel name
12 years ago
Thomas Kluyver
6f8c4b8dc4
Style kernel name
12 years ago
Thomas Kluyver
9581bd7dc3
Change displayed kernel name when our session is started
12 years ago
Thomas Kluyver
41626420e2
Allow switching kernel from the notebook UI
12 years ago
Matthias BUSSONNIER
93314f8126
Introduce info/warning/danger to notification area
...
Add corresponding style.
Should fix #5984
Error when (auto)saving and things along should stand out in the
UI for the user to investigate the reason as soon as possible not to
loose work later.
12 years ago
Paul Ivanov
b67aac5aef
Merge pull request #6119 from minrk/global-events
...
return global events from require(['base/js/events']).
12 years ago
Matthias Bussonnier
16d21d3267
Merge pull request #6188 from jasongrout/highlightjs-require-shim
...
Add a requirejs shim for highlight.js
12 years ago
Matthias Bussonnier
b290f48815
Merge pull request #6036 from minrk/restore-ws-host
...
restore websocket_url configurable
12 years ago
Paul Ivanov
294df0e623
changing the text should reset rendered flag
12 years ago
Jason Grout
3fc4442053
Move shim to the standard location
12 years ago
MinRK
9ff7d264ab
note loaded, unused dependencies in require
12 years ago
MinRK
4097da724b
preserve backward-compatible $([IPython.events])
12 years ago
Jason Grout
abf86d5324
Trigger app_initialized event *after* the 'global' IPython object is initialized
12 years ago
MinRK
b1291df14a
return global events from require(['base/js/events']).
...
In master, it is impossible to load code on IPython events without setting timeouts.
12 years ago
Min RK
2fe0687097
Merge pull request #6149 from jasongrout/less-upgrade
...
Less upgrade
12 years ago
Matthias Bussonnier
cb810bad86
Merge pull request #6190 from minrk/bootstrap-shim
...
add bootstrap shim for require
12 years ago
MinRK
d345546d15
add bootstrap shim for require
...
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
12 years ago
MinRK
137f98014a
pass ws_url to kernel constructor
...
via session constructor via notebook constructor…
12 years ago
MinRK
e17c636e18
coalesce stream output in the notebook
...
This merges consecutive outputs on one stream into a single output.
Essentially, it applies the same merging that we do visually to the content stored in the notebook document.
This results in a massive performance improvement in load-time and storage size
for notebooks that have many calls to `sys.stdout.flush()`.
12 years ago
MinRK
579f5101f0
restore websocket_url configurable
...
allows ws to be handled via separate proxies,
as appears to be the case on OpenShift and some other hosting services.
12 years ago
Jason Grout
ab9e4b600e
Add a requirejs shim for highlight.js
...
Before this, highlighting code in markdown cells was broken since hljs wasn't available.
A better solution might be to build the highlight.js amd module (i.e., build the highlight.js module with `--target=amd`) so that we don't need the shim.
12 years ago
Jason Grout
33f256a195
abstract hard-coded style values to be variables for different theming
12 years ago
MinRK
112c4083e9
add comments for style blocks in less
...
separates each component into individual line in compiled css,
reducing some churn in minified css files.
12 years ago
Matthias Bussonnier
f3e599e0c4
Merge pull request #6160 from parleur/patch-2
...
Span in CellToolBar instead of div
12 years ago
MinRK
98ac874131
cell toolbar and modal dialog fixes
...
- name conflict in modal
- cell.cell_type in cell toolbar
prevented edit metadata from working properly.
12 years ago
Pierre Gerold
ac6808b884
Update celltoolbar.js
...
I want to write an extension with multiple select bar. They are supposed to be displayed inline, not in block mode. The better way is to use span instead of div.
12 years ago
Thomas Kluyver
5afc070910
Add default_kernel_name class level variable
12 years ago
Thomas Kluyver
c37acf2ae7
Fix JS syntax
12 years ago
Thomas Kluyver
6efbe46b73
Update JS for kernels and sessions APIs
12 years ago
Jonathan Frederic
a226bd2d6e
Fixed cell toolbars
12 years ago
Jonathan Frederic
b15633a89e
Fix all the tests
12 years ago
Jonathan Frederic
2478fac032
More requirejs fixes
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
669db572f2
Fix some dialog keyboard_manager problems
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
jon
70ffd96eb9
Added some nice comments,
...
so devs can easily figure out what options to pass
into the objects they want to construct.
12 years ago
jon
d9ab2d203a
In person review with @ellisonbg
12 years ago
jon
1e098560b8
Revert "Google hangout review comments."
...
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
12 years ago
Jonathan Frederic
eb2b1ab4a4
Google hangout review comments.
12 years ago
Jonathan Frederic
c2c87e1a76
nbconvert api tests fixes
12 years ago
Jonathan Frederic
188072d190
@carreau review changes
12 years ago
Jonathan Frederic
2ba8945cab
Fix all the bugs!
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0edfdbc703
Return dicts instead of classes,
...
this makes require.js more Python import like.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
ca2014ad06
Pager
12 years ago
Jonathan Frederic
152e23dc76
Progress...
12 years ago
Jonathan Frederic
e6b7cc9ff9
Fixed events
12 years ago
Jonathan Frederic
8d511b2ff5
Finished moving code into final(?) resting modules
12 years ago
Jonathan Frederic
9bfe5fc06c
Use ipython namepsace for instances.
12 years ago
Jonathan Frederic
fb32b6561f
Start of work to make notebook.html requirejs friendly.
12 years ago
Jonathan Frederic
336a49eb18
Merge pull request #5995 from Carreau/clean-backward-compat
...
remove backward compat `container` in output area as planed.
12 years ago
Matthias BUSSONNIER
db5b58360e
remove backward compat `container` in output area as planed.
12 years ago
Min RK
9f1dc1b99f
Merge pull request #5803 from Carreau/ulh
...
unify visual line handling
12 years ago
MinRK
ad4cb2c35a
fix stream output created by raw_input
...
was using incorrect 'name', when it should have been 'stream',
creating invalid content in notebook documents.
12 years ago
Matthias BUSSONNIER
fd4dd9246e
inherit style instead of duplicating it
12 years ago
Jonathan Frederic
dba9a04f27
Removed block commented tour step (never worked anyways)
12 years ago
Jonathan Frederic
e31fa6cf2c
Fix bootstrap tour
12 years ago
Jonathan Frederic
99b1747c60
Bootstrap Tour related fixes
12 years ago