Commit Graph

978 Commits

Author SHA1 Message Date
Alexandru Dima
e1845803d3 Add telemetry event for failed extension activation 2021-04-26 23:36:36 +02:00
Benjamin Pasero
05e0899ffd working copy - more readonly arrays 2021-04-23 10:59:39 +02:00
Johannes Rieken
5390ec0e7c remove isPreferred as instance property, replace selector with only viewType, allow controller to set a notebook priority instead 2021-04-22 16:13:42 +02:00
rebornix
264ccd16d4 Merge branch 'notebook/dev' into main 2021-04-21 15:15:59 -07:00
SteVen Batten
a9f70f7919 finalize basic workspace trust api 2021-04-21 09:56:35 -07:00
Johannes Rieken
4f9ac638ff extension contributed kernels fall back to all languages when supportedLanguages isn't set, https://github.com/microsoft/vscode/issues/121329 2021-04-21 11:34:48 +02:00
rebornix
e986377a62 move NotebookRange. 2021-04-20 17:11:07 -07:00
Johannes Rieken
b2b45e1005 execute by cell-handle, kernel manager has only execute/cancel cells, also "fix" isNotebookCellData fyi @rebornix 2021-04-20 14:39:19 +02:00
Johannes Rieken
b06388f501 Merge branch 'joh/clean-kernel' into notebook/dev 2021-04-20 11:33:41 +02:00
rebornix
d415fc0d0e adopt notebookSelector in status bar API. 2021-04-19 10:15:26 -07:00
Johannes Rieken
11c3ba58af remove NotebookKernelProvider API and its implementation 2021-04-19 16:19:23 +02:00
Johannes Rieken
f9fec24b45 make INotebookKernel2 extends INotebookKernel 2021-04-19 11:56:18 +02:00
Johannes Rieken
6b9bd78998 add NotebookController#detail 2021-04-19 08:58:01 +02:00
Connor Peet
99075a46ec Merge branch 'connor4312/test-api-refactor-application' into main 2021-04-16 22:53:21 -07:00
Connor Peet
bb3ea733de testing: rework running side to new apis 2021-04-16 16:40:01 -07:00
rebornix
1845b9d2a5 Merge branch 'notebook/dev' into main 2021-04-16 13:39:34 -07:00
Daniel Imms
3ae9ec0051 Adopt requireTrust in terminal 2021-04-16 05:29:28 -07:00
Johannes Rieken
95932045c7 check that notebook controller are unique per id 2021-04-16 14:22:44 +02:00
rebornix
8629b48030 rename transientMetadata to transientCellMetadata. 2021-04-15 17:24:47 -07:00
Johannes Rieken
bbf148b0c6 merge renderer IPC into notebook controller, remove global renderer IPC 2021-04-15 18:41:56 +02:00
Johannes Rieken
b6cee1ca22 add cancellation to NotebookSerializer, https://github.com/microsoft/vscode/issues/121329 2021-04-15 16:21:06 +02:00
Connor Peet
bec017d389 testing: rework discovery side of testing to new apis 2021-04-14 17:10:46 -07:00
Rob Lourens
3e40e14bc4 Cell statusbar API (#121215)
Implement provider-based notebook cell statusbar API
2021-04-14 11:26:23 -07:00
Johannes Rieken
02f0f4a0c8 make createNotebookRendererCommunication independent of controller, make it renderer first 2021-04-14 18:33:14 +02:00
Johannes Rieken
d6ae97cf97 add Kernel2#createNotebookRendererCommunication 2021-04-14 15:09:06 +02:00
rebornix
d13a914bd6 Merge branch 'notebook/dev' into main 2021-04-13 14:12:11 -07:00
SteVen Batten
c5fab4faa3 Boolean Trust State (#121141)
* move to boolean-based trust state

* update api based on feedback
2021-04-13 12:54:52 -07:00
Johannes Rieken
fcd005ce8c fix compile errors, evolve internal API about kernel selection 2021-04-13 14:29:46 +02:00
Johannes Rieken
0788b3fd68 Merge branch 'main' into notebook/dev 2021-04-13 09:17:03 +02:00
Connor Peet
60a7c6a925 notebooks: add initial kernel/renderer constraints
See https://github.com/microsoft/vscode/issues/119899

Backwards compatible, initially. The implementation should be
pretty unsurprising. Some churn from data wiring.

This does the bulk of the work. The only remaining item is caching
the last renderer used for notebooks in the workspace to avoid running
selection again if the user reopens/reloads the window.
2021-04-12 16:30:39 -07:00
rebornix
f7e5a67039 NotebookDocumentShowOptions#selections. 2021-04-12 16:05:34 -07:00
rebornix
8f7df5e9c9 Merge branch 'notebook/dev' into main 2021-04-12 14:00:47 -07:00
Connor Peet
6b666279b8 wip 2021-04-09 17:46:21 -07:00
Johannes Rieken
4c3becc0bb Merge branch 'notebook/dev' into joh/kernel-push 2021-04-09 09:16:40 +02:00
Eric Amodio
3622dafdc0 Adds new proposed api for scm input validation 2021-04-08 19:24:53 -04:00
Johannes Rieken
461f09ff78 add extension identifier to kernel 2 2021-04-08 11:22:00 +02:00
Johannes Rieken
d10367cee8 Merge branch 'notebook/dev' into joh/kernel-push 2021-04-08 10:04:13 +02:00
Johannes Rieken
72d772b1a1 make execution and interrupt callback instead of commands 2021-04-07 16:35:08 +02:00
Alex Ross
37abf64afd Add command line regex for port attributes provider
Part of #115616
2021-04-07 15:28:25 +02:00
Johannes Rieken
84f3054624 add local resource root and cancelCells so that Kernel2 is very similar to Kernel 2021-04-07 15:12:45 +02:00
Johannes Rieken
38e4243e2d add kernel push to proposed API 2021-04-07 12:06:38 +02:00
Johannes Rieken
b47fb7a275 add kernel service and add extension host logic for it 2021-04-06 15:46:01 +02:00
Daniel Imms
f8810116c6 Add terminal icon ext api
Part of #120538
2021-04-05 02:42:39 -07:00
Connor Peet
ade3e6e683 testing: some api polishing
Fixes #119793
Fixes #119831
Fixes #117602
2021-04-01 15:43:24 -07:00
Daniel Imms
c8ccd07d0f Add initialText proposed API
Part of #120368
2021-04-01 12:27:13 -07:00
Ladislau Szomoru
49a164e886 Workspace trust API polish 2021-04-01 15:59:04 +02:00
Ladislau Szomoru
648ea3d1e0 Refactor requireWorkspaceTrust to requestWorkspaceTrust 2021-04-01 15:59:04 +02:00
Johannes Rieken
ca980ecfac update notebook editor view column when moving editors, https://github.com/microsoft/vscode/issues/115704 2021-03-31 18:09:39 +02:00
Johannes Rieken
c1209ae4e0 extract separte interfaces from ExtHostNotebookShape but not change anything yet 2021-03-31 16:15:52 +02:00
Johannes Rieken
fa48622fdf split mainThreadNotebook up into logical pieces
* notebookDocumentsAndEditors -> owns the truth of the notebooks and editor that extensions know about
* notebookEditor -> everything about editors
* notebookDocuments -> everything about documents
2021-03-31 15:44:31 +02:00