Commit Graph

255 Commits

Author SHA1 Message Date
Connor Peet
ce88761cd7
debug: bump js-debug to 1.71 (#159109) 2022-08-25 08:47:49 -04:00
Matt Bierner
abc84e0735
Bump webview fallback commit (#157959)
For #157222
2022-08-11 16:40:05 -07:00
Connor Peet
99cf19c042
debug: bump js-debug and visualizer for 1.70 (#156508) 2022-07-28 00:30:01 +02:00
Connor Peet
a432fbda62
debug: bump js-debug for 1.69 (#153571) 2022-06-28 11:44:08 -07:00
Connor Peet
8a8c175605
debug: bump js-debug (#150733) 2022-05-30 19:52:04 +02:00
Matt Bierner
17c75e1180
Allow reusing webview origins across reloads (#149950)
* Allow reusing webview origins across reloads

Currently webviews are always loaded into a unique origin. This keeps them isolated but also means that we can't benefit from caching across window reloads

This change adds a new `origin` option that you can pass to webviews which controls the origin they use. If this origin is not provided, we use a random one instead

We then save off this origin for webview panels and restore it on window reloads. Webviews restore a little faster on window reload

* Update webview fallback version
2022-05-19 16:07:14 -07:00
Connor Peet
08f247b552
debug: bump js profile visualizer (#149981) 2022-05-19 22:50:55 +00:00
Johannes
d3e6eb992b
move references-viewlet into extensions/-folder 2022-05-03 16:46:13 +02:00
Connor Peet
13e1fd6c62
debug: bump js-debug companion 2022-05-02 14:44:58 -07:00
Connor Peet
6c69756a0a
chore: bump js-debug 2022-04-29 15:01:22 -07:00
Connor Peet
aa59e0c7ca
debug: bump js-debug 2022-04-27 08:13:36 -07:00
Connor Peet
5e86e40fab
extensions: pull from github in OSS build (#146863)
* extensions: pull from github in OSS build

* fixup! address pr comment
2022-04-10 22:36:12 -07:00
Johannes
451966fc83
update references view 2022-04-05 12:10:29 +02:00
Joao Moreno
a3e739fee9
update cdn domain for webview 2022-03-30 10:55:12 +02:00
Connor Peet
1cc6ee1c71 debug: bump js-debug 2022-03-25 12:49:25 -07:00
Matt Bierner
c569182d08
Encode webview parent origin in authority
Fixes #144703
2022-03-08 11:28:59 -08:00
Johannes Rieken
b9c773e03e
update references view extension 2022-03-05 11:42:57 +01:00
Connor Peet
6dca4c1a1f
debug: update dependencies 2022-03-03 16:19:55 -08:00
Johannes Rieken
e6b63f39c4
debt - remove all of extensionAllowedProposedApi 2022-03-01 11:44:11 +01:00
Connor Peet
774ca35756 debug: bump js-debug 2022-02-23 12:42:29 -08:00
Matt Bierner
31b199da9c
Bump webview commit 2022-02-15 18:36:12 -08:00
Matt Bierner
82fe581566
Bump webview commit 2022-02-14 13:45:05 -08:00
Johannes Rieken
850c481c3b
use latest references view viewlet 2022-02-11 14:34:36 +01:00
Johannes Rieken
cfcd80ff96
update references viewlet for https://github.com/microsoft/vscode/issues/141585 2022-02-09 18:15:24 +01:00
Connor Peet
f3afd9d825
debug: bump js-debug 2022-02-08 09:01:46 -08:00
Connor Peet
2438af8dab
debug: bump js-debug 2022-01-27 11:39:59 -08:00
Connor Peet
ebb95cd828
debug: bump js-debug 2022-01-26 09:31:09 -08:00
Connor Peet
2a3b916cc0
debug: bump js-debug 2022-01-24 22:00:10 -08:00
Martin Aeschlimann
f9cac7c28a
adopt --server-data-dir 2022-01-21 12:11:47 +01:00
Martin Aeschlimann
f4ba7dd12b
server bin cleanup 2022-01-11 16:34:28 +01:00
Matt Bierner
9f867c3ed8
Revert service worker usage of MessageChannel (#140351)
* Revert service worker usage of MessageChannel

Reverts 66b6adf035

While I'm not 100% about this, I think 66b6adf035 causes resourses to occasionally not load. I believe this can happen if the service worker is unitilized while the webview remains active. I can't reproduce this myself so it may be related to memory pressure or resource usage, however relying on the service worker not being reinitilized does seem like a potentially bad idea https://stackoverflow.com/questions/34775105/what-causes-the-global-context-of-a-service-worker-to-be-reset

Will investigate if there's another way to achive this since using MessagePort did clean up the code and slightly improve performance

* Bump webview commit versions
2022-01-10 14:22:49 -08:00
Matt Bierner
66b6adf035
Switch webview service-worker to use message channel (#138811)
* Switch webview service-worker to use message channel

This change hooks the service worker used for loading webview resources directly up to the main VS Code process over a message channel. Previously this communication had to go through an extra hop through the webview

This simplifies the logic somewhat (although this change required adding extra logic to exchange the message port). It also improves performance a little

* Update webview content commit version
2021-12-10 16:35:13 -08:00
Matt Bierner
c2f4daf348
Update webview bits version for tests 2021-12-07 16:16:54 -08:00
Matt Bierner
f00c4da8b8
Update default webview commit 2021-11-29 12:27:23 +01:00
Martin Aeschlimann
cd2d059ec0
add server license and server license terms 2021-11-23 22:30:49 +01:00
Johannes Rieken
3ff2cd942d
remove ms-vscode.remotehub* from proposed API allow list, https://github.com/microsoft/vscode-internalbacklog/issues/2431#issuecomment-950869327 2021-11-03 09:13:40 +01:00
Matt Bierner
f191b9d9fd
Bring back webviewContentExternalBaseUrlTemplate
We need a distinct property just for webviews
2021-10-27 10:48:17 -07:00
Matt Bierner
bc566d42a1
Try bumping webEndpointUrlTemplate again
Reverts dc1a669906

Also bumps distro to pick up new product.json changes
2021-10-26 15:38:11 -07:00
Connor Peet
de8a66adaf
debug: bump js-debug 2021-10-26 09:12:49 -07:00
Alex Ross
dc1a669906
Revert "Hardcode commit for webview endpoint in public product.json"
This reverts commit 1100001c70.
2021-10-26 10:32:33 +02:00
Matt Bierner
1100001c70
Hardcode commit for webview endpoint in public product.json
Fixes #135641

Also fixes duplicated names `webEndpointUrlTemplate` and `webContentExternalBaseUrlTemplate`
2021-10-25 15:27:36 -07:00
Alex Dima
845e410a52
Define a server greeting via product.json 2021-10-21 09:45:49 +02:00
Connor Peet
a1421c6630
debug: bump js-debug 2021-09-28 16:19:51 -07:00
Connor Peet
9a15261ab3
debug: bump js-debug 2021-09-08 08:20:54 -07:00
Johannes Rieken
d1353440df
use latest version of references view,https://github.com/microsoft/vscode/issues/15533 2021-09-03 10:45:11 +02:00
Connor Peet
698855dc09
debug: bump js-debug version 2021-08-23 16:06:34 -07:00
Connor Peet
dea81025e8
debug: bump companion verson 2021-08-11 05:21:23 -07:00
Connor Peet
d309d3344f
debug: remove legacy debuggers and bump js-debug
Fixes https://github.com/microsoft/vscode-js-debug/issues/1065
2021-08-03 13:02:13 -07:00
Connor Peet
3bfb92fd66
debug: bump js-debug companion 2021-07-27 14:51:24 -07:00
Connor Peet
79b3eec4af
debug: bump debuggers 2021-07-27 10:27:00 -07:00