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.
2014-09-12 17:22:03 +00:00
Thomas Kluyver
fdb375e0ef
Merge pull request #6380 from ellisonbg/latex-complete
...
Adds Julia-style latex->unicode tab completion
2014-09-09 14:27:44 -07:00
Thomas Kluyver
bdb5481a1e
Remove leftover debugging
2014-09-09 12:47:02 -07:00
weichm
06b2926a0a
"event" is not defined error in Firefox
...
see http://stackoverflow.com/questions/20522887/referenceerror-event-is-not-defined-error-in-firefox
"WebKit follows IE's old behavior of using a global symbol for "event", but Firefox doesn't..."
2014-09-08 21:18:34 +02:00
Jessica B. Hamrick
b8d3d2c6af
Register input with keyboard manager, fixes #6426
2014-09-07 13:08:18 -07:00
Jessica B. Hamrick
3aada4008c
Rename chkb to text
2014-09-06 14:18:42 -07:00
Jessica B. Hamrick
c3c11e5820
Initial version of textbox celltoolbar ui element
2014-09-06 13:34:43 -07:00
Fernando Perez
a5fd908b28
Merge pull request #6408 from minrk/new-cell-code
...
make default cell type configurable
2014-09-05 18:41:35 -07:00
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
2014-09-05 11:28:00 -07:00
Matthias BUSSONNIER
186c8ae41d
remove useless comment
2014-09-05 11:14:37 -07:00
Matthias BUSSONNIER
a9b4bdc03f
Move md-cell display logic to css
2014-09-05 11:03:48 -07:00
Matthias Bussonnier
df67bd1720
Merge pull request #6406 from minrk/celltoolbar-rendered
...
don't hide cell toolbar on rendered text cells
2014-09-04 15:19:59 -07:00
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
2014-09-04 11:15:45 -07:00
MinRK
6038612732
don't hide cell toolbar on rendered text cells
...
because it annoys @Carreau
2014-09-03 17:08:55 -07:00
Matthias Bussonnier
9e8cf39956
Merge pull request #6258 from patricktokeeffe/patch-1
...
Update custom.js
2014-09-03 10:53:24 -07:00
Matthias BUSSONNIER
7752320295
get rid of some jq-ui- style
2014-09-02 17:47:59 -07:00
Brian E. Granger
a67c7e83a6
Adding tests and limiting CM mode to python 3.
2014-08-29 09:55:40 -04:00
Brian E. Granger
2dfd4079ec
Cleaning up and only doing latex completion for python 3.
2014-08-28 21:50:26 -04:00
Brian E. Granger
27f2f6baaa
Adding regexp for unicode identifers to CM mode.
2014-08-28 21:42:04 -04:00
Jonathan Frederic
2f9dcb852c
Fab CSS
2014-08-28 11:15:35 -07:00
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
2014-08-28 11:15:35 -07:00
Jonathan Frederic
fa1c6f93f1
Added bootstrap3 progress bar classes
2014-08-28 11:15:35 -07:00
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
2014-08-28 11:15:35 -07:00
Jonathan Frederic
a0e70e350f
Fix some bugs found by the widget examples,
...
add margin and padding base traits,
add overflow traits to box base.
2014-08-28 11:15:24 -07:00
Jonathan Frederic
834fe2d044
Fab CSS
2014-08-28 11:11:16 -07:00
Jonathan Frederic
42cc27e1f5
Finished style attributes.
2014-08-28 11:09:55 -07:00
Jonathan Frederic
fdcf263965
Partial implementation of styles
2014-08-28 11:09:55 -07:00
Jonathan Frederic
9af77a6374
Initial crack at using specific traits for styling.
2014-08-28 11:09:55 -07:00
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
2014-08-28 11:09:55 -07:00
Paul Ivanov
78918ba827
Merge pull request #6359 from minrk/build-css
...
build css
2014-08-28 10:35:02 -07:00
MinRK
6345b6c874
fix handling of no-checkpoint-defined
...
a few typos and missing handling of undefined checkpoint
regression introduced in #6205
2014-08-27 13:17:19 -07:00
Min RK
89f5ec3677
Merge pull request #6306 from coderforlife/master
...
Minor improvements to file upload.
2014-08-26 17:22:45 -07:00
MinRK
318d46d647
build css
...
looks like a recent PR didn't have a final render of the LESS
2014-08-26 09:33:14 -07:00
Jonathan Frederic
cf0ca9d4a5
Merge pull request #6050 from chronitis/interact-range-widgets
...
Range widgets
2014-08-25 21:40:21 -07:00
Gordon Ball
a12b1a50a9
Change range
trait to _range
2014-08-24 11:48:19 +02:00
Gordon Ball
1a8b77231e
Remove errant tabs from js
2014-08-24 11:32:03 +02:00
Matthias Bussonnier
77ec6fdfa2
Merge pull request #6205 from Carreau/momentjs
...
use momentjs for nicer dates
2014-08-23 22:19:08 +02:00
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.
2014-08-22 17:28:13 -04:00
Gordon Ball
b8c0afbb55
Merge master
2014-08-22 10:19:03 +02:00
Brian E. Granger
4b22230896
Merge pull request #6305 from minrk/switch-kernel-close-ws
...
JS: close WebSockets when killing kernels
2014-08-20 17:38:46 -04:00
Brian E. Granger
94f717781d
Merge pull request #6125 from jdfreder/flex
...
Embrace the flexible box model in the widgets
2014-08-20 14:15:22 -04:00
Jonathan Frederic
62bd36bcc9
s/that/this bug
2014-08-20 09:34:25 -07:00
Gordon Ball
08895738f2
Merge master
2014-08-20 16:44:58 +02:00
Jonathan Frederic
ed593f02f1
Merge pull request #6171 from tarzzz/slider-value-validate
...
Validate slider value, when limits change
2014-08-18 20:03:14 -07:00
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.
2014-08-18 10:50:25 -07:00
Jonathan Frederic
2790684a17
Fixed typo
2014-08-15 10:41:43 -07:00
Jonathan Frederic
afdba2fd47
Fix logic, use box where applicable
2014-08-15 10:14:04 -07:00
Jonathan Frederic
9b5ece6661
Make popup inherit from widget box
2014-08-14 16:09:50 -07:00
Jonathan Frederic
371b12a9b0
Fab CSS
2014-08-14 15:53:13 -07:00
Jonathan Frederic
0aca365718
Address Sylvain's comments.
2014-08-14 15:51:41 -07:00
Tarun Gaba
258b888835
added 'var'
2014-08-15 02:59:28 +05:30
Tarun Gaba
dda92ff7ea
Removed another stray alertO
2014-08-15 02:21:53 +05:30
Tarun Gaba
825186c868
Removed alert statement!
2014-08-15 02:19:26 +05:30
Tarun Gaba
539596bcdd
adressed @jdfrederer's concern!
2014-08-15 02:18:38 +05:30
Jeffrey Bush
f141a6926a
File list refreshes no longer move the upload filename boxes.
...
The new file list is always placed after the upload filename boxes. I also removed the autorefresh guards against refreshing while having an upload box since this is no longer a problem.
2014-08-13 23:58:20 -07:00
Jeffrey Bush
1f68e22486
Fixed many edge cases in file uploads.
...
When there is an error reading a file, a message is shown (I could reproduce this easily by dragging a folder onto the list), added a missing "return false;" after an illegal notebook was detected, and we prevent no-name files and files starting with dots (which will not be visible in dashboard and automatically overwritten).
2014-08-13 22:55:53 -07:00
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.
2014-08-13 22:11:32 -07:00
Jeffrey Bush
305c734830
Uploading a file with a name that already exists asks the user if they want to overwrite.
...
This is not perfect (it doesn't check against the real filesystem but the current list in the browser which may be stale) but it is better than nothing.
2014-08-13 22:07:57 -07:00
Jeffrey Bush
5fff038965
Added ESC keep to upload textbox to cancel.
2014-08-13 20:57:35 -07:00
Jeffrey Bush
defabcc772
Minor improvements to file upload.
...
Updated file upload so that the icon of the new upload item reflects if it is a file or notebook, added the ability to use the "Enter" key in the filename text box to cause the upload to happen, and make it so that the list of files refreshes immediately upon successful upload.
2014-08-13 17:16:05 -07:00
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
2014-08-13 14:40:51 -07:00
MinRK
cb3da26e61
display JSON error message on failed notebook load
...
if there is one (escaped for safety).
2014-08-13 14:27:12 -07:00
MinRK
e3696996be
JS: close WebSockets when killing kernels
...
by calling Kernel.stop_channels() in Session.delete and Kernel.kill
2014-08-13 14:21:14 -07:00
Jonathan Frederic
2db702fa57
Filenames s/container/box
2014-08-13 13:29:30 -07:00
Jonathan Frederic
d985ee86c6
s/Container/Box
2014-08-13 13:19:27 -07:00
Jonathan Frederic
848c223785
Rebase cleanup
2014-08-08 15:00:22 -07:00
Sylvain Corlay
c9ed512d54
adding hbox and vbox
...
Conflicts:
IPython/html/static/widgets/js/widget_container.js
IPython/html/widgets/widget_container.py
2014-08-08 14:57:51 -07:00
Jonathan Frederic
37f00f73d7
Added baseline and stretch
2014-08-08 14:56:10 -07:00
Jonathan Frederic
6faf86ee77
Embrace flexible box model
2014-08-08 14:56:10 -07:00
Gordon Ball
ff3f952b18
Merge branch 'master' into interact-range-widgets
...
Conflicts:
IPython/html/static/style/ipython.min.css
IPython/html/static/style/style.min.css
IPython/html/static/widgets/js/widget_int.js
2014-08-07 17:11:06 +02:00
Jonathan Frederic
6026ef45d2
Merge pull request #6266 from Carreau/fix-lgw-css
...
fix loginwidget css
2014-08-06 10:56:41 -07:00
patricktokeeffe
c1971e9d42
Update custom.js
2014-08-05 11:19:48 -07:00
Jonathan Frederic
ba0a805404
Merge pull request #6226 from jasongrout/css-top-default
...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
2014-08-04 13:46:01 -07:00
Matthias BUSSONNIER
d1dc31c9de
fix loginwidget css
2014-08-03 18:09:35 +02:00
patricktokeeffe
3f79d6dad1
Update custom.js
...
Explain different semantics required for instances versus functions or classes. Based on comments of @minrk in #5985 .
2014-08-01 16:20:50 -07:00
Thomas Kluyver
c15284d716
Merge pull request #6238 from ivanov/cm-heading-fonts
...
proportional font-size when editing heading cells
2014-08-01 10:03:42 -07:00
Thomas Kluyver
b95de43b97
Merge pull request #6253 from jasongrout/highlighting-bug
...
Copy codemirror mode configuration instead of changing it
2014-07-31 14:46:55 -07:00
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.
2014-07-31 21:25:34 +00:00
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
2014-07-31 11:57:38 -07:00
MinRK
fb89646a29
various upload fixes
...
- recognize 201 as success (dataType must not be 'json')
- support uploading non-notebook files (b64-encoded)
2014-07-31 11:57:38 -07:00
MinRK
3c26b079f0
updates per review
...
- clarified docstrings and errors
- still more notebook/file renames
- configurable untitled names
- copy_from can be full path
- fix running, upload, new-tab behaviors in dashboard
Yay, review!
2014-07-31 11:57:38 -07:00
MinRK
8c4069cc00
add support and tests for uploading and saving regular files
2014-07-31 11:57:36 -07:00
MinRK
3674958b70
teach tree view about non-notebook files
2014-07-31 11:57:36 -07:00
MinRK
0c0eb43719
teach contents service about non-notebook files
2014-07-31 11:57:36 -07:00
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
2014-07-31 11:57:36 -07:00
Min RK
d093237f2f
Merge pull request #6216 from SylvainCorlay/comm-unregister
...
Unregistering comms in Comm Manager
2014-07-30 22:18:11 -07:00
Paul Ivanov
fd53a306c4
Merge pull request #6197 from ivanov/set-text-rendered
...
changing text of cell should reset rendered status
2014-07-30 17:39:59 -07:00
Paul Ivanov
9cafcaa421
fix more style consistencies
2014-07-30 17:31:00 -07:00
Paul Ivanov
5e018bba0d
match font family when editing heading cells
2014-07-30 17:24:47 -07:00
Paul Ivanov
468e568ea7
appropriate heading level when loading from JSON
2014-07-30 17:23:58 -07:00
Matthias BUSSONNIER
8b20aee32e
use momentjs for nice dates
2014-07-30 23:37:07 +02:00
Min RK
a2a70b40e2
Merge pull request #6145 from Carreau/style-cleanup
...
JS/CSS Style cleanup
2014-07-30 13:36:04 -07:00
Matthias BUSSONNIER
2899c766a1
remove var
2014-07-30 18:13:31 +02:00
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 .
2014-07-29 19:28:20 -07:00
Thomas Kluyver
4fc8af546b
Merge pull request #5859 from watercrossing/addPageUpDown
...
add page-up and page-down functionality to the autocomplete dropdown
2014-07-29 17:46:52 -07:00
Paul Ivanov
86f38a8f3b
call unrender() when setting text of cells
2014-07-29 16:24:53 -07:00
Min RK
254d372522
Merge pull request #6227 from Carreau/cellt-g-event
...
Use global event for celltoolbar
2014-07-29 15:32:43 -07:00
Sylvain Corlay
2c648fe4d0
bad call and missing call to unregister_comm
2014-07-29 20:11:34 +00:00
Thomas Kluyver
274cfb3af2
Merge pull request #6225 from ivanov/split-merge-heading-cells
...
allow splitting and merging of heading cells
2014-07-29 11:32:46 -07:00
Matthias BUSSONNIER
aad51f9527
rename ipevents to events for consistency
2014-07-29 15:57:07 +02:00
Matthias BUSSONNIER
2c4f2f98a6
Use global event for celltoolbar
2014-07-29 15:57:06 +02:00
Jonathan Frederic
0ee948efca
Merge pull request #6200 from SylvainCorlay/widget-changes
...
Partial update of DOMWidgetView styling and simplification of containers.
2014-07-28 15:58:35 -07:00
Sylvain Corlay
c03a3eb6d2
making the use of options explicit
2014-07-28 22:22:11 +00:00
Matthias BUSSONNIER
d54e2c95af
rebuild css
2014-07-28 21:44:14 +02:00
Matthias BUSSONNIER
5e48b538b2
remove empty style methods of LoginWidget
2014-07-28 21:43:58 +02:00
Matthias BUSSONNIER
70eb95d04c
remove call to jquery-ui useless button()
2014-07-28 21:43:58 +02:00
Matthias BUSSONNIER
21222fe302
remove empty style function in page.js
2014-07-28 21:43:58 +02:00
Matthias BUSSONNIER
a72bd4f52e
use dataformat module explicitely
2014-07-28 21:43:57 +02:00
Matthias BUSSONNIER
b63cb1f34f
remove unused dependecy and css class
2014-07-28 21:43:57 +02:00
Matthias BUSSONNIER
8506e2c257
remove empty style function of save widget
2014-07-28 21:43:57 +02:00
Matthias BUSSONNIER
04088c9559
remove empty style function
2014-07-28 21:43:57 +02:00
Matthias BUSSONNIER
4d9611a9ff
add TODO
2014-07-28 21:43:56 +02:00
Matthias BUSSONNIER
3b5b32f27b
move login widget style to css
2014-07-28 21:43:56 +02:00
Matthias BUSSONNIER
c468caeb19
add extra var for local variable
2014-07-28 21:43:56 +02:00
Matthias BUSSONNIER
233ef2180d
remove unused variable
2014-07-28 21:43:56 +02:00
Matthias BUSSONNIER
4f7f90dca8
comment typo
2014-07-28 21:43:56 +02:00
Matthias BUSSONNIER
660ddf76af
move tolbar styling to css
2014-07-28 21:43:56 +02:00
Matthias BUSSONNIER
72c0e4446f
command_mode_icon typos (dash instead of underscore)
2014-07-28 21:43:56 +02:00
Matthias BUSSONNIER
1f0ef5dc97
more cleanup
2014-07-28 21:43:55 +02:00
Matthias BUSSONNIER
d732098ee1
remove uselessrandom id, and move styling to css
2014-07-28 21:43:55 +02:00
Matthias BUSSONNIER
5b9f518513
move styling from js to css
2014-07-28 21:43:55 +02:00
Matthias BUSSONNIER
01a0d038d4
move styling from js to css
2014-07-28 21:43:55 +02:00
Matthias BUSSONNIER
c261f45ea3
movestyling from js to css + deprecation warnign
2014-07-28 21:43:55 +02:00
Matthias BUSSONNIER
f3cbb8a0c7
remove js styling, already done in css in logoutmain
2014-07-28 21:43:54 +02:00
Matthias BUSSONNIER
a97f4f69cc
move styling from js to css
2014-07-28 21:43:54 +02:00
Matthias BUSSONNIER
09e866a750
remove js styling, already done in css + deprecate warning
2014-07-28 21:43:54 +02:00
Matthias BUSSONNIER
0b092b4199
movestyling from js to css
2014-07-28 21:41:58 +02:00
Matthias BUSSONNIER
b8d98e9d81
move border-box-sizing from js to css
...
nothing to do in js, pure styling.
2014-07-28 21:41:58 +02:00
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.
2014-07-28 21:41:58 +02:00
Matthias BUSSONNIER
d7cc8dcf8d
a few todo
2014-07-28 21:41:57 +02:00
Jason Grout
eccc20ce1a
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
...
This seems to make it easiest to select the top-level element. An alternative is to use special syntax for top-level elements, like in https://github.com/ipython/ipython/pull/6185
This will be followed up by other fixes that let the user set specific common properties of different elements.
This change also adds the .addBack() call, which means that nonempty selectors now apply to this.$el and its descendants, rather than just the descendants of this.$el.
2014-07-28 19:11:20 +00:00
Min RK
c007debe3a
Merge pull request #6084 from tomspur/fontawesome4
...
Update fontawesome to 4.1
2014-07-28 11:44:39 -07:00
Thomas Kluyver
c9631845fa
Merge pull request #6126 from takluyver/kernelspecs-nb-ui
...
UI for changing kernels in the notebook
2014-07-28 11:33:14 -07:00
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.
2014-07-28 10:41:02 -07:00
sylvain.corlay
2ca04578cf
adding options explicitly
2014-07-27 11:58:30 -04:00
Matthias BUSSONNIER
36e3f20d5e
fix some font-awesoem 4 icons
2014-07-27 15:33:09 +02:00
Thomas Spura
01dec53cf9
Port more icons to fontawesome-4
2014-07-27 14:53:20 +02:00
Thomas Spura
30b38d2887
fab css
2014-07-27 14:53:17 +02:00
MinRK
ee7e8c26f7
update fa-font-path less variable
2014-07-27 14:52:04 +02:00
Thomas Spura
fadeeb0275
fontawesome-4 renamed font folder to fonts
2014-07-27 14:52:04 +02:00
Thomas Spura
8a9dcd219d
Port to fontawesome4
2014-07-27 14:52:03 +02:00
Matthias Bussonnier
925a968840
Merge pull request #6063 from Carreau/fix-5984
...
Introduce info/warning/danger to notification area
2014-07-26 16:32:59 +02:00
Brian E. Granger
2999510bfa
Merge pull request #6182 from SylvainCorlay/do-diff-correction
...
do_diff function was always removing all views from the old list.
2014-07-25 12:09:58 -07:00
Brian E. Granger
1224e1e5a4
Merge pull request #6204 from minrk/xs-cluster-columns
...
move some responsive bootstrap transitions
2014-07-25 11:48:03 -07:00
Thomas Kluyver
316ecf3e54
Address review comments
2014-07-25 10:10:50 -07:00
Matthias BUSSONNIER
573c45613d
fix missing semicolons
2014-07-25 10:14:28 +02:00
Ben Duffield
aa8df62b81
add marked to require dependencies
2014-07-24 23:05:01 -07:00
Thomas Kluyver
c71eea365e
Add submenu under kernel for changing kernel
2014-07-24 18:14:11 -07:00
Sylvain Corlay
93ee9ea7a9
removing timout
2014-07-25 00:31:51 +00:00
Thomas Kluyver
72e2c2c6d7
Remove last use of global kernelselector
2014-07-24 16:55:18 -07:00
Thomas Kluyver
76477386ae
Don't refer to global kernelselector object in Session
2014-07-24 16:55:18 -07:00
Thomas Kluyver
2785e87b4b
Fix JS iteration
...
Well, work around it.
2014-07-24 16:55:18 -07:00
Matthias BUSSONNIER
849ff3bb05
Simplify and uniformise styling of kernel selector
...
Make the theme coherent with the logout button
2014-07-24 16:55:18 -07:00
Thomas Kluyver
c432af1af5
Use JS events for switching kernelspecs
2014-07-24 16:55:00 -07:00
Thomas Kluyver
01d43290af
Remove unused style() function
2014-07-24 16:55:00 -07:00
Thomas Kluyver
e51f26275a
Set codemirror mode from kernelspecs
2014-07-24 16:55:00 -07:00
Thomas Kluyver
ba69cd972e
Add method to change codemirror mode of all code cells
2014-07-24 16:54:59 -07:00
Thomas Kluyver
54c6cb62c0
Start kernel according to loaded notebook metadata
2014-07-24 16:54:59 -07:00
Thomas Kluyver
b644ddbe36
Store kernelspec in notebook metadata on change
2014-07-24 16:54:59 -07:00
Thomas Kluyver
7400dd1c18
Line dropdown up on RHS of kernel name
2014-07-24 16:54:59 -07:00
Thomas Kluyver
6f8c4b8dc4
Style kernel name
2014-07-24 16:54:08 -07:00
Thomas Kluyver
9581bd7dc3
Change displayed kernel name when our session is started
2014-07-24 16:31:55 -07:00
Thomas Kluyver
41626420e2
Allow switching kernel from the notebook UI
2014-07-24 16:31:55 -07:00
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.
2014-07-25 00:09:23 +02:00
MinRK
11193d4790
move some responsive bootstrap transitions
...
- `-md-` puts the transition at 970px
- `-sm-` puts the transition at 768px
I moved most of the `md` transitions to `sm`,
which seems more reasonable.
I also moved the cluster list to `xs` because
the columns will never be wider than a dozen or so characters.
2014-07-24 13:02:30 -07:00
Paul Ivanov
b67aac5aef
Merge pull request #6119 from minrk/global-events
...
return global events from require(['base/js/events']).
2014-07-24 12:23:14 -07:00
Min RK
43e25ab4d9
Merge pull request #6196 from minrk/git-friendlyish-less-css
...
Make less/sourcemaps a bit friendlier to git
2014-07-24 12:09:54 -07:00
sylvain.corlay
5c0fda1dc0
correction
2014-07-24 10:06:32 -04:00
sylvain.corlay
34fe520742
widget changes continued
2014-07-24 09:53:21 -04:00
Matthias Bussonnier
16d21d3267
Merge pull request #6188 from jasongrout/highlightjs-require-shim
...
Add a requirejs shim for highlight.js
2014-07-24 13:53:28 +02:00
Matthias Bussonnier
b290f48815
Merge pull request #6036 from minrk/restore-ws-host
...
restore websocket_url configurable
2014-07-24 13:41:18 +02:00
sylvain.corlay
972fbb5f34
widget simplification continued
2014-07-24 00:26:41 -04:00
Paul Ivanov
294df0e623
changing the text should reset rendered flag
2014-07-23 21:13:35 -07:00
sylvain.corlay
8e8e6291d4
Partial updates of css and visible + simplification of widget_container
2014-07-24 00:12:33 -04:00
MinRK
01e1d1d40f
regen css (non-minified)
...
via `setup.py css`
2014-07-23 14:57:17 -07:00
Brian E. Granger
29d67ed8a3
Merge pull request #6168 from SylvainCorlay/once-displayed
...
once-displayed
2014-07-23 14:17:38 -07:00
Jason Grout
3fc4442053
Move shim to the standard location
2014-07-23 21:13:42 +00:00
Brian E. Granger
372507e3f1
Merge pull request #6128 from jasongrout/widget-trait-serialization
...
Widget trait serialization
2014-07-23 14:13:24 -07:00
Sylvain Corlay
cd7942eb06
renaming once_displayed into after_displayed
2014-07-23 20:26:44 +00:00
Sylvain Corlay
cfc4a62a85
one more bit
2014-07-23 20:15:37 +00:00
MinRK
9ff7d264ab
note loaded, unused dependencies in require
2014-07-23 11:06:01 -07:00
MinRK
c72cd05cf3
fix docstring in events.js
...
example shows registering a handler, not triggering an event.
2014-07-23 11:05:36 -07:00
MinRK
4097da724b
preserve backward-compatible $([IPython.events])
2014-07-23 11:05:36 -07:00
Jason Grout
abf86d5324
Trigger app_initialized event *after* the 'global' IPython object is initialized
2014-07-23 11:05:34 -07:00
MinRK
b1291df14a
return global events from require(['base/js/events']).
...
In master, it is impossible to load code on IPython events without setting timeouts.
2014-07-23 11:05:06 -07:00
Min RK
2fe0687097
Merge pull request #6149 from jasongrout/less-upgrade
...
Less upgrade
2014-07-23 10:06:42 -07:00
Matthias Bussonnier
cb810bad86
Merge pull request #6190 from minrk/bootstrap-shim
...
add bootstrap shim for require
2014-07-23 16:59:59 +02:00
MinRK
d345546d15
add bootstrap shim for require
...
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
2014-07-22 15:53:16 -07:00
MinRK
137f98014a
pass ws_url to kernel constructor
...
via session constructor via notebook constructor…
2014-07-22 15:24:20 -07:00
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()`.
2014-07-22 15:21:14 -07:00
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.
2014-07-22 14:43:40 -07:00
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.
2014-07-22 20:49:52 +00:00
Jason Grout
4c5f4e750a
Compile less files
2014-07-22 14:50:11 +00:00
Jason Grout
33f256a195
abstract hard-coded style values to be variables for different theming
2014-07-22 14:46:59 +00:00
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.
2014-07-22 14:46:59 +00:00
Sylvain Corlay
b4d5094645
correction in widget.js
2014-07-22 14:36:22 +00:00
Matthias Bussonnier
f3e599e0c4
Merge pull request #6160 from parleur/patch-2
...
Span in CellToolBar instead of div
2014-07-22 14:44:19 +02:00
MinRK
98ac874131
cell toolbar and modal dialog fixes
...
- name conflict in modal
- cell.cell_type in cell toolbar
prevented edit metadata from working properly.
2014-07-21 11:11:53 -07:00
Tarun Gaba
1eef26754f
A comma after this.touch
2014-07-21 17:15:11 +05:30
Tarun Gaba
dab68840dd
Sending data back to python object after slider values change
2014-07-21 17:11:41 +05:30
Min RK
3e66b9f52c
Merge pull request #6174 from Carreau/pagemain
...
remove pagemain.js
2014-07-20 13:28:30 -07:00
Matthias BUSSONNIER
17afb5a71f
remove pagemain.js
...
It does not seem to be usefull anymore.
The different main.js of /tree /notebook /etc do create an instance of
`page` themselves, error pages do have hardcoded styles that show header
and sites.
2014-07-20 21:40:14 +02:00
Tarun Gaba
dc2672f2ec
The value of slider changes in frontend, and readout, but not in python obj.
2014-07-20 13:23:20 +05:30
Tarun Gaba
62c9ee7c2a
Validate slider value, when limits change
2014-07-19 20:17:48 +05:30
Tarun Gaba
fb540c52f5
Added jquery in define
2014-07-19 09:10:12 +05:30
Sylvain Corlay
a2e9d90bd0
incorrect comment
2014-07-18 22:28:08 +00:00
Sylvain Corlay
8bc4ea37a1
unnecessary context variable specify
2014-07-18 22:26:21 +00:00
Sylvain Corlay
1eb2a30efb
once-displayed
2014-07-18 22:08:17 +00:00
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.
2014-07-18 12:44:23 +02:00
Jason Grout
eed0715a09
Prepend a sentinel value to model ids to distinguish them from normal UUIDs (from Sylvain Corlay).
2014-07-17 20:55:27 +00:00
Jonathan Frederic
20045a2f85
Merge pull request #6115 from SylvainCorlay/widget-area-show
...
Instances of WidgetView do not trigger widget_area.show anymore.
2014-07-14 12:09:54 -05:00
Thomas Kluyver
5afc070910
Add default_kernel_name class level variable
2014-07-11 15:27:36 -05:00
Sylvain Corlay
70cacc642a
Solving #5997 : instances of WidgetView (that are not instances of DOMWidgetView) do not trigger widget_area.show anymore.
2014-07-11 12:55:56 -04:00
Thomas Kluyver
c37acf2ae7
Fix JS syntax
2014-07-11 11:07:42 -05:00
Thomas Kluyver
6efbe46b73
Update JS for kernels and sessions APIs
2014-07-10 23:54:31 -05:00
Jonathan Frederic
904ed66bc2
Updated custom.js template to reflect IPython namespace changes
2014-07-10 15:47:23 -05:00
Jonathan Frederic
a226bd2d6e
Fixed cell toolbars
2014-07-10 15:47:23 -05:00
Jonathan Frederic
b15633a89e
Fix all the tests
2014-07-10 15:47:23 -05:00
Jonathan Frederic
2478fac032
More requirejs fixes
2014-07-10 15:47:23 -05:00
Jonathan Frederic
ee76005bc2
More review changes
2014-07-10 15:47:23 -05:00
Jonathan Frederic
669db572f2
Fix some dialog keyboard_manager problems
2014-07-10 15:47:23 -05:00
Jonathan Frederic
2d7a4a7879
Some JS test fixes
2014-07-10 15:47:23 -05:00
jon
70ffd96eb9
Added some nice comments,
...
so devs can easily figure out what options to pass
into the objects they want to construct.
2014-07-10 15:47:23 -05:00
jon
d9ab2d203a
In person review with @ellisonbg
2014-07-10 15:47:23 -05:00
jon
1e098560b8
Revert "Google hangout review comments."
...
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
eb2b1ab4a4
Google hangout review comments.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
c2c87e1a76
nbconvert api tests fixes
2014-07-10 15:47:22 -05:00
Jonathan Frederic
188072d190
@carreau review changes
2014-07-10 15:47:22 -05:00
Jonathan Frederic
2ba8945cab
Fix all the bugs!
2014-07-10 15:47:22 -05:00
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0edfdbc703
Return dicts instead of classes,
...
this makes require.js more Python import like.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0da779d101
Done with major changes,
...
fixed widget IPython. references
2014-07-10 15:47:22 -05:00
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
2014-07-10 15:26:25 -05:00
Jonathan Frederic
ca2014ad06
Pager
2014-07-10 15:25:09 -05:00
Jonathan Frederic
152e23dc76
Progress...
2014-07-10 15:25:09 -05:00
Jonathan Frederic
e6b7cc9ff9
Fixed events
2014-07-10 15:25:09 -05:00
Jonathan Frederic
8d511b2ff5
Finished moving code into final(?) resting modules
2014-07-10 15:25:09 -05:00
Jonathan Frederic
9bfe5fc06c
Use ipython namepsace for instances.
2014-07-10 15:25:09 -05:00
Jonathan Frederic
fb32b6561f
Start of work to make notebook.html requirejs friendly.
2014-07-10 15:25:08 -05:00
Jonathan Frederic
629204a2bb
Fixed global IPython namespace.
2014-07-10 15:25:08 -05:00
Jonathan Frederic
b1c8d2662c
Finished making tree.html requirejs friendly
2014-07-10 15:25:08 -05:00
Jonathan Frederic
9f4a03ce79
Started work to make tree requirejs friendly.
2014-07-10 15:25:08 -05:00
Jonathan Frederic
855815d207
Make page.html require.js friendly.
2014-07-10 15:25:08 -05:00
Jonathan Frederic
1a30a12302
Ahhh bug fix!
2014-07-08 13:43:18 -05:00
Jonathan Frederic
df47869fb0
Move displayed event to view.
2014-07-08 11:58:14 -05:00
Jonathan Frederic
fa39d91446
Review comments
2014-07-08 11:24:24 -05:00
Jonathan Frederic
988fd1b5f9
Reverted strange change that I don't remember making to update method.
2014-07-08 10:57:57 -05:00
Jonathan Frederic
3a9d888f02
Removed respect_order and finally removed the children dict of the containerview
2014-07-08 10:57:57 -05:00
Jonathan Frederic
f51903ca03
Bug fixes
2014-07-08 10:57:56 -05:00