Commit graph

169 commits

Author SHA1 Message Date
Johannes Rieken 1e7454f72a renames 2020-09-25 18:04:10 +02:00
Johannes Rieken 08695ede81 adopt changes after feedback round one 2020-09-25 18:00:11 +02:00
Johannes Rieken b297be52ca new proposal for NotebookCellOutput, partial implementation 2020-09-25 11:44:23 +02:00
rebornix 71630dd5ff Revert "disable failing notebook tests, https://github.com/microsoft/vscode/issues/107210"
This reverts commit 6f41bfa822.
2020-09-22 08:46:43 -07:00
Johannes Rieken 6f41bfa822 disable failing notebook tests, https://github.com/microsoft/vscode/issues/107210 2020-09-22 11:17:34 +02:00
Matt Bierner d1b49cd8b9 Adding more explicit typings for TS 4.1 new Promise logic 2020-09-16 11:58:01 -07:00
Johannes Rieken f096f59404 refine test for https://github.com/microsoft/vscode/issues/106657 and document issue with fragments and the editor opener 2020-09-14 16:58:37 +02:00
Johannes Rieken a6ae00a384 add regression test for https://github.com/microsoft/vscode/issues/106657 2020-09-14 16:42:56 +02:00
Johannes Rieken b9291026a6 adopt notebook integration tests, https://github.com/microsoft/vscode/issues/105283 2020-09-14 10:23:53 +02:00
rebornix b37c4b08e9 re #105735. batch apply edits. 2020-09-10 14:02:16 -07:00
Johannes Rieken 7fdda46e16 some integration tests for notebook editing, https://github.com/microsoft/vscode/issues/105283 2020-09-10 18:21:24 +02:00
rebornix 03960a5aa1 re #105735. no more udpateMetadata api. 2020-09-09 16:45:00 -07:00
rebornix 73a3c9ded3 re #105735. 2020-09-09 16:45:00 -07:00
rebornix deaf9f2689 💂 polish nb tests. 2020-09-09 12:04:20 -07:00
rebornix d3cfbddde1 fix tests. 2020-08-31 12:16:35 -07:00
Johannes Rieken 807eb37826 make sure replaceOutput updates the extension host side, update tests https://github.com/microsoft/vscode/issues/105283 2020-08-28 17:59:10 +02:00
Johannes Rieken a3f414cf5a add some integration tests for notebook editing, https://github.com/microsoft/vscode/issues/105283 2020-08-28 17:59:10 +02:00
rebornix 883749806b support revert notebook cell metadata in diff view. 2020-08-27 11:26:01 -07:00
Connor Peet d4f6fe3227
notebooks: deprecate viewType for renderers, prefer renderer ID 2020-08-21 10:09:04 -07:00
Connor Peet d20e086afc
Merge branch 'connor4312/rm-old-renderer-api' 2020-08-21 09:12:08 -07:00
Ladislau Szomoru 06730e3e29
Azure DevOps pipeline - generate unique test result names (#105148)
* Set suite name based on environment variable
2020-08-21 15:05:15 +02:00
Connor Peet 24b712d7c2
notebooks: remove impure renderer API
This removes the initial notebook renderer API and keeps the 'pure'
renderer API described in #102644 and hacked-in previously.

Remaining work in this area, in no particular order:

- Add messaging context to postMessage as requested by Don (API proposal TBA)
- Cleanups around how state is managed internally in the backLayerWebView
- Deprecate the renderer `viewType` in favor of calling it the `id` or `rendererId`

Q: I kept around some of the "transform" functions since the mime type
picking happens there, not sure if there's a better place for this
to happen now, or whether these methods should simply be renamed.
2020-08-19 15:47:02 -07:00
Ladislau Szomoru b2efcbf687
Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Johannes Rieken 6458962368 update integration tests 2020-08-10 18:28:58 +02:00
Johannes Rieken 5fe144cf97 Merge branch 'master' into joh/celldocs 2020-08-10 18:24:01 +02:00
Rob Lourens 635b397e2d let -> const, notebooks 2020-08-03 08:54:14 -07:00
rebornix 98dd195b91 hook native undo/redo with notebook 2020-07-31 10:43:58 -07:00
Rob Lourens 4bd3ba6f33 Fix notebook smoke test
Fix #102113
2020-07-30 09:08:51 -07:00
rebornix 3423d5c7ac no assert for initial state 2020-07-22 10:50:16 -07:00
rebornix 8f032b536c 💄 2020-07-22 09:32:59 -07:00
rebornix 86356398dd use tmp file for every test. 2020-07-22 09:01:02 -07:00
rebornix e83010a4aa silent fail when the documents events are wrong 2020-07-21 18:13:23 -07:00
rebornix d5a65b5983 💄 2020-07-21 13:19:11 -07:00
rebornix 3dca69e729 close editors after untitled file creation. 2020-07-21 13:11:30 -07:00
rebornix 57d12629a8 wait for document close when finishing a test. 2020-07-21 13:09:39 -07:00
rebornix 9c467b969c lazy load webview if there is no webview outputs or not kernel dependencies 2020-07-21 11:06:53 -07:00
rebornix cf9d6d7667 re #102899. 2020-07-21 08:55:18 -07:00
rebornix 1a2e3fa16c re #102899. 2020-07-21 08:38:34 -07:00
Rob Lourens 90363c2f9d Change cell execution/cancel API
Fix #99203
2020-07-20 14:43:20 -07:00
Johannes Rieken b3f090d329 use getEventOncePromise-util 2020-07-17 11:18:35 +02:00
Johannes Rieken 04eef0779d add test that asserts cell document open are fired when the notebook is ready, not before 2020-07-17 11:16:38 +02:00
Johannes Rieken 00dea1c4ad create "real" TextDocument when opening a notebook or when adding cells, don't create them again when the renderer makes models 2020-07-17 11:02:08 +02:00
Johannes Rieken c4dae68b49 eslint fixes @rebornix 2020-07-17 10:42:30 +02:00
rebornix 847a98f34c Merge remote-tracking branch 'origin' into rebornix/multi-kernel 2020-07-16 17:26:00 -07:00
rebornix 1710c92d5f fix #102460 2020-07-16 10:20:42 -07:00
rebornix be44e409b2 avoid conflict between new and legacy kernel 2020-07-16 09:55:05 -07:00
rebornix b73b7469cd fix #102423. 2020-07-13 13:26:03 -07:00
rebornix dd2a6005d5 💄 2020-07-13 11:58:58 -07:00
rebornix b2c8b2ac00 fix #102411. 2020-07-13 11:24:18 -07:00
rebornix 5e96337121 re #93070. test for command arguments. 2020-07-13 10:52:57 -07:00
Benjamin Pasero 3b1bedd626 notebook - skip failing test 2020-07-10 12:03:08 +02:00
rebornix 6c67fecb32 💂 test for join cells. 2020-07-09 16:54:54 -07:00
rebornix fcfb0dd32e notebookCellListFocus 2020-07-09 16:09:24 -07:00
Rob Lourens 43a10264cd Comment out part of test - see #101462 2020-06-30 18:16:50 -07:00
rebornix df3d767b89 more crash testing 2020-06-22 16:30:09 -07:00
rebornix 765681974d 💄 2020-06-19 19:11:24 -07:00
rebornix ac9e97aaa5 delay cells change from revert. 2020-06-19 13:52:59 -07:00
rebornix 5d9e565557 📓 Separate selections and text model 2020-06-18 19:22:08 -07:00
rebornix 9b38a98bc4 skip undo/redo test. 2020-06-18 10:38:30 -07:00
rebornix 6c68514534 Fix #100329. Content providers can contribute to undo/redo stack of a notebook document. 2020-06-17 17:08:09 -07:00
rebornix e7e21e7af4 typings refactoring not picked up. 2020-06-16 16:48:05 -07:00
rebornix 350507a753 revert/backup should not be optional 2020-06-15 11:46:17 -07:00
Connor Peet e8a11a80d6
fixup! tests 2020-06-12 14:34:45 -07:00
rebornix ad30a37105 💄 2020-06-11 15:24:19 -07:00
rebornix 338eb5c82d Fix #98828. Copy cell should copy metadata. 2020-06-11 15:24:19 -07:00
rebornix 97adc29122 💂 2020-06-09 13:20:08 -07:00
Johannes Rieken e6135d58b8 fix compile errors 2020-06-09 16:09:41 +02:00
rebornix 83286288a7 💄 we can guarantee notebook events if command is not notebook related. 2020-06-08 11:26:48 -07:00
rebornix e35510bccb clean workspace after one test finishes. 2020-06-03 19:29:37 -07:00
rebornix 8dd0614799 💄 2020-06-03 19:11:37 -07:00
rebornix 49213f36de flaky webview related nb iteration test. 2020-06-03 18:53:46 -07:00
rebornix b812666e2f Custom renderer message is still flaky 2020-06-02 15:14:31 -07:00
rebornix adae0e5b4e Fix #98841. Open file should only emit document open event, no cells change event. 2020-06-02 15:13:32 -07:00
Matt Bierner aa80303978 Fix scheme for webview test 2020-06-01 16:13:37 -07:00
rebornix 7e9abe577d notebook resolve should wait for * activated events. 2020-06-01 13:17:33 -07:00
rebornix f9ca74dcf1 add explicit activation event for notebook test ext. 2020-06-01 13:10:28 -07:00
rebornix 7a38b84bc7 vscode resolve file. 2020-06-01 11:21:59 -07:00
rebornix ed0803e668 fix false negative tests 2020-05-30 18:05:54 -07:00
rebornix b1c870fe25 Disable webview related tests on web. 2020-05-30 18:02:56 -07:00
rebornix a14a793150 split editor does not await, notebook events are not sent to ext host in time on Web. 2020-05-30 18:02:31 -07:00
rebornix 37a3496bb0 share undo stack between text models in a notebook. the undo stack is not shared with notebook itself yet due to #98750. 2020-05-28 10:29:04 -07:00
Matt Bierner 4f7afb5a98 Skip failing test 2020-05-27 19:33:10 -07:00
rebornix 8bac4d17ad combine events from edits from ext host. 2020-05-27 16:00:49 -07:00
rebornix 9ae8d33358 disable second move down. 2020-05-27 08:06:50 -07:00
rebornix 56393440fb add error messages for notebook workflow integration tests. 2020-05-26 10:14:52 -07:00
rebornix dfb4dbe961 restore notebook state after test. 2020-05-20 16:22:17 -07:00
rebornix da98a19a5d temporarily disable cell move event test. 2020-05-20 13:55:54 -07:00
rebornix 627dd8b0ca notebook webview test 2020-05-20 13:19:16 -07:00
rebornix de5ddeca61 💄 2020-05-20 11:07:27 -07:00
rebornix d321061c8c merge moveEvent into CellsChangeEvent. 2020-05-20 11:03:30 -07:00
rebornix 979ca623f1 onDidActiveNotebookEditorChange 2020-05-20 10:32:26 -07:00
Rob Lourens 9bc11824c3 Add notebook smoketests 2020-05-20 12:01:52 -05:00
rebornix af6649b9f5 💄 2020-05-20 09:09:20 -07:00
rebornix 5c928428df notebookEditor.visible 2020-05-19 17:20:20 -07:00
rebornix 8e02737abc notebookEditor.active 2020-05-19 16:55:38 -07:00
rebornix cc151dd103 notebook tests for notebook content change events. 2020-05-19 14:46:14 -07:00
rebornix a328f500d8 💂 move cells will not re-create cells in ExtHost. 2020-05-18 18:46:08 -07:00
rebornix 4c54f7124c shared document between split editors and dispose them properly 2020-05-18 17:22:12 -07:00
rebornix 0e5cedb755 💂 copy cell does not copy custom metadata 2020-05-17 21:20:46 -07:00
rebornix f560b157c6 some fixes for editor reopen with another type 2020-05-15 14:11:11 -07:00