Commit Graph

118 Commits

Author SHA1 Message Date
Alex Dima
f6ad20b09a Ask all local extension hosts to resolve canonical URIs 2022-03-11 10:04:00 +01:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Dima
d6eb7e40e5 Get the proxy to the extension host via IExtHostContext to avoid depending on extHost.protocol.ts (#141003) 2022-01-31 23:53:26 +01:00
Alex Dima
04cc454cf5 Move extension host IInitData to /workbench/services (#141003) 2022-01-31 17:22:03 +01:00
Alex Dima
fec88d2ccd Move ExtensionActivationReason to `workbench/services' (#141003) 2022-01-31 17:11:31 +01:00
Alex Dima
24569c613e Rearrange files to better separate between workbench/api and workbench/services (#141003) 2022-01-31 16:14:21 +01:00
Joao Moreno
8a928f98ea ipc api: MessagePort.start() needs to be called, so events start flowing 2022-01-14 14:09:21 +01:00
Alex Dima
43f35c10ab Add logging to troubleshoot remote integration tests hangs (#140572) 2022-01-13 17:31:00 +01:00
Alex Ross
c393048b98 Move tunnel features (#140620) 2022-01-13 12:13:40 +01:00
João Moreno
5e630c145f Enable IPC API for web (#138054)
* wip: ipc api

* wip: send message ports upfront

* address both inside and outside iframe

* fix build

* relay MessagePort to worker

* address api discussion feedback

* check for proposed api

* fix layer breakage

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-01-05 02:11:12 -08:00
Connor Peet
90b1267d89 tests: fix not exiting if tests rejected with undefined
Fixes https://github.com/microsoft/vscode-test/issues/119
2021-12-29 09:09:39 -08:00
Alex Dima
bd12165fd2 Fixes #138804: Improve logging to contain also the extension id 2021-12-15 14:53:32 +01:00
Alex Dima
9fd6ee7095 Fixes #73656: Do not activate extensions if the search for glob patterns from workspaceContains times out 2021-11-19 09:57:45 +01:00
Alex Dima
7fbe563c0a Fixes #136937: Do not log extension activation canceled error if the extension host is going down 2021-11-19 00:45:29 +01:00
Sandeep Somavarapu
5109e2e12a Fix #136424 2021-11-16 18:01:02 +01:00
Sandeep Somavarapu
5243c4021a #136424 add to proposed api 2021-11-15 09:52:34 +01:00
Johannes Rieken
a4d426a1c2 split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +01:00
Johannes Rieken
f01a1e991d move isProposedApiEnabled and checkProposedApiEnabled-util back to workbench-layer 2021-11-10 12:02:04 +01:00
Johannes Rieken
799d82fcc3 add isProposedApiEnabled-util, move checkProposedApiEnabled-util, use utils instead of reading the enableProposedApi-property, https://github.com/microsoft/vscode/issues/129037 2021-11-09 14:13:32 +01:00
Alex Dima
a30ea744d0 Improve logging 2021-10-22 14:45:20 +02:00
Matt Bierner
bc76074ada Revert "Improve logging"
This reverts commit 4bba4f2554.
2021-10-14 17:02:58 -07:00
Alex Dima
4bba4f2554 Improve logging 2021-10-14 22:47:48 +02:00
Johannes Rieken
c15218d09e use biased extUri when feeding data into extensions tst, https://github.com/microsoft/vscode/issues/134602 2021-10-11 17:13:16 +02:00
Johannes Rieken
8db8a07b4e use true casing rules when creating extensions tst, #134602 2021-10-11 15:24:29 +02:00
Johannes Rieken
547d92631e getExtensionPathIndex indexes extensions by URI, not just fsPath, fixes https://github.com/microsoft/vscode/issues/134602 2021-10-11 11:41:55 +02:00
Alex Dima
c037b74143 Improve logging 2021-09-27 20:39:07 +02:00
Alex Dima
b1b44a3910 Acquire a lock before using a certain workspace storage directory and fall back to other directories if necessary 2021-06-29 00:27:04 +02:00
Alexandru Dima
f163b54a19 Fixes #123882
The catch block around the return statement was never executing, as it would catch only synchronous errors thrown by `_doHandleExtensionTests`. By awaiting the returned promise, we make sure to catch also promise rejections, which gives us a chance to log the error message on the extension host console as well.
2021-06-09 22:31:14 +02:00
Alex Dima
85f518b255 Add RemoteAuthorityResolver.getCanonicalURI 2021-05-21 16:48:14 +02:00
Alex Dima
c650993dd3 Add ResolvedOptions.isTrusted 2021-05-21 16:48:14 +02:00
Alex Dima
7c07550dbc Log errors encountered during deactivate 2021-05-18 13:24:28 +02:00
Alex Ross
1bd250ca51 Set tunnel factory earlier (#122557)
* Set tunnel factory earlier

* Don't await in setTunnelExtensionFunctions
2021-04-28 18:43:13 +02:00
Alexandru Dima
e1845803d3 Add telemetry event for failed extension activation 2021-04-26 23:36:36 +02:00
Martin Aeschlimann
d4a6400596 Merge branch 'main' into aeschli/testsInWebEH 2021-04-20 14:10:09 +02:00
Martin Aeschlimann
200d4c7761 tests in web extension host 2021-04-18 16:34:07 +02:00
Alexandru Dima
30ae7bde85 Respect resolver's trust options 2021-04-16 17:15:09 +02:00
Alex Dima
74cf3fb202 Fixes #119529: Wait for eager extensions to activate before launching extension tests 2021-03-24 14:38:33 +01:00
Eric Amodio
0f65e64c2a Fixes #119636 - 🤦 2021-03-23 13:01:00 -04:00
Eric Amodio
4b3ba3ea44 Removes proposed api check 2021-03-22 18:16:06 -04:00
Martin Aeschlimann
5804f7dd83 Merge branch 'main' into aeschli/testsinwebworker 2021-03-18 13:10:18 +01:00
Alex Dima
76cd8a00b3 Fixes #119011: Wait for the vscode API to become available before launching extension tests 2021-03-16 14:28:35 +01:00
Martin Aeschlimann
7806efac02 tests in webworker EH 2021-03-12 17:17:19 +01:00
Alex Dima
ae4ffb1b81 Handle extension test execution on the UI 2021-03-11 20:19:28 +01:00
Eric Amodio
d299be88ea Updates proposal for #116906 2021-03-09 17:39:21 -05:00
SteVen Batten
95d3c1e63b finalize isNewAppInstall api
refs #117058
2021-03-09 10:20:18 -08:00
SteVen Batten
072ec46dcf new install proprosed api (#117059)
* new install proprosed api

* address comments
2021-02-22 08:20:31 -08:00
Eric Amodio
714b41738e Adds id & version to extension context - #116906 2021-02-17 20:24:39 -05:00
Alex Dima
cba1d1b184 Prefix all performance.mark calls with code/ 2021-01-11 16:12:03 +01:00
Rachel Macfarlane
ced3bb4bb9 Secrets API feedback 2021-01-05 10:17:05 -08:00
Rachel Macfarlane
7db413d4c1 Move secrets API to extension context 2021-01-04 22:04:40 -08:00