Commit Graph

935 Commits

Author SHA1 Message Date
rebornix
d631beda22 Merge branch 'notebook/dev' into main 2021-05-04 15:31:11 -07:00
Connor Peet
d639345791 notebooks: improve renderer message passing
Fixes https://github.com/microsoft/vscode/issues/122944
2021-05-04 12:35:06 -07:00
Barbara Valdez
39d180d662 Initial implementation of drag and drop api (#122239) 2021-05-04 05:01:46 -07:00
Daniel Imms
c2f8abb4d2 Remove onRequestDefaultShellAndArgs 2021-05-03 23:01:16 -07:00
Matt Bierner
18a986bef5 Fixing array buffer serialization
Fixes #115807
2021-04-30 17:05:07 -07:00
Johannes Rieken
a1e69b746f rename InlineHint to InlayHint, make it InlayHint only and keep OverlayHint as a future, separate feature, remove hover message 2021-04-30 14:51:40 +02:00
Ladislau Szomoru
480f3c0b35 Return undefined if dialog is cancelled (#122234) 2021-04-26 15:28:25 -07:00
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