Commit Graph

63 Commits

Author SHA1 Message Date
Benjamin Pasero
b180991240 asar - introduce alternative path to circumvent drive letter casing issues (#131161)
* asar - introduce alternative path to circumvent drive letter casing issues (#128725)

* Insert at most one additional lookup path

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2021-08-19 11:29:42 +02:00
Akat
77905c850e fix some typo in comments, renaming few methods (#130470) 2021-08-11 17:57:48 -07: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
30f0d188c7 sandbox - prefer sandbox types over node.js types 2021-04-06 09:51:18 +02:00
Benjamin Pasero
393cc7f4a2 debt - consolidate process usage 2021-03-15 15:59:35 +01:00
Benjamin Pasero
d30c12dc6b debt - fix some types in bootstrap JS files 2021-02-01 10:34:42 +01:00
Benjamin Pasero
1460908e18 bootstrap - move portable mode into bootstrap-node 2020-11-25 08:46:40 +01:00
Benjamin Pasero
2433e29383 sandbox - use IPC communication to read bundles 2020-11-25 08:16:37 +01:00
Benjamin Pasero
723ee37c02 bootstrap - expose preload process to base lib 2020-11-24 10:23:05 +01:00
Benjamin Pasero
41025928ad bootstrap - fix more compile errors 2020-11-24 10:03:19 +01:00
Benjamin Pasero
e8ba7e51ee bootstrap - fix compile errors 2020-11-24 09:53:00 +01:00
Benjamin Pasero
eb8c718e81 debt - fix compile errors in bootstrap files 2020-11-09 09:03:14 +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
5497e60ed2 sandbox - consolidate fileUriFromPath into one 2020-09-22 08:14:45 +02: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
c9dc040ad7 Fix drive casing issue on windows 2020-06-25 20:02:17 +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
Alex Dima
ffbb280a36 Fixes #68024 2020-03-09 14:51:53 +01:00
Joao Moreno
545e066ccd fixes #83998 2019-11-11 11:55:25 +01:00
Benjamin Pasero
4fcd312728 Adopt recursive fs.mkdir from node.js 12 (fix #82617) (#83831)
* Adopt recursive fs.mkdir from node.js 12 (fix #82617)

* fix tests
2019-11-01 14:55:04 +01:00
Alexandru Dima
6b4d9860a5 Fixes microsoft/vscode-remote-release#1632: Handle case where paths are null 2019-10-29 11:35:03 +01:00
Benjamin Pasero
23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Benjamin Pasero
da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Robo
029e9929ae chore: Update to Electron 6.x (#75802) 2019-09-13 14:53:56 +02:00
Max Belsky
d3605cc532 Use const instead of let 2019-08-27 09:56:19 -07:00
Alex Dima
03a9aca859 Add support for injecting node module lookup path 2019-04-10 22:58:42 +02:00
Dirk Baeumer
7002a63fad Move language pack processing code to common 2019-02-20 19:27:08 +01:00
Benjamin Pasero
9a28248b52 💄 2019-01-07 12:54:57 +01:00
Tereza Tomcova
e9d6a653e6 bootstrap - handle UNC paths correctly (#66128)
fixes #53857
2019-01-07 12:51:26 +01:00
Benjamin Pasero
113459ae64 sqlite - next storage service adoption 2018-10-12 10:29:42 +02:00
Joao Moreno
84658f7414 prevent portable in windows setup
fixes #57990
2018-09-26 17:28:02 +02:00
Ramya Rao
ae526292df Upgrade appinsights (#58999)
* Upgrade appinsights

* Env, global updates before starting shared process

* Disable console logging from appinsights Fixes #55417

* Move workaround to helper
2018-09-22 23:09:48 -07:00
Benjamin Pasero
1e98303d91 bootstrap - move workbench.js to electron-code 2018-09-10 07:48:52 +02:00
Benjamin Pasero
8c6051e032 another attempt at ASAR 2018-09-07 20:30:49 +02:00
Benjamin Pasero
d649ac014d fix ASAR path again 2018-09-07 19:30:50 +02:00
Benjamin Pasero
d1ec72c2a0 fix ASAR for windows 2018-09-07 17:39:21 +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
Benjamin Pasero
f199d20e67 debt - more TPromise.done() removal and unhandledRejection handler (#57695) 2018-09-04 09:07:56 +02:00
Benjamin Pasero
d8e9d0ed87 debt - handle SIGPIPE on more processes 2018-08-31 16:03:50 +02:00
Benjamin Pasero
a057e3218b ext host - improve printing of circular objects 2018-08-14 16:31:21 +02:00
Alex Dima
e3ce029935 Prepare for node >= v8.0.0 2018-03-19 12:59:32 +01:00
Alex Dima
9774c071fc Use node_modules.asar if present 2018-01-09 17:04:02 +01:00
Benjamin Pasero
6762612177 show console.log from extension host top frame in dev tools (#34936) 2017-09-25 10:29:37 +02:00
Johannes Rieken
d30567bdd3 don't log errors twice, #32766 2017-08-18 15:02:36 +02:00
Ramya Rao
29a7a86c3a Start crash reporter inside child processes (#27180)
* Use service to get crash reporter start options

* some refactorings and fixes

* Move crashesDirectory to the main payload from extra bag
2017-05-26 09:27:56 +02:00
Joao Moreno
5a4f3f5648 💄 2016-11-03 18:07:16 +01:00