Commit Graph

510 Commits

Author SHA1 Message Date
rebornix
c887ae1b6d remove legacy registerKernel 2020-08-31 12:00:21 -07:00
rebornix
2518d2c44d update kernel per document. 2020-08-31 11:49:19 -07:00
rebornix
d3a5dd9d4b re #102503. reveal range 2020-08-28 13:23:28 -07:00
rebornix
637d782c7b re #102503. visible range change events. 2020-08-28 12:06:21 -07: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
Daniel Imms
47ecd45eaa Merge branch 'master' into tyriar/welcome 2020-08-27 12:47:59 -07:00
Daniel Imms
aa6b2f163d Initial terminal welcome support 2020-08-27 12:38:33 -07:00
rebornix
b2693bb7ed remove legacy kernel on content provider 2020-08-27 12:01:25 -07:00
Rachel Macfarlane
650197b991 Add authentication contribution point, #103507 2020-08-27 11:51:18 -07:00
Johannes Rieken
860a68747f WorkspaceEdit#replaceCells|CellOutput|CellMetadata, https://github.com/microsoft/vscode/issues/105283 2020-08-27 10:25:17 +02:00
Rob Lourens
b58f4549b2 Implement notebook cell status bar item contributions
Fix #104958
2020-08-26 17:07:10 -07:00
Matt Bierner
72cbf699d8 Split out main thread webview panels into own class/file 2020-08-26 16:46:26 -07:00
Matt Bierner
7e4ccf1676 Rename WebviewPanelHandle -> WebviewHandle 2020-08-26 16:46:25 -07:00
Matt Bierner
79d7a9569d Undoing exthost side of the webview serializer split 2020-08-26 16:46:25 -07:00
Matt Bierner
51ba70d426 Undo split of serializers into own main thread class
The serializers belong with the panels, not in their own class
2020-08-26 16:46:25 -07:00
Matt Bierner
4d88b39b7d Split up main thread webview services 2020-08-26 16:46:25 -07:00
Alexandru Dima
f59e0c1460 Merge pull request #105437 from microsoft/rmacfarlane/earlyAuth 2020-08-26 20:43:24 +02:00
Alex Dima
27082f3dbb Use an enum instead of a boolean to signal eager activation 2020-08-26 20:17:04 +02:00
rebornix
32f29cfdca transient outputs. 2020-08-26 10:51:46 -07:00
rebornix
7c986e94f4 transient metadata 2020-08-26 10:16:22 -07:00
Johannes Rieken
600d8a51cb tweak workspace edit dto and handling https://github.com/microsoft/vscode/issues/105283 2020-08-26 18:31:16 +02:00
Rachel Macfarlane
8871a28963 Make github-authentication a UI extension again 2020-08-26 09:01:42 -07:00
Matt Bierner
8ba70d8bdc Revert "Make github-authentication a UI extension again"
This reverts commit cd55420e7e.

This change seems to have caused issues activating extensions
2020-08-24 20:19:58 -07:00
Rachel Macfarlane
cd55420e7e Make github-authentication a UI extension again 2020-08-24 18:44:14 -07:00
Johannes Rieken
834a380d93 add replaceCells to notebook edit builder, also refactor cell source to only be a string, not an array 2020-08-24 11:33:05 +02:00
Connor Peet
d20e086afc Merge branch 'connor4312/rm-old-renderer-api' 2020-08-21 09:12:08 -07:00
Martin Aeschlimann
fae07df7c3 onTypeRename: wordPattern (for #104823) 2020-08-21 13:54:43 +02:00
Matt Bierner
daf5143e35 Split webview serializers into own ext host service 2020-08-20 16:45:45 -07:00
Matt Bierner
6db81f6ab2 Move custom editors into own ext host services 2020-08-20 16:45:45 -07:00
Matt Bierner
4fd7f660a4 Move webview views into own ext host class
Also fixes message passing for webview views
2020-08-20 16:45:45 -07:00
Matt Bierner
61f799f53b Add proposed webview view API (#104601)
Add proposed webview view API

For #46585

This adds a new `WebviewView` proposed api to VS Code that lets webview be used inside views. Webview views can be contributed using a contribution point such as :

```json
    "views": {
      "explorer": [
        {
          "type": "webview",
          "id": "cats.cat",
          "name": "Cats",
          "visibility": "visible"
        }
      ]
    },
```

* Use proper activation event

* Transparent background

* Fix resize observer

* Adding documentation

* Move webview view to new directory under workbench

* Remove resolver

By moving the webviews view into their own fodler, I was able to avoid the cycle the resolver was originally introduced for

* Use enum in more places

* Hook up title and visible properties for webview views

* Remove test view

* Prefer Thenable

* Add unknown view type error to collector
2020-08-20 13:59:22 -07:00
Alex Ross
640caaef05 Finalize task custom execution variable resolving
Fixes #81007
2020-08-20 13:49:20 +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
Andre Weinand
c233bf87bc add API to access DAP breakpoints; see #99716 2020-08-17 12:30:02 +02:00
Alex Ross
8418e06a5b Resolve customExecution task definition before going to exthost
Part of #81007
2020-08-14 16:31:44 +02:00
Johannes Rieken
bae64052f4 unit test for document remove 2020-08-12 09:05:18 +02:00
Daniel Imms
2b353aac93 Remove terminal link handlers
Fixes #91606
2020-08-10 14:19:55 -07:00
João Moreno
c466365768 Merge branch 'master' into pr/90952 2020-08-09 11:04:43 +02:00
João Moreno
6c7ff2bb3a scm: throttle resource group creation 2020-08-05 18:10:35 +02:00
mjcrouch
43d5d68fdd Merge remote-tracking branch 'upstream/master' into scm-resource-context 2020-08-04 17:29:01 +01:00
rebornix
2d3d5208de re #102503. send out save event after notebook content provider handles saving. 2020-08-03 15:12:25 -07:00
Rob Lourens
057c1f141e Fix cell cancellation with kernel in provider 2020-07-30 18:02:38 -07:00
Rachel Macfarlane
c5ae1f3f45 Fix auth provider extension activation on getSession 2020-07-28 19:10:51 -07:00
Daniel Imms
4c145dbb40 Expose Terminal.hideFromUser on all ext hosts
Fixes #103288
2020-07-27 12:11:10 -07:00
Alex Ross
76b7d04718 Change how supported task executions are set
Fixes #103039
2020-07-23 11:19:37 +02:00
Alex Dima
a5d3d4fae6 Fixes #102062: Wait for the renderer socket to drain before exiting the extension host process when running tests 2020-07-22 22:52:39 +02:00
Andre Weinand
b572b43606 remove not used proposed API; see #101883 2020-07-22 09:44:03 +02:00
rebornix
d586f701ec kernel provider settings. 2020-07-20 17:17:50 -07:00
Rob Lourens
90363c2f9d Change cell execution/cancel API
Fix #99203
2020-07-20 14:43:20 -07:00
Rachel Macfarlane
357fe6956c Ensure account preference set after login flow completes 2020-07-20 14:23:14 -07:00