Commit Graph

14 Commits

Author SHA1 Message Date
Matt Bierner
e1f0f8f513 Add override keyword in codebase (#120755)
For #120675

This uses a script to add the override keyword to places that need it in the codebase

Note that we can't enable the --noImplicitOverride setting yet since there are still around 200 errors that require further attention
2021-04-08 10:05:20 -07: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
Matt Bierner
a4a4cf5ace Re-resolve webview views when extension host restarts
Fixes #108555

Previously webviews were left hanging when the extension host died. With this change, we now try to re-create them once the extension host restarts
2020-10-19 19:00:16 -07:00
Matt Bierner
c13678f258 Set extension on webview views
Fixes #108689

This fixes loading resources in webview views on web
2020-10-16 17:18:44 -07:00
Matt Bierner
ec8016f7d1 Cache webview view title across reloads
Fixes #105867
2020-09-09 21:51:22 -07:00
Matt Bierner
f79540dc65 Add show method to webview view
Fixes #106085
2020-09-08 17:19:11 -07:00
Matt Bierner
4c7071e9ab Add WebviewView.description
Allow configuring the description for webview views.

This is rendered next to the title in a less prominently in the title
2020-09-08 15:23:43 -07:00
Matt Bierner
f542ed32c1 Rename 2020-08-27 13:51:11 -07:00
Matt Bierner
08be66406f Make context the first arugment to constructors 2020-08-27 13:51:11 -07:00
Matt Bierner
7e4ccf1676 Rename WebviewPanelHandle -> WebviewHandle 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
Matt Bierner
c5134d83f7 Fix updating of a webview view's title 2020-08-25 15:17:09 -07:00
Matt Bierner
c50b5acd37 Fix local resources in webview views
Ensure we use the correct id for identifying the webview internally
2020-08-21 16:42:31 -07:00
Matt Bierner
041cf5dd0f Split main thread webview views to own file 2020-08-21 16:42:31 -07:00