Commit Graph

231 Commits

Author SHA1 Message Date
Sandeep Somavarapu ba08018f93 use product configuration in embedder api 2023-04-06 08:48:10 +02:00
Sandeep Somavarapu 8a2ce9760c fix path 2023-04-05 23:59:11 +02:00
Sandeep Somavarapu 5398ef3717 use JSON 2023-04-05 23:37:14 +02:00
Sandeep Somavarapu efd54651bf use product overrides in web 2023-04-05 21:58:05 +02:00
Tyler James Leonhardt 378b0d711f Implement titlebar logic using a new NLS property (#177426)
* Revert "Have English language return default result (#175157)"

This reverts commit 3c9f409888.

* Revert "Fix locale and language handling (#174779)"

This reverts commit 4e32196835.

* Revert "Add en as fallback osLocale (#175039)"

This reverts commit 7b6b6869e8.

* Revert "Ensuring locale is set to the OS locale and language is set to the Application Language (#174733)"

This reverts commit ecf479e662.

* Implement titlebar correctly using platformLocale
2023-03-17 09:32:40 +01:00
Sandeep Somavarapu 0df935dae9 #176678 proper fix (#177195) 2023-03-15 13:39:00 +01:00
Sandeep Somavarapu 75d574a4ff move the mark to beginning (#176948) 2023-03-13 11:51:50 +01:00
Sandeep Somavarapu b84a10311a expose all-profiles arg to the server cli (#176814) 2023-03-10 11:55:09 -08: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
Sandeep Somavarapu 34652da5fa cli: more improvements (#176663)
- more logging
- reduce extensions scanning
2023-03-09 10:29:58 -08:00
Martin Aeschlimann f1d871dbf1 getMachineId should not use errors.onUnexpectedError (#176512) 2023-03-08 14:37:38 +01:00
Martin Aeschlimann 9f8f16c4b0 vscode-server crashes, if there is no network interface with a valid mac address present (#176367) 2023-03-07 14:38:10 +01:00
Sandeep Somavarapu e2458883ab fix #174061 (#176271) 2023-03-06 18:23:20 +01:00
Sandeep Somavarapu af53f2e00d fix #175673 (#175675) 2023-02-28 18:21:16 +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 b83565b135 Improve network requests logging (#175258) (#175325) 2023-02-24 15:58:31 +01:00
Tyler James Leonhardt ecf479e662 Ensuring locale is set to the OS locale and language is set to the Application Language (#174733)
Ref #164397
2023-02-18 01:55:46 +01:00
Tyler James Leonhardt d5277e8e2b Ensure language packs are installed on the server side (#174622) 2023-02-17 07:23:00 -08: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
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
Sandeep Somavarapu e282742d2b remove unused property (#174236) 2023-02-13 05:25:34 -08:00
Sandeep Somavarapu 817c203cac add extensions scanning perf ticks on server (#173561) 2023-02-06 14:42:23 +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
Johannes Rieken 86b34fdd9e CSP: allow blob as worker-src (#173142)
fixes https://github.com/microsoft/vscode/issues/173104
2023-02-02 03:08:12 -08:00
Sandeep Somavarapu 47604eeabd fix #172642 (#172667) 2023-01-30 07:44:43 +01:00
Connor Peet dec4735ed6 server: fix cpu loop on SIGPIPE (#170305)
- One missed uncaughtException site was causing a loop (maybe we want
  to handle this error on onUnexpectedError instead?)
- The SIGPIPE listener itself was causing a loop, as well. Only try to log once.
2023-01-17 19:25:58 +00:00
Sandeep Somavarapu 05d59b893e Log: Enhancements and cleaup (#171325)
- Make logger service primary source for log level
- Automatically register output channels for loggers from anywhere
- Use logger channels on remote processes (server, pty)
- clean up loggers and log service
2023-01-14 19:46:46 +01:00
Sandeep Somavarapu 73dbd244c2 set logger service in server 2023-01-12 11:26:46 +01:00
Daniel Imms 55af044b69 Move merged environment interfaces and serialize funcs to platform 2023-01-11 06:15:07 -08:00
Rob Lourens 5f1fec188f Fix remote servers that never had a connection not shutting down (#169450)
Fixes microsoft/vscode-remote-release#4390
2022-12-29 10:38:32 -08:00
Sandeep Somavarapu 5167c393aa proper fix for #165447 (#169883)
- use extensions location to get relative path
2022-12-23 10:47:34 +01:00
Sandeep Somavarapu e90f48f1a9 fix #169641 (#169823) 2022-12-22 13:22:45 +01:00
Daniel Imms e7f57b2ab7 Merge pull request #169592 from microsoft/tyriar/wsl_links
Support /mnt/ and \\wsl.localhost\ and \\wsl$\ style links on Windows frontends
2022-12-21 08:23:59 -08:00
Alex Dima 7d2960e3f4 Remove unnecessary listener 2022-12-21 16:38:57 +01:00
Alex Dima 029fcb70db Only measure latency for remote connections from the renderer side 2022-12-21 14:28:21 +01:00
Alex Dima 571ff4519c Add strongly typed events for latency related events 2022-12-21 13:19:04 +01:00
Alexandru Dima 0b610dc231 Merge branch 'main' into markzuber/highlatency 2022-12-20 22:22:53 +01:00
Daniel Imms 275d1163c2 Support /mnt/ wsl links in Windows backends
Part of #148062
2022-12-19 16:39:03 -08:00
Benjamin Pasero 3d58b4623b Allow to configure shell resolution time (#169237)
* Allow to configure shell resolution time

* use `clamp`
2022-12-15 06:14:54 -08:00
Sandeep Somavarapu dd93163b73 Fix #168560 (#168996) 2022-12-13 16:08:23 +01:00
Mark Zuber 2c3b355c8e Add high latency measurement instrumentation to the network protocol 2022-12-09 13:50:06 -08:00
Connor Peet 7e49103c7c remote: allow _ in ext host resolvedauthority (#168649)
Fixes https://github.com/microsoft/vscode-remote-release/issues/7661

This character was allowed in https://github.com/microsoft/vscode/pull/167635,
but the extension host side did a separate check that I didn't update.
2022-12-09 20:12:04 +01:00
Connor Peet 2348f22d01 server: allow underscores in connection token (#167635)
Underscores are URL and path safe. Allowing them lets connection tokens
be generated by standard base64 URL encoding without additional escaping
or replacements.

Fixes #167631
2022-11-29 22:09:06 +00:00
Sandeep Somavarapu d0e44be432 fix #167128 (#167197) 2022-11-24 14:22:10 -08:00
Johannes 2d6ad4be88 * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-18 09:41:43 +01:00
Sandeep Somavarapu 23b25e9d4d Fix #166147 (#166648)
- store default extensions manifest in extensions dir
- command to install an extension from location
- remember and init default profile extensions in cached scanner
2022-11-17 15:26:56 -08:00
Raymond Zhao 9feaed8f51 Revert "joh/representative canidae" (#166641) 2022-11-17 13:53:17 -08: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
Alex Dima 192c67db71 Always use app root for resource URIs (avoid usage of require) 2022-11-08 17:24:24 +01:00