Commit Graph

3818 Commits

Author SHA1 Message Date
Jonathan Frederic
33f7f4457f Widget bootstrap3 fixes 2014-06-09 12:05:39 -07:00
Jonathan Frederic
29de556b94 Fab CSS 2014-06-09 12:05:39 -07:00
Jonathan Frederic
8fd3515794 Post discussion with @ellisonbg 2014-06-09 12:05:39 -07:00
Jonathan Frederic
ceff3db0a2 Fab CSS 2014-06-09 12:05:39 -07:00
Jonathan Frederic
616bdcee81 Make maintoolbar select dropdowns look nice 2014-06-09 12:05:39 -07:00
Jonathan Frederic
32c7aea922 Fab CSS 2014-06-09 12:05:39 -07:00
Jonathan Frederic
73f68f9b93 Revert 2em notebook header space 2014-06-09 12:05:39 -07:00
Jonathan Frederic
5584eb06a9 Fab CSS 2014-06-09 12:05:39 -07:00
Jonathan Frederic
45ebf12371 Left align "File" instead of menu edge. 2014-06-09 12:05:39 -07:00
Jonathan Frederic
6834cb95bc Rebase cleanup, comments and nesting 2014-06-09 12:05:39 -07:00
Jonathan Frederic
dec962194f Update components to point to right branch 2014-06-09 12:05:39 -07:00
Jonathan Frederic
ec3cd18387 Rebase fixes 2014-06-09 12:05:39 -07:00
Jonathan Frederic
ff2e317fff Fab CSS 2014-06-09 12:05:38 -07:00
Jonathan Frederic
181b0e9cfc Address less of the conversion warnings 2014-06-09 12:05:38 -07:00
Jonathan Frederic
22c94ab404 Lots of small alignment tweaks to get Bootstrap3 looking better 2014-06-09 12:05:38 -07:00
jon
0b5a42fca6 Fab CSS 2014-06-09 12:05:38 -07:00
jon
ef19b962b5 Fix cell toolbar 2014-06-09 12:05:38 -07:00
jon
8dbf3afa7d Fixed cell toolbar dropdown 2014-06-09 12:05:38 -07:00
jon
0cc924e5e3 Fixed IPython dialog 2014-06-09 12:05:38 -07:00
jon
68cfaeb7c9 Fixed status indicator region 2014-06-09 12:05:38 -07:00
jon
9bce946f2e Added function to create Bootstrap specific drop down. 2014-06-09 12:05:38 -07:00
Jonathan Frederic
142e884943 Updated notebook template so menubar is rendered correctly 2014-06-09 12:05:38 -07:00
Jonathan Frederic
ade308803e Added dropdown submenu CSS 2014-06-09 12:05:38 -07:00
Jonathan Frederic
e30ff19ca8 Move header padding removal to base page style 2014-06-09 12:05:38 -07:00
Jonathan Frederic
778db574ed Removed static height from selects in toolbar 2014-06-09 12:05:37 -07:00
Jonathan Frederic
96b19ae598 Removed low margin from header. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
80673856a8 Fixed float 2014-06-09 12:05:37 -07:00
Jonathan Frederic
697cc58655 Change the nav bar to nav-pills 2014-06-09 12:05:37 -07:00
Jonathan Frederic
0689830c4b Fixes to make spinners in cluster list display correctly. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
0483bb2ed8 Fixed cluster list. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
3635272119 Removed margin from row element 2014-06-09 12:05:37 -07:00
Jonathan Frederic
88a129eab3 Fab CSS 2014-06-09 12:05:37 -07:00
Jonathan Frederic
204130d292 Re-enabled nav bar height 2014-06-09 12:05:37 -07:00
Jonathan Frederic
242318be9b Fab CSS 2014-06-09 12:05:37 -07:00
Jonathan Frederic
365aafdaa2 Automated pass on LESS variables 2014-06-09 12:05:37 -07:00
Jonathan Frederic
329a387f4f Fix automation errors. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
d88daf1bb7 Ran jdfreder/bootstrap2to3 2014-06-09 12:05:37 -07:00
Jonathan Frederic
5c47651786 Get notebook running with Bootstrap3 2014-06-09 12:05:36 -07:00
Thomas Kluyver
76babb623a Better integrate output from slimerjs tests 2014-06-06 13:20:22 -07:00
Jonathan Frederic
cebebb35d5 Re-add print 2014-06-06 11:43:29 -07:00
jon
19cf386a20 Address comments 2014-06-06 11:12:46 -07:00
Min RK
2c8a53aca1 Merge pull request #5944 from jdfreder/i5943
Markdown rendering bug fix.
2014-06-04 15:54:06 -07:00
Brian E. Granger
c9f9f5bbd2 Merge pull request #5937 from jdfreder/i5709
Add latex support in widget labels,
2014-06-04 14:21:34 -07:00
Brian E. Granger
648bb51758 Merge pull request #5479 from jdfreder/i5135
Mixed gfm/latex parsing in codemirror
2014-06-04 13:37:54 -07:00
Jonathan Frederic
1c228ca0ab Rebase fix(es) 2014-06-04 13:19:52 -07:00
Jonathan Frederic
55cf33605f Fixed typo in util.js,
resulted from moving is_cell_rendered into util.js
2014-06-04 13:15:55 -07:00
Jonathan Frederic
0d78fde131 Fixed spaces in ipcontroller 2014-06-04 13:15:55 -07:00
Jonathan Frederic
f6e7312b5b Add slimerjs flag to test engine. 2014-06-04 13:12:20 -07:00
Jonathan Frederic
edbaff8400 Moved is_cell_rendered into base 2014-06-04 13:12:20 -07:00
Jonathan Frederic
359d7342d2 Make a nice assert function for properly testing locale specific colors. 2014-06-04 13:12:20 -07:00
Jonathan Frederic
7dfa8fbe79 Some cleanup 2014-06-04 13:12:20 -07:00
Jonathan Frederic
04c66666e9 Fix for xvfb SlimerJS environment. 2014-06-04 13:12:20 -07:00
Jonathan Frederic
a5a795a884 Added slimer support for py3.x 2014-06-04 13:12:20 -07:00
Min RK
724109454b Merge pull request #5941 from jdfreder/i5688
Remember cursor position on cell type change
2014-06-04 12:22:16 -07:00
Min RK
3badefd651 Merge pull request #5936 from jdfreder/i5821
Change widget css dict to a list,
2014-06-04 12:21:43 -07:00
Min RK
4a84a809a0 Merge pull request #5896 from ellisonbg/widget-fixes
Widget fixes
2014-06-04 12:12:10 -07:00
Jonathan Frederic
f23f970e4c Make int widget tests play nicely with slimer 2014-06-04 12:10:29 -07:00
Jonathan Frederic
fb6bb02b26 Make notebook tests play nicely with SlimerJS
- notebook/dualmode_markdown.js
- notebook/safe_append_output.js
2014-06-04 12:10:29 -07:00
Jonathan Frederic
85e1dafe6c Fix isolated svg color tests so 'rgb()' colors are accepted 2014-06-04 12:10:29 -07:00
Jonathan Frederic
578e3c562a Fixed image test for slimerjs 2014-06-04 12:10:29 -07:00
Jonathan Frederic
99a0013525 Adde slimerjs support to JS tests
This commit contains 16 more, squashed commits:

Added slimerjs flag

Fixed some bugs with flag code

Figured out how to add arg correctly

Cleanup

Improvements to the test framework for FF

Log to see if slimmer is actually running

Added print in controller to debug

Added full logging to casperjs

Remove the special logging logic since it was caussing a failure

remove notebook.dirty = false line in favor of
overwritting onbeforeunload.

Capture output for slimerjs

Fixed iptestcontroller rebase issues

Fixed rebase issues.

Wait for notebook to load completely before testing

Fixed stdout capture for slimerjs tests.

Clean-up comments in util.js

Added slimerjs to Travis

Fixed indent .travis.yml

Comment out slimerjslauncher env var.

Removed zmq flag which doesn't work there anyways,
it was added by me in a recent commit

Fixed travis yaml,

broken because of rebase
2014-06-04 12:10:29 -07:00
Jonathan Frederic
f6da79e1e1 Update JS markdown tests. 2014-06-04 10:35:58 -07:00
Jonathan Frederic
d84c8fa863 Fixed mardown rendering bug.
The wrong signature of `$()` was being used
wrong: http://api.jquery.com/jQuery/#jQuery1
right: http://api.jquery.com/jQuery/#jQuery2

Instead of implictly calling parseHTML, call it explicitly.
closes #5943
2014-06-03 14:04:56 -07:00
Jonathan Frederic
19d12e3025 Remember cursor position on cell type change 2014-06-03 10:34:43 -07:00
Jonathan Frederic
33a0a3cc87 Add latex support in widget labels,
This PR even adds support to use latex in PopupWidget titles.
2014-06-02 16:06:01 -07:00
Jonathan Frederic
74483d77da Change css dict to a list,
even though this introduces O(N) complexity, it fixes a bug
where path dependent css traits could be executed out of order,
making it impossible to actually set the traits from the back-end.
2014-06-02 15:00:33 -07:00
Ramiro Gómez
2215ddefca Change z-index of ipython_tooltip
I experienced the problem stated in #5755. Giving the ipython_tooltip class a higher z-index indeed solves the problem. I intentionally set it to a high value so it likelier remains on top when styles are changed in the future.
2014-05-28 23:45:44 +02:00
MinRK
88be381b00 forcefully hide CodeMirror scrollbars
workaround for CodeMirror issue 2562

less drastic but more gross alternative to #5889
2014-05-22 12:32:51 -07:00
Jonathan Frederic
961254292e Remove hard reference to GFM since IPythonGFM uses CM require to load it. 2014-05-21 11:06:10 -07:00
Jonathan Frederic
802f74e190 Create ipythongfm mode 2014-05-21 11:00:47 -07:00
Min RK
9794017dee Merge pull request #5882 from ivanov/preserve-cell-type
inserting new cells preserves cell type
2014-05-20 21:04:55 -07:00
Paul Ivanov
9631028c1e add tests for cell_type preserving insertion 2014-05-20 18:53:32 -07:00
Paul Ivanov
7778aed8a8 inserting new cells preserves type closes #4917 2014-05-20 15:40:32 -07:00
Paul Ivanov
f2f1726cad use current cell's type when inserting
this preserve all previous behavior, but simply adds the ability to
insert cells without specifying a cell type, in which case the cell type
is inferred from the currently selected cell
2014-05-20 15:40:26 -07:00
MinRK
5c23ad48d7 remove redundant js_enabled variable
it’s only False if the js_testgroups list is empty
2014-05-16 15:40:22 -07:00
MinRK
70c927e97b fix undefined js_enabled on iptest —all 2014-05-16 15:29:43 -07:00
Min RK
a540078d8d Merge pull request #5605 from AlbertHilb/CellToolbar
Two cell toolbar fixes.
2014-05-16 09:56:46 -07:00
Thomas Kluyver
269a0bc680 Skip qtconsole help test if no X11 2014-05-15 14:34:05 -07:00
MinRK
970863331b remove Firefox-specific CSS workaround
The bug being worked around appears to be fixed either in CodeMirror or Firefox (tested with FF 29).

Importantly, the workaround appears to *introduce* incorrect behavior

closes #5192
closes #5364
2014-05-12 14:17:01 -07:00
Thomas Kluyver
76fdfe9eb7 Put full kernel info in REST API response for all kernels 2014-05-12 12:14:37 -07:00
Thomas Kluyver
f6628b7006 Refactor kernelspec resource handler to separate URL prefix 2014-05-10 12:22:20 -07:00
MinRK
336f47c126 update message spec adapter per review
- docs and comments
- adapt complete_reply with `end=null`, `start=-len(matched_text)`
- remove some incorrect `status` fields
- add `handle_reply_status_error` for handling `status=error` replies (no-op, currently)
2014-05-09 12:04:08 -07:00
MinRK
b06f382e9b interrogate kernel_info to get protocol version for adaptation 2014-05-09 12:04:08 -07:00
Thomas Kluyver
2cc7b1ca30 Merge pull request #4536 from minrk/msgspec5
Updating the message spec (finish IPEP 13, 24)
2014-05-09 12:00:58 -07:00
Min RK
073ad8b320 Merge pull request #5826 from minrk/tour-error
allow notebook tour instantiation to fail
2014-05-08 20:27:01 -07:00
Thomas Kluyver
1dabf3c547 Test kernel specs REST API
And fix kernel not found producing a 404 code.
2014-05-08 17:32:47 -07:00
Thomas Kluyver
02fa348c69 Create REST API for kernel specs 2014-05-08 16:18:23 -07:00
MinRK
b7c1f1d8f6 allow notebook tour instantiation to fail
can fail with SecurityError,
depending on browser privacy settings

disable UI Tour menu entry if tour instantiation fails

ref: sorich87/bootstrap-tour#262
2014-05-08 15:14:23 -07:00
Thomas Kluyver
e26140c435 Handle failure to read JSON waiting for server start
If the test controller tries to read the file while the server it has
started is in the middle of writing it, it gets invalid JSON and fails.

This just loops again until we have valid JSON to read.
2014-05-08 14:41:21 -07:00
Thomas Kluyver
79b8ecd9c9 Merge pull request #5823 from ivanov/verbose-skip-js
be explicit about skipping js tests
2014-05-08 14:36:53 -07:00
MinRK
42ae83da16 add shim for double-serialized JSON
msgspec gives unserialized JSON,
nbformat v3 wants JSON strings.
2014-05-08 14:05:03 -07:00
MinRK
58aca05486 add version key to js message headers 2014-05-08 14:05:03 -07:00
MinRK
97fdfea52a updates per review
- two-part protocol version (5.0)
- default value for cursor_pos is end of code
- docs, comment, and docstring touchups
2014-05-08 14:05:02 -07:00
Paul Ivanov
79217e7e63 be explicit about skipping js tests
this way those running the test suite can discover that there are a
bunch of js test groups. New output of `iptest -j` looks like this

```
Test group: kernel.inprocess -------------------------------------- OK
Test group: config ------------------------------------------------ OK
Test group: extensions -------------------------------------------- OK
Test group: lib --------------------------------------------------- OK
Test group: testing ----------------------------------------------- OK
Test group: core -------------------------------------------------- OK
Test group: terminal ---------------------------------------------- OK
Test group: utils ------------------------------------------------- OK
Test group: kernel ------------------------------------------------ OK
Test group: nbformat ---------------------------------------------- OK
Test group: qt ---------------------------------------------------- OK
Test group: autoreload -------------------------------------------- OK
Test group: html -------------------------------------------------- OK
Test group: nbconvert --------------------------------------------- OK
Test group: parallel ----------------------------------------- NOT RUN
Test group: js/base ------------------------------------------ NOT RUN
Test group: js/notebook -------------------------------------- NOT RUN
Test group: js/widgets --------------------------------------- NOT RUN
Test group: js/tree ------------------------------------------ NOT RUN
Test group: js/casperjs -------------------------------------- NOT RUN
Test group: js/services -------------------------------------- NOT RUN
```
2014-05-08 12:44:13 -07:00
Jonathan Frederic
a65b6f3c1e Removed log statement 2014-05-08 13:50:00 -05:00
Jonathan Frederic
c83a1cbb63 Fixed bugs in displayed event triggering for containers 2014-05-08 13:46:48 -05:00
Jessica B. Hamrick
287e9a5cbd Add tests for default/custom description 2014-05-08 11:18:55 -07:00
Jessica B. Hamrick
31812159af Only set widget description in interact if it does not already exist 2014-05-08 11:12:02 -07:00
Brian E. Granger
a0c1d37224 Remove model from WidgetManager._model on comm:close. 2014-05-08 12:06:20 -05:00
Brian E. Granger
6c03b508a5 Pop child view from child_model.view in delete_child_view 2014-05-08 11:59:20 -05:00