Commit Graph

174 Commits

Author SHA1 Message Date
Alexandru Dima
7ca71e763d Move away from deprecated 'vscode' node module (#112718) 2020-12-17 21:40:14 +01:00
Alexandru Dima
e0498f0cdd Share typescript node module (#112718) 2020-12-17 20:58:11 +01:00
Alexandru Dima
ed19f6082f Share mocha related node modules (#112718) 2020-12-17 11:03:49 +01:00
rebornix
9ba85c3d66 💄 2020-10-06 11:18:52 -07:00
rebornix
ac85c3ca2c fix notebook extension compile errors. 2020-10-06 11:06:12 -07:00
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