Commit Graph

4767 Commits

Author SHA1 Message Date
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
Thomas Kluyver
1ac6ee12a1 Merge pull request #5875 from minrk/js_enabled
fix undefined js_enabled on `iptest —all`
2014-05-16 15:55:40 -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
ea794c7b92 Merge pull request #5867 from jdfreder/dsstore
Ignore .DS_Store files (OSX)
2014-05-16 09:59:07 -07:00
Jonathan Frederic
989da023ee Ignore .DS_Store files (OSX) 2014-05-16 09:56:56 -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
61bc94a23c Merge pull request #5863 from takluyver/skip-qt-help-test-nox
Skip qtconsole help test if no X11
2014-05-15 15:32:24 -07:00
Thomas Kluyver
269a0bc680 Skip qtconsole help test if no X11 2014-05-15 14:34:05 -07:00
Min RK
c7b357c750 Merge pull request #5843 from minrk/ff-css
remove Firefox-specific CSS workaround
2014-05-15 10:55:03 -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
Min RK
2483e0a0e1 Merge pull request #5752 from minrk/msgspec-adapter
Add adapter for msg spec versions
2014-05-09 13:02:03 -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
Brian E. Granger
ee1103bdd5 Merge pull request #15 from jdfreder/widget-fixes
Widget fixes
2014-05-08 22:17:33 -05: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
Min RK
3b492207b7 Merge pull request #5824 from takluyver/testcontroller-json-error
Handle failure to read JSON waiting for server start
2014-05-08 17:00:42 -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
Thomas Kluyver
5cfb4bbd03 Merge pull request #5822 from jhamrick/widget-interact
Don't overwrite widget description in interact
2014-05-08 12:22:32 -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
Brian E. Granger
2ffd153e5d Removing double call to model.views.push(view) in WidgetManager. 2014-05-08 11:44:49 -05:00
Thomas Kluyver
fe53ae1360 Merge pull request #5804 from minrk/invert-callback-clear
remove an inappropriate `!`
2014-05-07 12:46:39 -07:00
MinRK
fb72c3d863 remove an inappropriate !
the logic was backwards.
2014-05-07 10:32:26 -07:00
Matthias BUSSONNIER
c9f0d14c09 unify visual line handling 2014-05-07 17:59:37 +02:00
MinRK
378223e791 fix safe_append_output test 2014-05-06 22:41:24 -07:00
MinRK
de0b7f140c move pyout/execute_result and pyerr/error transforms to to/fromJSON
like the mime-type maps
2014-05-06 22:41:24 -07:00
MinRK
33d2176bc5 complete_reply has cursor_start and cursor_end, not matched_text 2014-05-06 22:41:24 -07:00
MinRK
b78c5b1554 s/object_info_request/inspect_request 2014-05-06 22:41:23 -07:00
MinRK
4f6565bd2a pager payload is a mime-bundle 2014-05-06 22:41:23 -07:00
MinRK
a74c79ceab update completion_ and objection_info_request
both requests take:

- code (up to full cell)
- cursor_pos (cursor offset in unicode characters)

and object_info_replies return a mime-bundle, instead of structured data
2014-05-06 22:41:19 -07:00
MinRK
98c408cbd1 support password in input_request 2014-05-06 22:39:44 -07:00