Commit Graph

3954 Commits

Author SHA1 Message Date
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
John Stowers
d025cb6176 exclude gtk3 gui modules from tests 2014-07-26 20:38:15 +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
Thomas Kluyver
fcb079a255 Merge pull request #6210 from jdfreder/image-test-fix
Don't screenshot in the ImageWidget test,
2014-07-25 16:33:16 -07: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
Jonathan Frederic
ee64b60e69 Don't screenshot in the ImageWidget test,
instead verify that the base64 makes it to the page and
assume that the browser knows how render it correctly.
2014-07-25 11:21:52 -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
a5b145e5a2 Merge pull request #6139 from minrk/wsping
send ping every 30 seconds to keep websockets alive
2014-07-24 18:55:18 -07:00
Thomas Kluyver
c71eea365e Add submenu under kernel for changing kernel 2014-07-24 18:14:11 -07: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
0e3d27c841 Deterministic order for kernels in notebook UI 2014-07-24 16:55:00 -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
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
MinRK
168d619726 fab css checks whether it needs to do anything
makefile-style

adds `force` arg to override, minify implies force.
2014-07-23 16:59:44 -07:00
Thomas Kluyver
d9850e1ab4 Merge pull request #6144 from minrk/show-js-errors
add some debugging output to js tests
2014-07-23 16:20:01 -07:00
MinRK
52840fcbf8 send ping every 30 seconds to keep websockets alive 2014-07-23 16:17:07 -07:00
MinRK
41e482d47a fix interrupt test revealed by new output
the shortcut test wasn’t running at all,
due to a ReferenceError.

There was no indication of this fact
because javascript is awesome like that.
2014-07-23 15:51:03 -07:00
MinRK
1f0646f893 add some debugging output to js tests
- display errors in evaluate / browser code
- capture and display console.log if a test fails (like nose)
2014-07-23 15:51:03 -07:00
MinRK
01e1d1d40f regen css (non-minified)
via `setup.py css`
2014-07-23 14:57:17 -07:00
MinRK
0eae787b58 don’t store minified css in development
- setup css defaults to non-minified css
- build minified css and jsversion on sdist/wheel
2014-07-23 14:19:27 -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
Jason Grout
8fb0ae4d36 Change serialize/deserialize to to_json/from_json 2014-07-23 20:22:50 +00:00
Sylvain Corlay
cfc4a62a85 one more bit 2014-07-23 20:15:37 +00:00
MinRK
957fb42680 use global events in js tests 2014-07-23 11:06:03 -07: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
e9da9fd776 don’t load custom.js in page template
we are loading it in require, and don’t want to load it twice
2014-07-23 11:05:36 -07:00