Commit Graph

130 Commits

Author SHA1 Message Date
Daniel Imms
e537c47c63 Fix double extension terminal profile creation
Fixes #125183
2021-06-02 05:38:45 -07:00
Daniel Imms
9b609ab1e1 Clean up profile provider api 2021-05-27 15:27:38 -07:00
Daniel Imms
14a013e7f3 Support contributed profiles in dropdown 2021-05-27 12:27:57 -07:00
Daniel Imms
5eddbd9d20 Properly support splitting ext profiles 2021-05-26 11:48:32 -07:00
Daniel Imms
08cf3df745 Pass object instead of unwrapped args for term create 2021-05-26 11:40:21 -07:00
Daniel Imms
bf5f7dd5ec Get split terminals working 2021-05-26 11:34:11 -07:00
Daniel Imms
3ff91e7621 Merge remote-tracking branch 'origin/main' into tyriar/profile_api 2021-05-26 11:09:35 -07:00
Daniel Imms
e29194ad0d Activation event, register api 2021-05-26 07:41:16 -07:00
rebornix
473cfe28bf Revert "Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main""
This reverts commit 7c01395da1.
2021-05-25 17:49:34 -07:00
Harald Kirschner
7c01395da1 Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main"
This reverts commit 7a976501eb, reversing
changes made to 2257676834.
2021-05-25 17:19:40 -07:00
Daniel Imms
18b30e5b49 Fix default shell args for debugging
Fixes #124116

Co-Authored-By: Megan Rogge <meganrogge@microsoft.com>
2021-05-25 10:37:38 -07:00
Daniel Imms
43b7187c3d Force inheritEnv in ext debug terminals
Fixes #124041
2021-05-25 04:55:02 -07:00
Megan Rogge
6f2381e33d Terminal tab icon API (#124004) 2021-05-20 18:17:33 +00:00
Megan Rogge
baccddcd45 Use Windows mode if build # is <= 19041 (#123725) 2021-05-14 18:55:13 +00:00
Daniel Imms
5d95c01ec1 Remove getDefaultShellAndArgs from tasks
Fixes #123732
2021-05-13 06:36:08 -07:00
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
6c476279f1 Resolve variables on renderer 2021-05-12 06:47:55 -07:00
Daniel Imms
84abba8754 Clean up 2021-05-12 05:37:21 -07:00
Daniel Imms
8e5b3b5aff Merge branch 'main' into hbibkrim/114898_terminal_name_change_event 2021-05-04 08:39:30 -07:00
Daniel Imms
c2f8abb4d2 Remove onRequestDefaultShellAndArgs 2021-05-03 23:01:16 -07:00
Daniel Imms
3ae9ec0051 Adopt requireTrust in terminal 2021-04-16 05:29:28 -07:00
Daniel Imms
f8810116c6 Add terminal icon ext api
Part of #120538
2021-04-05 02:42:39 -07:00
meganrogge
c61393b0c1 void -> Promise<void> 2021-04-02 15:24:43 -07:00
meganrogge
962e1afa63 🧹and store isBinary in writeBuffer 2021-04-01 16:13:52 -07:00
Daniel Imms
c8ccd07d0f Add initialText proposed API
Part of #120368
2021-04-01 12:27:13 -07:00
Daniel Imms
6751472731 Merge remote-tracking branch 'origin/main' into pr/habibkarim/115276 2021-04-01 07:18:36 -07:00
Megan Rogge
d5cf4ac0eb Fix terminal mouse reporting via binary events (#120145)
* fix #96058
2021-03-31 15:57:49 -07:00
Megan Rogge
4ccad80121 fix #119322 (#120143) 2021-03-30 09:39:10 -07:00
Daniel Imms
02d3809824 Allow undefined in terminal env map, unify interfaces
Note that this adds undefined as an option to TerminalOptions.env which could end up
causing compile errors, but they will be more correct and could reveal a bug in an
extension since some key could return undefined.

Fixes #119046
2021-03-26 14:40:12 -07:00
Daniel Imms
d02a4aacba Remove quick launch terminology from code
Fixes #119815
2021-03-26 09:56:20 -07:00
meganrogge
1b52d82871 Revert "fix profile tests, path -> pathOrPaths, and exception"
This reverts commit e9e112a648.
2021-03-18 18:11:39 -07:00
meganrogge
e9e112a648 fix profile tests, path -> pathOrPaths, and exception 2021-03-18 17:36:26 -07: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
Megan Rogge
3e345101df update shellType when it changes for local windows terminals (#117998)
Co-authored-by: Daniel Imms <daimms@microsoft.com>
2021-03-05 16:04:19 -08:00
meganrogge
ba117e60c2 fix #118043 2021-03-03 16:49:38 -08: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
edadf1c719 Implement shouldPersist for all terminals processes
shouldPersist was not being set on RemoteTerminalProcess, causing reconnect
to fail for all remote terminals. The fix was to push the persistent logic
up to where the process gets created in TerminalProcessManager just like is
done with local processes. The property was made non-optional to prevent
this sort of thing happening again.

Part of #117896
2021-03-01 07:46:49 -08:00
Daniel Imms
df5d7c257d Remove exthost terminal processes
Fixes #116864
2021-02-26 04:35:03 -08:00
Daniel Imms
ffae9a4baf Encode pty host id into terminal id
Fixes #116948
2021-02-22 14:36:17 -08:00
Megan Rogge
e3dc574a51 move terminalDataBuffering from workbench to common 2021-02-18 10:55:44 -08:00
Megan Rogge
31e27a8d3c add trigger replay 2021-02-17 11:20:05 -08:00
Megan Rogge
68a47518f8 move things back to platform and delete duplicate code 2021-02-11 12:19:25 -08:00
Megan Rogge
a35338b250 move things back to the workbench and leave only necessary items in platform 2021-02-11 11:02:03 -08:00
Megan Rogge
da39b7af3e create PersistentTerminalProcess and move terminal and environmentVariable files from workbench -> platform 2021-02-10 15:26:05 -08:00
Daniel Imms
6132a763bc Get one way communication happening 2021-02-09 04:07:38 -08:00
Johannes Rieken
3d2ca29012 hide terminal proxy 2021-02-01 12:01:56 +01:00
Habib Karim
3db5cd54e1 Implement Pseudoterminal.onDidChangeName 2021-02-01 00:45:19 +00:00
Habib Karim
28a74470d7 Implement onDidChangeTerminalName #114898 2021-01-27 23:57:27 +00:00
Megan Rogge
88fd9d9d17 fix #107239, set terminal dimensions 2021-01-25 09:56:55 -08:00
Daniel Imms
22c88cfaae Batch ack events coming from client 2021-01-12 12:29:12 -08:00