Commit Graph

38 Commits

Author SHA1 Message Date
Benjamin Pasero
8a652f9380 🚀 sandbox - enable by default and remove setting 🚀 (#181638)
* sandbox - enable by default and remove setting

* remove more

* set flags again

* fix lint

* more cleanup
2023-05-12 13:36:29 +02:00
Benjamin Pasero
4d252ac40a sandbox - configure crash reporter with process type (#174927) 2023-02-21 23:07:37 +09:00
Benjamin Pasero
7e97d0757b sandbox - configure crash reporter if window is sandboxed (#174817) 2023-02-20 09:31:11 +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
Robo
f56598fc18 chore: update electron@19.1.3 (#164882)
* chore: update electron@19.1.3

* fix: update api name
2022-10-28 23:08:21 +09:00
Robo
22cbb8e958 chore: update electron@19.0.17 (#161027)
* chore: update electron@19.0.17

* chore: update API typings

* fix: compilation errors

* build: add libcups dependency
2022-09-16 12:41:52 +02:00
Alexandru Dima
f9acb97f3c Set up console forwarding in the extension host separately of bootstrap-fork.js (#152980) 2022-06-23 17:01:00 +02:00
Alexandru Dima
dfa06b84f8 Use an UtilityProcess for the extension host (#150167) 2022-05-24 16:42:47 +02:00
Connor Peet
6f0c1b068a bootstrap: fix failing on trying to write to process.stdout/stderr
Fixes #143132
2022-02-22 12:41:11 -08:00
Robo
01df559c18 chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Connor Peet
f931ee139b exthost: define console methods as non-writable to avoid telemetry issues 2022-01-12 14:47:41 -08:00
Connor Peet
538988cf72 tests: add support for stdout/stderr in the Node extension host
Fixes https://github.com/microsoft/vscode-test/issues/114
2021-12-29 11:44:40 -08: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
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
a7f5a10158 debt - some more process and platform 💄 2021-03-16 08:39:19 +01:00
Alex Dima
cba1d1b184 Prefix all performance.mark calls with code/ 2021-01-11 16:12:03 +01:00
Benjamin Pasero
64eb716d57 env - fully qualify our own variables 2021-01-04 11:08:36 +01:00
Benjamin Pasero
0adc15c4bb configureCrashReporter should check whether we are on Electron 2020-12-18 12:08:43 +01:00
Alexandru Dima
fbe4aa28ff Collect and deliver perf marks from extension hosts (#112552) 2020-12-15 21:48:14 +01:00
Connor Peet
82974e8cda exthost: use marker to avoid duplicating written log messages
Fixes https://github.com/microsoft/vscode/issues/104686
2020-12-08 16:15:14 -08:00
Connor Peet
7491d39190 Merge remote-tracking branch 'origin/master' into connor4312/native-exthost-log 2020-12-08 14:48:29 -08:00
Benjamin Pasero
41025928ad bootstrap - fix more compile errors 2020-11-24 10:03:19 +01:00
Connor Peet
206fbe0bb3 debug: use native logging in extension host
https://github.com/microsoft/vscode/issues/104686
2020-11-23 11:41:46 -08: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
Benjamin Pasero
c0a4e9e84f bootstrap - add helper utility for node.js things 2020-06-24 17:43:52 +02:00
Benjamin Pasero
a3f86f0923 Drop node.js require for bootstrap and bootstrap-window (#100857)
* sandbox - load bootstrap/bootstrap-window via script tags (workbench)

* sandbox - adopt script loading for issue reporter and process explorer
2020-06-24 09:07:14 +02:00
Benjamin Pasero
6445a85f1c bootstrap - move some methods that are only used once 2020-06-23 14:18:26 +02:00
Benjamin Pasero
560b21efa4 Crash reporter creates two directories (fix #99149) 2020-06-03 10:22:52 +02:00
Matt Bierner
273a4a389d Convert most ts-ignore-calls to ts-expect-error (#93617)
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments

This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Alex Dima
ffbb280a36 Fixes #68024 2020-03-09 14:51:53 +01:00
Benjamin Pasero
a642dae0e2 process.stdout.write in Extension Host does nothing (fix #74173) (#83833) 2019-11-01 14:58:25 +01:00
Alex Dima
03a9aca859 Add support for injecting node module lookup path 2019-04-10 22:58:42 +02:00
Benjamin Pasero
f3b191ab38 @ts-check for bootstrap JS files 2018-09-07 16:05:28 +02:00
Benjamin Pasero
a4bf919e59 Cleanup bootstrap files (#58171)
* bootstrap  - first cut

* bootstrap => bootstrap-fork, bootstrap-shared => bootstrap

* bootstrap - extract uriFromPath()

* bootstrap - extract readfile/writefile

* bootstrap - share more code when loading renderers

* boostrap-electron-browser => bootstrap-window

* bootstrap - cleanup main.js

* bootstrap - handle index.js

* bootstrap 💄
2018-09-07 12:23:09 +02:00