Commit Graph

42 Commits

Author SHA1 Message Date
Sandeep Somavarapu
3683c91762 do not use path 2023-04-05 20:10:21 +02:00
Sandeep Somavarapu
6d8368756b remove unnecessary variable 2023-04-05 18:15:34 +02:00
Sandeep Somavarapu
4370b66e75 address feedback 2023-04-05 18:05:02 +02:00
Sandeep Somavarapu
6e99e8a826 feedback 2023-04-05 17:19:51 +02:00
Sandeep Somavarapu
d8fccd8a92 introduce product.overrides.json 2023-04-05 16:32:01 +02:00
Benjamin Pasero
3edcfeb381 debt - fix some JS compile errors (#178472)
* debt - fix some JS compile errors

* simplify
2023-03-28 09:52:01 +02:00
Benjamin Pasero
1ea0fa13cf perf - have more marks for restoring editors (#175446) 2023-02-26 08:56:33 +01:00
Matt Bierner
5d5280012e Include server-main.js in main TS project (#168375)
* Include server-main.js in main TS project

Fixes #167055

This fixes a conflict in the `@types/node` types in this file

* Fixing a few more type errors

* Fix typing of `onLoad`
2023-01-09 15:20:15 -08:00
Johannes
cd0a2721ed move globals-init into bootstrap-amd (which is used by different parties) 2022-11-18 12:03:57 +01:00
Benjamin Pasero
9db57e76e9 Build: bundle / concat entry points (#161161)
* perf - concatenate windows main files

* Revert "Revert "Use `esbuild` to bundle some CommonJS main files (#160957)" (#161118)"

This reverts commit 84c46b71a5.

* build - exclude server main files

* build - make concat a task that runs like the others

* some renames

* Avoid overwriting the nodejs closure require

* Revert "build - exclude server main files"

This reverts commit 736516624e.

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-21 00:38:44 -07:00
Benjamin Pasero
84c46b71a5 Revert "Use esbuild to bundle some CommonJS main files (#160957)" (#161118)
This reverts commit 2179e52fb9.
2022-09-16 09:31:44 -07:00
Benjamin Pasero
2179e52fb9 Use esbuild to bundle some CommonJS main files (#160957)
* ensure node.js `require` is captured

* optimize `main.js` and `cli.js`

* cleanup

* leave out bundled files

* drop package.json from userdata paths

* fix web task

* fix editor distro

* inline version into `product.json`

* also bundle server

* t

* actually do server too

* Keep bundling nls in editor worker

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-16 05:24:23 -07:00
Alexandru Dima
a68f9da5fe There is no need to pass in nodeMain when passing in baseUrl (#160893) 2022-09-14 13:04:14 +02:00
Benjamin Pasero
2cb7b42d98 code cache - cleanup in prep for chrome based code loading 2021-06-08 07:39:43 +02:00
Alex Dima
cba1d1b184 Prefix all performance.mark calls with code/ 2021-01-11 16:12:03 +01:00
Johannes Rieken
683a30f74c Revert "better fix for https://github.com/microsoft/vscode/issues/113852"
This reverts commit d687818f8e.
2021-01-07 12:26:14 +01:00
Johannes Rieken
d687818f8e better fix for https://github.com/microsoft/vscode/issues/113852 2021-01-07 09:41:43 +01:00
Alexandru Dima
fbe4aa28ff Collect and deliver perf marks from extension hosts (#112552) 2020-12-15 21:48:14 +01:00
Alex Dima
508ef0928c Better loader configuration for nodejs processes 2020-11-19 16:34:55 +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
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
Johannes Rieken
2c531e2ede only set nodeCachedData-prop when having a dir, #60332 2018-11-27 15:57:38 +01:00
Johannes Rieken
2319dc2389 adopt new loader, make sure each loader instance has a static seed so that filenames don't conflict, #63605 2018-11-27 15:50:24 +01:00
Johannes Rieken
0c2388a008 perf - simplify cached data env var (enabled cached data for the extension host) 2018-10-02 12:14:02 +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
Johannes Rieken
7a6a466cab tweak all those copies of uriFromPath, #56691 2018-08-24 10:58:08 +02:00
Alex Dima
dcd5ea858f Fixes #54550: Define fs as original-fs only when running in Electron 2018-07-19 16:06:14 +02:00
Benjamin Pasero
4e975a1beb ensure original-fs is used in all our AMD code (#54468) 2018-07-17 12:53:27 +02:00
Dirk Baeumer
3c0abb8d8a Add support to regenerate nsl cache if corrupted. 2018-07-03 12:13:30 +02:00
Joao Moreno
4c5157954b driver as a standalone module 2018-04-04 12:15:04 +02:00
Dirk Baeumer
04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Johannes Rieken
cac9aa411b use nodeCachedData for main process, #17108 2016-12-21 11:42:51 +01:00
Joao Moreno
195e77304b remove unused path.join 2016-08-17 09:04:18 +02:00
Joao Moreno
c0b72c1658 fix bootstrap 2016-02-12 12:39:38 +01:00
Joao Moreno
c1ef29da9b export bootstrap from bootstrap-amd 2016-02-12 12:39:37 +01:00
Joao Moreno
7fd66ab5a3 remove unused requires 2016-02-09 15:30:35 +01:00
Joao Moreno
cf6884c01e refactgor bootstrap-amd 2016-02-09 15:23:23 +01:00
Joao Moreno
44a565c814 refactor bootstrap
related to #2785
2016-02-09 14:59:29 +01:00