Commit Graph

34 Commits

Author SHA1 Message Date
Matt Bierner
46abb2bd3c Pick up latest TS for building VS Code
Also adds fixes for https://github.com/microsoft/TypeScript/issues/48468
2022-03-29 10:14:42 -07:00
Alex Dima
32b031eeef Add support for running remote extensions in the local web worker extension host (#141322) 2022-02-22 12:56:12 +01:00
Johannes Rieken
d1ae860377 No need for trusted types in extHost worker and worker extension loading, https://github.com/microsoft/vscode/issues/138588 2021-12-07 15:14:44 +01:00
Martin Aeschlimann
873f46eb27 source maps are off in browser dev tools 2021-09-22 20:39:37 +02:00
Alex Dima
8a0ef4107e No need to throw, $setRemoteEnvironment is only meant for the remote extension host 2021-08-23 14:13:17 +02:00
Alex Dima
4f222a8730 Fixes #126808: Convert file: URIs to vscode-file: also in the web worker extension host when executing on the desktop. 2021-06-21 17:05:18 +02:00
Connor Peet
7b11e6519e debug: call to native console methods in web worker ext host development
Fixes #119417
2021-03-31 15:36:17 -07:00
Martin Aeschlimann
342a55d10d worker eh: wrap console and send to renderer 2021-03-18 16:37:22 +01:00
Alex Dima
cba1d1b184 Prefix all performance.mark calls with code/ 2021-01-11 16:12:03 +01:00
Johannes Rieken
ed6c343edb gracefull fallback for TrustedFunction 2021-01-08 11:30:42 +01:00
Johannes Rieken
44c9b4bb7f use TrustedFunction workaround when loading extension sources inside web worker 2021-01-08 11:26:18 +01:00
Alex Dima
ec2d8d6772 Try to give a good stack trace in case loading code fails 2020-12-16 11:21:46 +01:00
Alexandru Dima
fbe4aa28ff Collect and deliver perf marks from extension hosts (#112552) 2020-12-15 21:48:14 +01:00
Connor Peet
8085054753 debug: try to wait for a debugger before running extensions (#108141) 2020-10-07 08:58:13 -07:00
Eric Amodio
8c9b4015fe Fixes ExtensionRuntime issue 2020-09-03 00:51:28 -04:00
Eric Amodio
1fc60f8b96 Adds ExtensionContext.extensionRuntime - #104436 2020-08-11 15:12:26 -04:00
Alex Dima
a7b1e06283 Add support for web worker extensions to define their entry point via "browser" 2020-07-24 10:41:04 +02:00
Alex Dima
25e0059347 Fixes #103027: Add a marker to the sourceURL of web extensions 2020-07-22 11:09:06 +02:00
Alex Dima
d2d0b50cea Remove window from the argument list of web worker extensions 2020-06-23 09:38:29 +02:00
Johannes Rieken
691e13b5b5 add //#sourceUrl comment so that debugging worker extensions becomes easier 2020-05-13 18:18:43 +02:00
Johannes Rieken
8a79619056 debt - use more native es6, less polyfil utils 2020-05-04 09:47:19 +02:00
Johannes Rieken
53d6601137 strict init 2019-10-03 16:51:03 +02:00
Johannes Rieken
089d220be8 debt - wrap things inside functions 2019-09-03 17:20:40 +02:00
Alex Dima
b58579c643 Use cookie for connection token, align fetching of remote resources 2019-08-21 16:11:35 +02:00
Johannes Rieken
c8d44e24dd fix scope when falling back to original load function 2019-08-19 14:20:26 +02:00
Johannes Rieken
15496555ea remove FakeCommonJSSelf 2019-08-15 16:57:54 +02:00
Johannes Rieken
5e63f6e00f web - reuse require interceptor logic 2019-08-15 16:57:53 +02:00
Johannes Rieken
032ffe6ae1 better exports trapping 2019-08-15 14:03:34 +02:00
Johannes Rieken
163aed3817 fix exports trap 2019-08-15 12:37:59 +02:00
Johannes Rieken
ec62819ffa very basic support to load multiple files 2019-08-14 16:32:27 +02:00
Johannes Rieken
8f3b7dec4a debt - IExtensionDescription#main should be relative like all other file references 2019-08-14 16:02:01 +02:00
Johannes Rieken
b2b0c86dda use vscode-remote-endpoint when importing scripts 2019-08-14 12:00:15 +02:00
Johannes Rieken
5d22d7f74c create API instance per extension 2019-08-13 12:21:24 +02:00
Johannes Rieken
f1aa0929db adopt ext host service world, add dummy implementations for some services 2019-08-09 16:10:50 +02:00