Commit Graph

89 Commits

Author SHA1 Message Date
Johannes
8dd8d214d8 don't use __$__nodeRequire to fetch product configuration 2022-11-18 09:41:51 +01:00
Johannes
2d6ad4be88 * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-18 09:41:43 +01:00
Raymond Zhao
9feaed8f51 Revert "joh/representative canidae" (#166641) 2022-11-17 13:53:17 -08:00
Johannes
6dd2726c73 simplify _VSCODE_NODE_MODULES util 2022-11-17 17:58:51 +01:00
Johannes
93c3f3202b don't use __$__nodeRequire to fetch product configuration 2022-11-17 15:41:23 +01:00
Johannes
0824db3bad * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-17 12:09:14 +01:00
Alexandru Dima
a15e4f0d6d Reduce usage of require (#166051)
* Reduce usage of `require`

* Bootstrap's callback returns only the first required module
2022-11-11 09:47:28 +01:00
Daniel Imms
2f72682e5d Add canvas renderer addon 2022-08-01 09:29:26 -07:00
Jackson Kearl
329edaba17 Imporive small-document language prediction
Closes #137104
2022-02-21 13:53:02 -08:00
Benjamin Pasero
eecbd962ef debt - rename iconv-lite-umd package (#140650) 2022-01-14 07:28:41 +01:00
Alex Ross
4d1d73f6ef Revert "Add timestamps to comments proposal (#139849)"
This reverts commit b978d7150c.
2022-01-12 15:51:57 +01:00
Alex Ross
b978d7150c Add timestamps to comments proposal (#139849) 2022-01-12 14:41:23 +01:00
Benjamin Pasero
ec5486b98f sandbox - clean up some todos 2021-11-11 08:29:56 +01:00
Benjamin Pasero
a088f8ddc0 remove weird space character from sources 2021-09-24 10:34:54 +02:00
Benjamin Pasero
4f8e969995 bootstrap - remove now redundant check 2021-09-21 15:12:39 +02:00
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