Commit Graph

3168 Commits

Author SHA1 Message Date
Daniel Imms
6d70e727d0 Set default profile in exthost from renderer
Fixes #121760
Related microsoft/vscode-python#16175
2021-05-12 17:14:18 -07:00
Daniel Imms
2e2dc15945 Get profiles detecting on pty host (local) 2021-05-12 11:31:22 -07:00
Daniel Imms
84abba8754 Clean up 2021-05-12 05:37:21 -07:00
Raymond Zhao
a0ce27feda Update spdlog, use lazy initialization in extension host (#123033)
* Update spdlog, affects #121513

* Upgrade spdlog, use lazy initialization

* Bump remote spdlog version

* Update dependency again

* Upgrade for lodash vuln

* make sure the appender exists

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2021-05-11 06:33:01 -07:00
Alex Ross
f41b6e6d81 Add active editor to editor tabs and use in variable resolver (#123450) 2021-05-11 01:47:28 -07:00
Raymond Zhao
ad576d73db Revert "Update spdlog, affects #121513"
This reverts commit 2d2de1920b.
2021-05-05 14:12:04 -07:00
Raymond Zhao
2d2de1920b Update spdlog, affects #121513 2021-05-05 13:49:25 -07:00
Daniel Imms
4fde14b9ef Use pascal case for term enums 2021-05-04 05:40:33 -07:00
Daniel Imms
c2f8abb4d2 Remove onRequestDefaultShellAndArgs 2021-05-03 23:01:16 -07:00
Megan Rogge
de4e9067e8 externalTerminal renderer -> main process (#122871) 2021-05-04 02:18:34 +00:00
Daniel Imms
31cda6eb85 Update all usages of full setting to use const
Fixes #122034
2021-05-03 12:03:09 -07:00
meganrogge
e7c0af1137 Revert "Revert "Merge pull request #122540 from microsoft/tyriar/122104""
This reverts commit 28a1bc2f35.
2021-04-29 12:05:29 -07:00
Matt Bierner
28a1bc2f35 Revert "Merge pull request #122540 from microsoft/tyriar/122104"
This reverts commit 06694a8e57, reversing
changes made to 36fe84236d.
2021-04-28 18:11:32 -07:00
Alex Ross
82399e71c2 Even more port forwarding logging 2021-04-28 19:14:24 +02:00
Alex Ross
1bd250ca51 Set tunnel factory earlier (#122557)
* Set tunnel factory earlier

* Don't await in setTunnelExtensionFunctions
2021-04-28 18:43:13 +02:00
Daniel Imms
10a5077e0b Bring back workspace shells via setting
Fixes #122104
2021-04-28 06:23:30 -07:00
Daniel Imms
eaf3a5dcda Move off deprecated resolve function
Fixes #120328
2021-04-22 03:10:21 -07:00
Matt Bierner
731402dce2 async override -> override async 2021-04-21 13:40:44 -07:00
Daniel Imms
328937e7b6 Use OperatingSystem over Platform in terminal
This prevents the invalid 'web' from possibly being used
2021-04-16 07:00:13 -07:00
Daniel Imms
3ae9ec0051 Adopt requireTrust in terminal 2021-04-16 05:29:28 -07:00
Alex Ross
5ef190e98a Fix port log line and add regex check 2021-04-16 11:25:18 +02:00
Martin Aeschlimann
c826e9aabd Explicit remote CLI commands (#121212) 2021-04-13 19:49:13 +02:00
Matt Bierner
e1f0f8f513 Add override keyword in codebase (#120755)
For #120675

This uses a script to add the override keyword to places that need it in the codebase

Note that we can't enable the --noImplicitOverride setting yet since there are still around 200 errors that require further attention
2021-04-08 10:05:20 -07:00
Daniel Imms
264ca56fe1 Rename initialText to message
Part of #120368
2021-04-07 09:20:18 -07:00
Alex Ross
b1523b435b Update port attributes api to not use array
Par of #115616
2021-04-07 12:12:34 +02:00
Daniel Imms
f8810116c6 Add terminal icon ext api
Part of #120538
2021-04-05 02:42:39 -07:00
Daniel Imms
75b9018255 Validate /etc/shells and findExecutable in unix tests 2021-04-02 05:49:53 -07:00
Daniel Imms
c8ccd07d0f Add initialText proposed API
Part of #120368
2021-04-01 12:27:13 -07:00
Alex Ross
d05d8ca4c2 Adopt async configuration resolver in Tasks
Part of #108804
2021-04-01 11:00:32 +02:00
Alex Ross
dddbfa6165 Remove process.env from tasks
Part of #108804
2021-03-30 16:55:27 +02:00
Daniel Imms
d02a4aacba Remove quick launch terminology from code
Fixes #119815
2021-03-26 09:56:20 -07:00
Martin Aeschlimann
1eb987f85f LocalizationService.update no longer needed. Fixes https://github.com/microsoft/vssaas-planning/issues/3290 2021-03-26 12:14:52 +01:00
meganrogge
ddb7709cbf Fix #119700 fix #119731 fix #119701
Co-authored-by: Daniel Imms <daimms@microsoft.com>
2021-03-24 11:02:05 -07:00
Alex Ross
2d9069014e Add a placeholder for already forwarded root ports (#119792)
when possible
Fixes microsoft/vscode-remote-release#4749
2021-03-24 14:57:12 +01:00
Alex Ross
1b7470b25d Try to find ports with a root process (#119341)
Improves microsoft/vscode-remote-release#4654
2021-03-19 17:59:08 +01:00
Megan Rogge
e8e6d64105 Terminal profiles (#118790)
* get basics working in current dropdown

* filter profiles based on what we want in the dropdown and other info

* add copywright

* terminal.ts -> terminalProfile.ts

* seperate linux distro code

* improve terminalConfig setting description

* add passing tests and fix #79572

* add test for login args

* add wsl stuff

* fix #77652

* lengthen throttle time to 10s

* shell -> process and fire update profiles so dropdown is updated

* consolidate code in terminalProfile

* change profile selection logic

* change profile config structure

* use <ProfileName, IterminalProfileObject> and get wsl distro names to look normal

* provide terminalConfig to terminalProfiles

* move detection/validation to terminalProfiles

* isWorkspaceShellAllowed

* add quickPickOnly so Select Default Profiles returns all and otherwise filters based on config

* Add logs for errors within terminalProfiles

* change return type

* use sync

* fix bug, get custom generated to work

* workspace shell permissions

* add some comments and clean up

* when ext host ready update profiles

* improve terminalProfileObjectEqual check

* don't use windows powershell unless no other powershell
2021-03-16 17:02:59 -07:00
Andre Weinand
21d20148ee new debug setting for clearing a terminal before reusing; fixes #116699 2021-03-16 13:09:26 +01:00
Benjamin Pasero
1441ba91f0 environment - consistently handle VSCODE_CWD in all our node.js processes 2021-03-15 11:22:42 +01:00
Johannes Rieken
edf387a2e8 run filename through realpath because it seems nodejs isn't always doing that, https://github.com/microsoft/vscode/issues/118812 2021-03-12 14:17:19 +01:00
Alex Ross
da562fa27c Add regular expressions and "others" to portsAttributes
Fixes microsoft/vscode-remote-release#4623
2021-03-10 14:14:00 +01:00
Tyler James Leonhardt
27975dad4f move to IProcessEnvService where appropriate in default shell logic (#118271)
* move to IProcessEnvService where appropriate

* change distro
2021-03-08 19:46:34 -08:00
Alex Ross
06044789bf API proposal for PortAttributesProvider (#118446)
Part of #115616
2021-03-08 15:45:32 +01:00
Jackson Kearl
2ba67b7b07 Allow ripgrep search provider to work for files backed by file scheme, but not file scheme themselves (vscode-userdata) (#118069)
* Allow ripgrep search provider to work for files backed by file scheme, but not file scheme themselves (vscode-userdata)
Fixes #115434

* Only execute new code path for userData scheme

* Differentiate output channels
2021-03-03 21:13:58 -08:00
Alex Ross
f80f0d7074 More forwarded ports trace logging 2021-03-03 15:40:43 +01:00
Megan Rogge
cf3faa4046 Don't relaunch extension owned terminals (#117987)
Co-authored-by: Daniel Imms <daimms@microsoft.com>
2021-03-02 13:55:38 -08:00
Daniel Imms
df5d7c257d Remove exthost terminal processes
Fixes #116864
2021-02-26 04:35:03 -08:00
Megan Rogge
6d0ce95af4 fix #116713 2021-02-24 17:23:19 -08:00
Megan Rogge
7130344e98 Merge branch 'main' into tyriar_megan_reconnect 2021-02-18 11:22:23 -08:00
Daniel Imms
666351b321 Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-18 04:35:54 -08:00
Alex Ross
7a0caf4d86 Let Remote extensions set port source (#116838) 2021-02-17 10:33:46 +01:00