Commit Graph

544 Commits

Author SHA1 Message Date
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
rebornix
f475511726 kernel change event. 2020-07-17 12:02:08 -07:00
rebornix
05144a3d4e new kernel provider works side by side 2020-07-15 17:01:48 -07:00
rebornix
4fc84b3a11 sketch for notebook kernel 2020-07-15 16:18:17 -07:00
Alex Ross
aed6bd7e2a Move findExecutable to extension host
Part of #101073
2020-07-13 14:25:59 +02:00
Rachel Macfarlane
40324ee577 Auth provider tweaks, change types of change events 2020-07-10 10:49:10 -07:00
Johannes Rieken
a8a4e3760b add workspaceStorageHome and use that in extHostStoragePaths, remove appSettingsHome, https://github.com/microsoft/vscode/issues/101857 2020-07-09 12:48:02 +02:00
Andre Weinand
673e35d278 new proposed API stopDebugging; see #101883 2020-07-09 10:49:22 +02:00
Andre Weinand
e308dd3b36 add DebugSession.terminate; see #101883 2020-07-08 18:29:01 +02:00
Alex Ross
fda4c35b27 Make open and save dialog options optional
Fixes #101426
2020-07-08 13:46:10 +02:00
Alex Ross
00ebd1d85f Ensure tasks are resolved when run from extension host
Related to #101884
2020-07-08 10:17:13 +02:00
Johannes Rieken
f08ce02836 debt - remove unused userHome from extHost env, also some todos 2020-07-07 16:01:50 +02:00
Alex Dima
d432126ecf Extract workspaceContains related logic to a separate file (#75284) 2020-07-06 23:15:52 +02:00
Rachel Macfarlane
ab7a5ec3ad Address part of feedback for #100993 2020-07-06 08:51:24 -07:00
isidor
a301dc553b change noCompress -> compress and make default to not compress sessions in call stack
#101429
2020-07-02 11:37:35 +02:00
João Moreno
4b9c19ab03 fixes #101277 2020-06-29 15:46:35 +02:00
isidor
8e40c436dd introduce noCompact flag to DebugSessionOptions
#100852
2020-06-25 10:03:16 +02:00