Commit Graph

394 Commits

Author SHA1 Message Date
Rachel Macfarlane
4c0811c9c2 Removing polling from auth extensions, fixes #107480 2020-10-09 16:33:53 -07:00
rebornix
2249f2aba5 fix #108406. openNotebookDocument. 2020-10-09 11:34:55 -07:00
Rachel Macfarlane
dafce599a6 Add getPassword, setPassword, and deletePassword APIs, #95475
Co-authored-by: SteVen Batten <sbatten@microsoft.com>
2020-10-06 14:57:16 -07:00
rebornix
359e12a868 ensure backwards compability. 2020-10-06 10:50:58 -07:00
rebornix
cf695d9a1d Move acitve/visible notebook editors to window namespace. 2020-10-05 16:09:41 -07:00
Johannes Rieken
1e7454f72a renames 2020-09-25 18:04:10 +02:00
Johannes Rieken
08695ede81 adopt changes after feedback round one 2020-09-25 18:00:11 +02:00
Johannes Rieken
611bbad868 Merge branch 'master' into joh/cell-output 2020-09-25 17:44:13 +02:00
Johannes Rieken
8932f62afa adress API feedback https://github.com/microsoft/vscode/issues/54938 2020-09-25 16:13:26 +02:00
Johannes Rieken
b297be52ca new proposal for NotebookCellOutput, partial implementation 2020-09-25 11:44:23 +02:00
Johannes Rieken
9f9ba405e4 remove isFree-check and rely on the renderer throwing errors 2020-09-18 12:21:25 +02:00
Matt Bierner
6b083b455b Finalize the WebviewView Api
Fixes #46585

This new api allows extensions to contribute webviews to the sidebar or panel
2020-09-16 14:59:13 -07:00
rebornix
289bce5e1a nb decoration api first cut. 2020-09-16 14:27:04 -07:00
Alex Ross
10c7db89ee Add color to ThemeIcon (#106491)
Part of #103120
2020-09-16 11:20:52 +02:00
Johannes Rieken
e38b9d0727 add ExtHostFileSystemInfo which knows what schemes are reserved and which are used, https://github.com/microsoft/vscode/issues/91697 2020-09-10 12:29:30 +02:00
Matt Bierner
a1e2114347 Add isWritableFileSystem api
Fixes #91697

This new API checks if a given scheme allows writing
2020-09-09 21:27:03 -07:00
rebornix
03960a5aa1 re #105735. no more udpateMetadata api. 2020-09-09 16:45:00 -07:00
Johannes Rieken
dcef262f4e chore - move appyWorkspaceEdit from extHostTextEditors to (new) extHostBulkEdits and mainThreadBulkEdits 2020-09-09 11:18:14 +02:00
rebornix
c887ae1b6d remove legacy registerKernel 2020-08-31 12:00:21 -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
rebornix
1d7ff4c718 emit notebook editor selection change. 2020-08-27 17:10:26 -07:00
Johannes Rieken
470966b066 add model version to notebook edits when possible, https://github.com/microsoft/vscode/issues/105283 2020-08-27 11:58:01 +02:00
Alex Ross
0de8d51904 Finalize task detail API
Fixes #69785
2020-08-27 11:08:48 +02:00
Rob Lourens
b58f4549b2 Implement notebook cell status bar item contributions
Fix #104958
2020-08-26 17:07:10 -07:00
Matt Bierner
23fe7a39de Split extHost webview panels to own file 2020-08-26 16:46:26 -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
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
cd18e7ec38 debt - make ExtHostNotebookDocument not implement vscode.NotebookDocument but expose the API object via strict getter 2020-08-24 10:11:45 +02:00
Connor Peet
d20e086afc Merge branch 'connor4312/rm-old-renderer-api' 2020-08-21 09:12:08 -07: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
36969b3cf9 Merge branch 'master' into add-debug-adapter-named-pipe-server 2020-08-19 11:41:18 +02:00
Johannes Rieken
442e27637d clean up for https://github.com/microsoft/vscode/issues/101282 2020-08-17 10:54:04 +02:00
Eric Amodio
1fc60f8b96 Adds ExtensionContext.extensionRuntime - #104436 2020-08-11 15:12:26 -04:00
rebornix
03467e96ff re #104262. Add logging for notebook. 2020-08-10 14:30:58 -07:00
Daniel Imms
2b353aac93 Remove terminal link handlers
Fixes #91606
2020-08-10 14:19:55 -07:00
Daniel Imms
6ad637946b Finalize terminal link providers
Fixes #91290
2020-08-10 10:23:07 -07:00
Andre Weinand
95dcdf2c58 make session arg optional; fixes #103934 2020-08-06 14:01:54 +02:00
Rachel Macfarlane
7a4509a6ca Allow passing empty options to getSession, fixes #104078 2020-08-05 10:48:20 -07:00
rebornix
ccb2e9621f re #102503. onDidSaveNotebookDocument 2020-08-03 15:12:25 -07:00
Rob Lourens
eb05e94d5e Send cell metadata changes to EH, add onDidChangeCellMetadata event 2020-08-01 10:25:12 -07:00
Rachel Macfarlane
bb9c167ef2 Fix authentication sessions change event type 2020-07-28 11:30:19 -07:00
Tyler Leonhardt
10a5d09ed5 Add DebugAdapterNamedPipeServer 2020-07-23 15:40:13 -07:00