Commit Graph

919 Commits

Author SHA1 Message Date
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
Matt Bierner
3499f63dc1 Exploration: Better transferring of TypedArrays used in Webview.postMessage (#115664)
* Improve passing of ArrayBuffers to and from webviews

Fixes #115807

* Serialize and restore typed arrays too

This also makes it so that if you pass the same ArrayBuffer twice in an object, we use a single object on the receiver side too

* Fix spelling

* Require VS Code 1.56+
2021-03-30 06:49:34 +00:00
Daniel Imms
02d3809824 Allow undefined in terminal env map, unify interfaces
Note that this adds undefined as an option to TerminalOptions.env which could end up
causing compile errors, but they will be more correct and could reveal a bug in an
extension since some key could return undefined.

Fixes #119046
2021-03-26 14:40:12 -07:00
Daniel Imms
d02a4aacba Remove quick launch terminology from code
Fixes #119815
2021-03-26 09:56:20 -07:00
Daniel Imms
f1334e055c Polish select default profile quick pick
Fixes #119808
2021-03-24 11:49:05 -07:00
Alex Ross
2d9069014e Add a placeholder for already forwarded root ports (#119792)
when possible
Fixes microsoft/vscode-remote-release#4749
2021-03-24 14:57:12 +01:00
Ladislau Szomoru
c55aff6379 API feedback (WorkspaceTrustRequest -> WorkspaceTrustRequestOptions) (#119658) 2021-03-24 10:30:31 +01:00
Connor Peet
808266d4de Allow tests to be loaded asynchronously (#119537)
* initial wip in the extension host

* wip

* wip

* wip

* continued progress

* update api from discussion

* update for new proposal

* wip

* update to lastest testing api, almost everything working

Refs https://github.com/microsoft/vscode/issues/115089
Design https://gist.github.com/connor4312/73f1883d720654834b7fd40550d3b6e0

* re-wire retirement state

* update actions to new async test structure

* minor cleanup

* remove unused es2018 that failed build
2021-03-22 18:08:13 -07:00
Rob Lourens
7b96cc4c8b Implement Execution API (#116416)
Implement new execution task API
#106744
Fix #105847
2021-03-22 11:27:00 -07:00
Johannes Rieken
7d99c47b75 move notebook save event into notebook editor model service, remove resolve/save/backup from notebook service and let editor model use content provider directly 2021-03-19 13:13:40 +01:00