Commit Graph

3317 Commits

Author SHA1 Message Date
Raymond Zhao a1694a8628 Bump windows-mutex (#179196) 2023-04-04 23:36:05 +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
Benjamin Pasero 4a21266bdd csp - tighten rules and update trusted types (#178675)
* csp - tighten rules and update trusted types

* bring back `https:` for `img-src`

* also update others
2023-03-31 12:17:41 +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
Martin Aeschlimann adbc695833 cli: fix code tunnel on snap (#177482) 2023-03-20 22:27:33 +01:00
Connor Peet c26e1a7a89 fix: code tunnel using program folder on windows (#177514)
Uses the common cwd() helper which pulls process.env.VSCODE_CWD

Fixes #175748
2023-03-17 13:14:55 -07:00
João Moreno 5f9bbf37c1 Revert "adopt new module locations (#177472)"
This reverts commit 5b6cd9c3c7.
2023-03-17 18:55:13 +01:00
João Moreno 5b6cd9c3c7 adopt new module locations (#177472)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-03-17 15:34:17 +01:00
João Moreno 5bb3880b20 remove telemetry prop: common.source (#176688)
* remove telemetry prop: common.source

* remove extra code

* use interface

* use interface again

* fix tests
2023-03-10 15:22:27 +01:00
Raymond Zhao 099b866cfb Fix status warn message (#176702) 2023-03-10 00:58:52 +01:00
Sandeep Somavarapu 34652da5fa cli: more improvements (#176663)
- more logging
- reduce extensions scanning
2023-03-09 10:29:58 -08:00
João Moreno 8aef5750b3 Remove hardcoded update service participation (#176429)
* Remove hardcoded update service participation

fixes #160135

* fix protected fields

* remove race
2023-03-09 18:34:16 +01:00
Martin Aeschlimann f1d871dbf1 getMachineId should not use errors.onUnexpectedError (#176512) 2023-03-08 14:37:38 +01:00
Benjamin Pasero 2125515049 [uncaught exception in main]: Cannot read properties of undefined (reading 'focus') (fix #176211) (#176213) 2023-03-06 09:10:28 +01:00
Sandeep Somavarapu af53f2e00d fix #175673 (#175675) 2023-02-28 18:21:16 +01:00
Daniel Imms b7b7ffe4f9 Merge branch 'main' into main 2023-02-28 06:50:45 -08:00
Benjamin Pasero 63e1f7ecd4 diag - improve process titles (#175632)
* diag - improve process titles

* do not use correlation id
2023-02-28 11:10:52 +01:00
Sandeep Somavarapu 33b821bab2 fix #175396 (#175631) 2023-02-28 00:58:27 -08:00
Sandeep Somavarapu 52dd56689f Improvements to logger and netwok requests logging (#175492)
- Able to create logger by passing id
- Support when conditions for loggers
- Separate logger for all network requests
- Log request and response headers
- Enable request logger on trace
- Add loggerService in CLI
2023-02-27 10:05:20 +01:00
Benjamin Pasero 9bbce647b3 debt - strict layer rules for more services (#175411) 2023-02-25 15:49:47 +01:00
Benjamin Pasero c3100304dd Reduce layer breakers in shared process (#175333)
* move `sharedProcessLifecycleService`

* move `remoteTunnelService`

* move `ExtensionsProfileScannerService`

* move `RequestService`

* move extension recommendations

* move native host service

* move `UserDataAutoSyncService`

* move `ExtensionTipsService`

* move `IMainProcessService`

* move `UserDataProfileStorageService`

* more moves

* move main process service
2023-02-24 16:02:20 +01:00
Benjamin Pasero b83565b135 Improve network requests logging (#175258) (#175325) 2023-02-24 15:58:31 +01:00
Benjamin Pasero ed6bb0790b sandbox - enable utility process in insiders by default (#175326) 2023-02-24 15:41:33 +01:00
Sandeep Somavarapu 2b54ca810f use vscode-userdata scheme for user data (#175212) 2023-02-23 09:22:51 +01:00
Svetozar Mateev 12755933d4 Merge remote-tracking branch 'upstream/main' into main 2023-02-20 22:09:35 +02: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
Benjamin Pasero 8fd698a555 sandbox - utility process cleanup (#174564)
* logging

* log utility process

* align envs
2023-02-16 15:17:15 +01:00
Benjamin Pasero bb0e9e399b Merge branch 'main' into ben/utility-shared-process 2023-02-16 10:47:34 +01:00
Benjamin Pasero 5dc1138216 sandbox - first cut utility process support for shared process 2023-02-16 08:55:32 +01:00
Benjamin Pasero 2d447788b5 sandbox - add once method for message ports 2023-02-16 05:54:48 +01:00
Sandeep Somavarapu 770fdee6a9 Support profiles in remote (#174392)
* Implement profiles on server
- Ability to create profiles on server
- Client manages the profiles on profile
- Enable profiles in web + remote

* fix tests
2023-02-15 10:08:57 +01:00
Benjamin Pasero a8ca5380a4 shared process - use isMainRequestServiceEnabled by default 2023-02-14 14:48:07 +01:00
Benjamin Pasero 2238d68ab8 Merge pull request #174245 from microsoft/ben/utility-process-file-watcher
Allow to run file watcher in utility process
2023-02-14 11:57:57 +01:00
Benjamin Pasero cb887d766d sandbox - more renaming services towards utility 2023-02-14 11:17:02 +01:00
Benjamin Pasero 5ae661dbfc sandbox - more renaming services towards utility 2023-02-14 11:06:03 +01:00
Sandeep Somavarapu 11fcbd051a prepare for server profiles (#174232)
* prepare for server profiles
- make state service available in server
- Intrdouce save stragey in state service - state shall be saved immediately in server
- use UserDataProfilesService that can save profiles in server

* feedback

* - add tests
- register IStateReadService in main
2023-02-14 08:58:44 +01:00
Benjamin Pasero 7081e31858 sandbox - implement a process worker over utility process 2023-02-14 07:46:32 +01:00
Benjamin Pasero a3a23328f9 Shared process lifecycle service has questionable exit processing (fix #174018) (#174020) 2023-02-10 09:04:34 +01:00
Benjamin Pasero 9bc5f9b708 add more logging for #172967 (#173833) 2023-02-08 08:44:16 -08:00
Benjamin Pasero 4938e12611 do not send shared process errors to telemetry (#173504) (#173519) 2023-02-06 08:15:25 +01:00
Sandeep Somavarapu c9e3ef8655 improve extensions cleanup (#173484)
- rename and delete
- delete generated folders
- developer action to cleanup
2023-02-05 14:50:39 -08:00
Benjamin Pasero 36219e95ba Merge branch 'main' into ben/royal-trout 2023-02-01 12:56:51 +01:00
Benjamin Pasero 7b24f91a30 dialog - improve button massaging 2023-02-01 07:47:21 +01:00
Matt Bierner ab060f0aa7 Remove another hard cast on Object.create (#172958)
For #172317
2023-01-31 13:06:16 -08:00
Matt Bierner b8e257b126 Avoid Object.create(null) for list renderer (#172826)
For #172317
2023-01-30 10:26:24 -08:00
Svetozar Mateev 9f0cc7a45d fix: #172386
Signed-off-by: Svetozar Mateev <svetozar.mateev@tick42.com>
2023-01-30 10:06:45 +02:00
Sandeep Somavarapu 1278cb5e74 Fix #171757 (#172032)
* Fix #171757

* complete fix
2023-01-23 13:50:32 -05:00
Benjamin Pasero 07b66c7f8c dialogs - have a helper for better native dialog styles (#171982)
* dialogs - add a common `massageMessageBoxOptions` that adheres to HIGs

* dialogs - set `cancelId` to last button by default

* dialogs - adopt `massageMessageBoxOptions` for `electron-main` dialog usages
2023-01-23 14:29:18 +01:00
Sandeep Somavarapu 5936a4eb52 Enable profiles by default except web+remote (#171812)
#116740 Enable profiles by default except web+remote
2023-01-20 12:07:30 +01:00