Commit Graph

322 Commits

Author SHA1 Message Date
Daniel Imms
6bb5e193f9 start -> open, exit -> close, remove exit code 2019-07-26 15:30:36 -07:00
Daniel Imms
9b60caf9e0 Improve naming of start/spawn request calls 2019-07-25 16:09:03 -07:00
Daniel Imms
3866deba35 Use pty naming instead of virtual process
Part of #77160
2019-07-25 16:00:41 -07:00
Logan Ramos
68c125c344 Resolve CWD 2019-07-25 15:42:52 -07:00
Daniel Imms
0927be89c8 Tweak names, make shellLaunchConfig readonly again 2019-07-24 14:29:24 -07:00
Daniel Imms
87a474c36a Merge remote-tracking branch 'origin/master' into pr/lramos15/77664 2019-07-24 14:11:29 -07:00
Logan Ramos
4008ea909e Merge remote-tracking branch 'microsoft/master' into shell-path-error-remote 2019-07-24 11:22:02 -07:00
Daniel Imms
9d43802fd4 Create CustomExecution2 test, make start fire after onDidOpenTerminal
Part of #70978
2019-07-23 17:35:11 -07:00
Logan Ramos
170beba5db Move resolve shell launch config above fork the process 2019-07-22 07:33:49 -07:00
Daniel Imms
ce28d57e21 Use async 2019-07-19 12:23:50 -07:00
Logan Ramos
d826dfd943 Allow remote error messages to work 2019-07-19 11:19:00 -07:00
Daniel Imms
48e7c6d927 Fix start cb in CustomExecution2
Fixes #77428
2019-07-16 15:10:17 -07:00
Logan Ramos
0a8ca638f1 Resolve Terminal arguments (#76895)
* Resolved terminal argds

* Move location of resolution

* Fix routing of resolver in extHost

* Remove unnecessary comma

* Compilation errors

* some async stuff

* Undo changes

* Variable resolver in constructor

* Load resolver upon construction of extHostTerminalService

* Utilize last active workspace root

* Reevaluate variableReoslver whenever the workspace gets new folder

* Fix types for string shellArgs

* Use async one level higher

* Fix compile issue

* Initialize resolver when exthost is created

* Fix ext host in remote case with no folder open

* Resolve args that an ecxctension passes in

* Remove TODO

* Resolve extension arguments
2019-07-16 09:23:38 -07:00
Matt Bierner
7411e3f341 Convert many simple getters for events into readonly properties
We seem to use the readonly property way of exposing these values more widely. Standardizing this a bit across the codebase
2019-07-15 16:12:25 -07:00
Daniel Imms
3092a1023c Remember dimensions from other terminals
Part of #77228
2019-07-11 21:18:06 -07:00
Daniel Imms
5701770f87 Ensure negative exit codes are not used
Fixes #77250
2019-07-11 15:47:15 -07:00
Alex Ross
e84fc7021b Adopt TerminalVirtualProcess for Custom task execution (#76852)
* Adopt TerminalVirtualProcess for Custom task execution

* Update Custom task execution API to return TerminalVirtualProcess in callback

This also required the addtion of a start on the virtual terminal process

* Clarify start API

Fixes #76492
2019-07-10 09:31:40 +02:00
Daniel Imms
8ec3a1b39e Rename input to handleInput
Part of #70978
2019-07-08 12:32:27 -07:00
Alex Ross
8aed46f950 Revert unneeded export 2019-07-05 18:01:08 +02:00
Alex Ross
6f40ddeee2 Revert whitespace change 2019-07-05 17:59:05 +02:00
Alex Ross
65f53d53b1 Changes to terminal to enable Tasks use of TerminalVirtualProcess 2019-07-05 17:57:03 +02:00
Daniel Imms
ed54d9a483 Allow tasks to attach virtual process to a terminal created on renderer 2019-07-05 08:03:39 -07:00
Daniel Imms
27667093b4 Fix virtual process input api 2019-07-03 09:27:17 -07:00
Daniel Imms
2b7e92eeca Update virtual process API names
Part of #70978
2019-07-03 09:21:10 -07:00
Daniel Imms
9d01ac8949 Fix virtual process resize and debounce event 2019-07-02 17:40:25 -07:00
Daniel Imms
d5043415f3 Remove resolved todos 2019-07-02 11:25:34 -07:00
Daniel Imms
0054980481 Pass args via object 2019-07-02 11:20:59 -07:00
Daniel Imms
51aab4d1eb Impl overrideDimensions 2019-07-02 10:26:59 -07:00
Daniel Imms
c35b88a7a2 Add queue system 2019-07-01 16:33:10 -07:00
Daniel Imms
29303c819d Get input working 2019-07-01 16:14:13 -07:00
Daniel Imms
6f1d0fc7ec Get virtual processes mostly working 2019-07-01 15:58:29 -07:00
Daniel Imms
2205cb69ed Start of terminal virtual processes 2019-07-01 12:27:23 -07:00
Daniel Imms
82db101613 Fix CLI in remote when inheritEnv is false
Fixes microsoft/vscode-remote-release#823
2019-06-26 16:33:32 -07:00
Daniel Imms
ce414a8c45 Implement terminal inheritEnv on remote
Fixes microsoft/vscode-remote-release#823
2019-06-26 16:23:02 -07:00
Daniel Imms
3ce04754ad Rename runInBackground to hideFromUser
See #75278
2019-06-25 10:53:30 -07:00
Daniel Imms
1083123758 Disable conpty in terminal when accessibility mode is on
Fixes #76043
2019-06-24 16:51:11 -07:00
Daniel Imms
62037fb7bc Fire onDidChangeMaximumDimension when dimensions are set
Fixes #73496
2019-06-20 10:03:21 -07:00
Daniel Imms
7c127de60c Remove mergeDefaultShellAndArgs 2019-06-19 15:42:15 -07:00
Daniel Imms
994bfe2d6a Remove getDefaultShell 2019-06-19 15:31:44 -07:00
Daniel Imms
0aab08edf2 Add getDefaultShellAndArgs
Also differentiate default from system shell
2019-06-19 15:25:44 -07:00
Daniel Imms
87e16500d2 Call getDefaultShell via ext host on web
Part of #75795
2019-06-19 12:57:26 -07:00
Daniel Imms
331da82ad5 Enable shell selector outside Windows
Fixes #75718
2019-06-18 11:28:36 -07:00
Daniel Imms
d0820c2e06 Disable old shell detection mechanism 2019-06-17 11:55:43 -07:00
Daniel Imms
c287c3cfc7 Get default shell selector working 2019-06-17 11:53:58 -07:00
Daniel Imms
7dfbccb8e2 Disable conpty on remote 2019-06-17 10:48:03 -07:00
Daniel Imms
a7412fbb2b Pass cwd through to main 2019-06-17 09:32:07 -07:00
Daniel Imms
97dfc68f39 Merge remote-tracking branch 'origin/master' into alexr00/terminalExitRace 2019-06-14 12:14:40 -07:00
Daniel Imms
10d4256ff5 Remove process usage from terminalEnvironment
Fixes #75509
2019-06-14 11:33:37 -07:00
Daniel Imms
976320ddd2 Pass workspace shell permissions to ext host 2019-06-13 15:41:00 -07:00
Daniel Imms
83ba7099ff Default shell API
Part of #75091
2019-06-13 15:13:31 -07:00