Commit Graph

74 Commits

Author SHA1 Message Date
Benjamin Pasero
8ce218ca26 bootstrap - fix loader paths for running out of sources 2021-09-06 07:57:13 +02:00
Benjamin Pasero
f8eb737b82 loader - configure path to be node_modules.asar (#130302) 2021-09-03 18:44:49 +02:00
Benjamin Pasero
0b84f39fb0 forgot to add some more modules (#130302) 2021-09-02 12:07:41 +02:00
Benjamin Pasero
ed5c561ff3 perf - ensure node modules are loaded via script tags and not node.js (#130302) 2021-09-02 11:15:23 +02:00
Benjamin Pasero
b6ca3e52ae Remove dependency on node require for startup code path (#130088)
* sandbox - disable support to enable file protocol

* mitigate symlinks on different drives
2021-08-04 10:45:11 +02:00
Benjamin Pasero
158b9b3c36 bootstrap - log an error when window config cannot be loaded in 10s (#127421) 2021-06-29 19:41:19 +02:00
Alexandru Dima
1dab1072ff Fixes #126533: Make sure the ASAR path is always added for renderer processes 2021-06-18 17:07:54 +02:00
Benjamin Pasero
72fb784f97 code cache - do not configure our loader when using vscode-file protocol 2021-06-08 09:17:50 +02:00
Benjamin Pasero
2cb7b42d98 code cache - cleanup in prep for chrome based code loading 2021-06-08 07:39:43 +02:00
Benjamin Pasero
9f8431f7fc Allow rapid render in sandbox (#122828) (#122830)
* allow rapid render in sandbox (#122828)

* remote throttled delayer

* some final 💄
2021-05-06 08:56:52 +02:00
Benjamin Pasero
89731c8205 Remove shell environment patching in the renderer (fix #108804) 2021-05-03 13:31:35 +02:00
Benjamin Pasero
fa602ecdc3 extension tests - stop automated opening of devtools when running out of sources 2021-04-20 08:28:15 +02:00
Benjamin Pasero
e51173f3b6 startup code 💄 2021-04-15 08:21:32 +02:00
Benjamin Pasero
92281913a1 shell env - change to ipc invoke/handle to speed up resolution 2021-04-06 15:37:48 +02:00
Benjamin Pasero
58186680eb sandbox - enable vscode-file// protocol by default (#98682) 2021-04-06 12:16:30 +02:00
Benjamin Pasero
30f0d188c7 sandbox - prefer sandbox types over node.js types 2021-04-06 09:51:18 +02:00
Benjamin Pasero
ff0f7f3cf2 Make product configuration available to non node.js environments (fix #120243) 2021-04-06 08:55:31 +02:00
Benjamin Pasero
2dab9c80c1 bootstrap - some more cleanup around types 2021-04-01 09:09:05 +02:00
Benjamin Pasero
141ac31cdc sandbox - ensure to validate vscode-window-config ipc call 2021-03-31 14:04:18 +02:00
Benjamin Pasero
5ec2f69fb3 sandbox config - add forceEnableDeveloperKeybindings 2021-03-31 11:30:12 +02:00
Benjamin Pasero
8a4d271f43 💄 bootstrap types 2021-03-31 11:14:28 +02:00
Benjamin Pasero
970f799890 preload - apply zoom level after resolving config 2021-03-31 10:48:11 +02:00
Benjamin Pasero
d35df4a3ef window - use IPC to transport window config and drop URL query param (#120096) 2021-03-31 09:42:47 +02:00
Benjamin Pasero
242bea8c8f zoom - always set it early on (fix #108920) 2021-03-30 08:36:47 +02:00
Benjamin Pasero
393cc7f4a2 debt - consolidate process usage 2021-03-15 15:59:35 +01:00
Benjamin Pasero
1260de1c10 sandbox - move workspace tags to sandbox 2021-03-05 16:15:10 +01:00
Benjamin Pasero
dbbf2b1688 shell env - introduce a service to resolve shell env as promise (#108804) 2021-03-05 07:47:53 +01:00
Johannes Rieken
4aff4b9923 trusted types - loader should use trusted script url when using script tags, https://github.com/microsoft/vscode/issues/103699 2021-01-07 11:14:35 +01:00
Benjamin Pasero
169a0ec047 sandbox - allow to enable vscode-file protocol via argv or environment (#98682) 2021-01-06 15:30:38 +01:00
Johannes Rieken
c87c95a1a0 prefix our performance marks with code/, e.g code/didStartRenderer etc 2020-12-14 15:49:58 +01:00
Johannes Rieken
ec5da6d09c remove direct writes to globalThis.MonacoPerformanceMarks, use native performance instead, import native performance entries into timer service, fyi @bpasero 2020-12-14 11:12:30 +01:00
Benjamin Pasero
1a1db8f00e bootstrap - add more typing info 2020-12-14 08:23:30 +01:00
Benjamin Pasero
392b6a94e0 perf - remove redundant performance usages
@jrieken fyi
2020-11-26 07:42:05 +01:00
Benjamin Pasero
37e9cceddc Enable sandbox, contextIsolation and vscode-file for process explorer and issue reporter (#111304)
* Enable sandbox for issue reporter and process explorer (fix #101834)

* sandbox - enable vscode-file protocol for sandboxed renderers

* issues - stop setting nodeCachedDataDir

* address feedback and also use vscode-file for shared process if sandbox is on
2020-11-25 16:46:03 +01:00
Benjamin Pasero
e8ba7e51ee bootstrap - fix compile errors 2020-11-24 09:53:00 +01:00
Benjamin Pasero
1273299f3d 💄 bootstrap-window 2020-11-20 12:08:07 +01:00
Benjamin Pasero
6f3fcd2ce0 env - move shell env into bootstrap-window and let user env win over shell env 2020-11-20 11:57:24 +01:00
Benjamin Pasero
65f805d98e fix build 2020-11-10 08:17:14 +01:00
Benjamin Pasero
eb8c718e81 debt - fix compile errors in bootstrap files 2020-11-09 09:03:14 +01:00
Sandeep Somavarapu
88144f6d31 Fix #80698
- Inline semver
2020-10-26 12:12:07 +01:00
Benjamin Pasero
7f035b4be7 debt - introduce and adopt FileAccess
deprecate amd.ts and require.toUrl methods
2020-09-25 14:11:05 +02:00
Benjamin Pasero
7c5934902c sandbox - self invoke functions for shared process, issues and process explorer 2020-09-22 08:40:57 +02:00
Benjamin Pasero
5497e60ed2 sandbox - consolidate fileUriFromPath into one 2020-09-22 08:14:45 +02:00
Alex Dima
aa2a14c6dd Loader config for node modules when running with sandbox 2020-09-18 13:08:00 +02:00
Robo
836fbb1b5d fix: preserve zoom level on navigation (#104268) 2020-08-07 13:06:01 -07:00
Benjamin Pasero
e5b3ff76ba Enable sandbox and contextIsolation for process explorer when running with --__sandbox (#102924)
* sandbox - allow to enable sandbox and contextIsolation for process explorer

* fix asar lookup
2020-07-20 10:30:20 +02:00
Alex Dima
bb95f3aa40 Adopt loader's amdModulesPattern option 2020-07-07 23:30:27 +02:00
Benjamin Pasero
fe94804601 bootstrap - use preload script to access Electron IPC 2020-07-07 09:19:36 +02:00
Benjamin Pasero
c7fe3b41ae perf - set zoom level from electron-main and stop using webFrame in renderer unless changing zoom
//cc @deepak1556
2020-07-07 08:38:12 +02:00
Alex Dima
4deff1a75b Load loader.js via a <script> tag 2020-06-24 17:19:19 +02:00