Commit Graph

52 Commits

Author SHA1 Message Date
Henning Dieterichs
900874fdf2 Fixes CI 2023-07-20 23:57:38 +02:00
Henning Dieterichs
17973aa241 Fixes CI 2023-07-20 23:36:55 +02:00
Johannes Rieken
2e5a2f0dd6 💄 use optional jsdoc param annotation (#186747) 2023-06-30 16:44:09 +02:00
Robo
e5f61433b5 chore: update to Electron 22 (#177600)
* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* sandbox - cleanup from electron 22 update (#178919)

* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* temp: update distro

* sandbox - cleanup from electron 22 update

* missing comile

* more changes

* fix build

* restore

* 💄

* compile

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
Henning Dieterichs
d7c70785c1 Includes textmate worker in build 2023-02-20 10:56:33 +01:00
Benjamin Pasero
0ef4b66766 partially revert move of node files (#174815) 2023-02-20 18:09:48 +11:00
Benjamin Pasero
31edbf7ca6 sandbox - move shared process to node layer (#174581) 2023-02-17 10:18:01 +01:00
Johannes Rieken
fec87f38cb Analyse profiles in worker thread (#164468)
- profile renderer returns profile data
- analyse profiles in separate worker thread
- adjust renderer and extension host profiling
- adjust build scripts to build worker file
2022-10-24 17:42:54 +02: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
Tyler James Leonhardt
bce2e61e04 Allow nls in the base worker (#152887)
* Add localize call to platform

* Allow to use nls in the base worker

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-06-22 12:30:09 -07:00
Alexandru Dima
9db5a3674e Bring the nls loader plugin into our sources (#152338) 2022-06-16 22:01:19 +02:00
Alexandru Dima
5e7d488b7c Improve error message when a module cannot be bundled and exclude vs/nls from bundles (#152188) 2022-06-15 12:51:27 +00:00
Alexandru Dima
fc9732a683 Spawn the extension host directly from the main process because fork() is now fast again (#150002) 2022-05-20 08:10:39 +00:00
Benjamin Pasero
c4cdb552a5 Remove legacy smoke test driver (#147393)
* wip

* fix imports

* more lipstick

* fix?

* fix
2022-04-13 19:19:58 +02:00
Alex Dima
0ed6fa5395 Debt: inline module ids instead of having some of them spread out 2022-03-02 16:36:52 +01:00
Alex Dima
011308ef41 Move extensionHostWorker.ts to /workbench/api/ (#141003) 2022-01-31 16:48:25 +01:00
Alex Dima
c30ffc4a7e Fix problem with duplicated entry points 2021-11-09 23:41:02 +01:00
Alex Dima
41d6fc7e3a Create extension host processes from a node worker in the main process 2021-10-25 15:39:26 +02:00
Benjamin Pasero
be58a3560e First cut experimental setting to run file watchers from shared process worker (#132282) 2021-10-15 10:22:24 +02:00
Jackson Kearl
f960768ab0 Use editor worker module description rather then module description
Closes #2408
2021-09-28 09:03:13 -07:00
Jackson Kearl
7b4fd0b65b Adopt webworker search for local files in browser (#133366)
* Revert "Revert commits intended for PR"

This reverts commit f01d9ab212.

* Publicise getHandle rather than getDirectoryHandle

* Restore languagedetection export

* Try more targetted fix for overquerying

* Handle webworker search errors
2021-09-20 07:19:53 -07:00
Jackson Kearl
f01d9ab212 Revert commits intended for PR 2021-09-17 23:19:35 -07:00
Jackson Kearl
5ed5a40e79 Move search to webworker 2021-09-17 23:11:36 -07:00
Alex Dima
b3ae959c76 Avoid duplicating modules in worker bundles 2021-08-13 18:04:11 +03:00
Alex Dima
fff6737349 Reduce duplication of createModuleDescription 2021-08-13 17:59:46 +03:00
Tyler James Leonhardt
cfcda1c048 Improve performance of language detection (#130006)
* initial move to worker

* move event handling to the untitledTextEditorModel

* reuse simpleWorker interfaces and classes

* use correct path to languageDetection

* have vscode-languagedetection be outside of the asar

* add telemetry

* don't unpackage anything from languagedetection because it's not needed

* add an integration test

* some of Ben's feedback

* rework worker code to avoid duplication

* add isDisposed check

* fix test

* Isi and Ben feedback part 2

* use RunOnceScheduler instead and try to fix the test using events

* Ben feedback part 3

* bump distro
2021-08-06 11:56:14 -07:00
Alex Dima
1cad5ab365 Prepend vs/nls to workerMain.js (fixes #111599) 2020-12-02 11:15:13 +01:00
rebornix
55e368c912 bundle the worker. 2020-08-25 10:07:27 -07:00
Johannes Rieken
f6daf19f9a debt - remove unused service workr 2019-09-06 11:54:13 +02:00
Benjamin Pasero
f90b40fdae debt - clean up buildfiles (#79914) 2019-08-27 14:59:31 +02:00
Johannes Rieken
3e25e2688f build - have different worker extension host entrypoint, copy worker bootstrap file 2019-08-19 11:38:13 +02:00
Johannes Rieken
81b873bb6e make sure to prepend vs/nls 2019-08-16 09:36:00 +02:00
Johannes Rieken
a42484093f add extensionHostWorker entry point, fixes https://github.com/microsoft/vscode-internalbacklog/issues/738 2019-08-14 18:07:10 +02:00
SteVen Batten
4106fe8259 merge conflicts 2019-08-12 09:52:13 -07:00
Benjamin Pasero
bf94bedcfe build - workbench.main => workbench.desktop.main 2019-08-12 12:06:44 +02:00
Johannes Rieken
d75caf044e include service worker in build 2019-07-04 14:50:57 +02:00
Benjamin Pasero
c255f9efba web - first cut API 2019-06-17 10:02:50 +02:00
Benjamin Pasero
4b5c68c1bd web - scaffold a basic dev setup via "yarn web" 2019-05-09 13:13:27 +02:00
Benjamin Pasero
cb71a9f7f8 💄 build files 2019-03-14 12:25:42 +01:00
Erich Gamma
5e41d2aafb enable checkJS 2018-02-01 14:39:12 +01:00
Benjamin Pasero
e69b79bdb4 debt - move workbench.main into workbench folder 2017-07-03 16:42:29 +02:00
Benjamin Pasero
7f7c5703ba move workbench.main.* into electron-browser namespace 2016-11-10 15:20:06 +01:00
Alex Dima
b457326a02 Remove no longer used code (due to vs/languages removal) 2016-10-07 17:55:50 +02:00
Alex Dima
cf6b4b5661 Remove the rest of vs/languages 2016-10-07 16:57:11 +02:00
Martin Aeschlimann
96f1f812e8 Remove legacy JSON 2016-06-26 12:54:17 +02:00
Alex Dima
90eb74e313 Delete code that was extracted to other repos 2016-06-08 10:17:51 +02:00
Alex Dima
545af1f16c Remove vs/text loader plugin 2016-05-23 20:03:41 +02:00
Joao Moreno
ca4519a3b2 workbench/electron-main -> code/electron-main 2016-05-02 16:05:37 +02:00