Commit Graph

94 Commits

Author SHA1 Message Date
Daniel Imms
456841a93b Create createProcess ipc interface 2021-02-08 12:37:10 -08:00
Megan Rogge
dac8d916d5 fix #110936 2021-01-25 11:21:57 -08:00
Daniel Imms
f8ec60aa06 Add flow control setting, remove fake latency 2021-01-14 06:04:03 -08:00
Daniel Imms
0a19f7702a Rename ackId to charCount 2021-01-12 11:36:21 -08:00
Daniel Imms
bf52d50a0a Remove ackId from data events going to client 2021-01-12 11:27:51 -08:00
Daniel Imms
6430ee1efc Basic flow control for ext host processes
Part of #113827
2021-01-12 09:39:45 -08:00
Daniel Imms
16452c54f3 Merge pull request #113938 from microsoft/alex/terminal-exthost-improvements
Avoid timeouts in mirroring terminals to the extension host
2021-01-07 09:29:17 -08:00
Alexandru Dima
3d8888779d Fixes #112446: Avoid timeouts in mirroring terminals to the extension host by assigning a temporary UUID to terminals created on the extension host side 2021-01-07 00:13:42 +01:00
Konstantin Solomatov
3136ecb1d3 Do not ignore errors from $spawnExtHostProcess 2020-12-07 09:22:25 -08:00
Rob Lourens
89540b65db Don't persist debug terminals
#109084
2020-10-22 17:02:18 -07:00
Alex Dima
1892ef16f3 Add Remote Terminals Restoring
Co-authored-by: Rob Lourens <roblourens@gmail.com>
2020-10-20 21:31:58 +02:00
Daniel Imms
aa6b2f163d Initial terminal welcome support 2020-08-27 12:38:33 -07:00
Daniel Imms
f542cd1f76 Queue initial term data events for ext host delayed init
Fixes #103697
2020-08-13 11:00:40 -07:00
Daniel Imms
2b353aac93 Remove terminal link handlers
Fixes #91606
2020-08-10 14:19:55 -07:00
Daniel Imms
4c145dbb40 Expose Terminal.hideFromUser on all ext hosts
Fixes #103288
2020-07-27 12:11:10 -07:00
Daniel Imms
e8c3ff351b Log ext host terminal process requests 2020-07-24 06:46:25 -07:00
Daniel Imms
a560acd1bd Remove test link provider 2020-06-21 18:01:33 -07:00
Daniel Imms
cb5ddcf44f Resolve todos, move process creation after xterm
Having _processManager.createProcess called before _createXterm was causing
some event listeners like onProcessReady to fire before they were registered
within _createXterm.
2020-06-21 08:12:13 -07:00
Daniel Imms
395b228387 Merge remote-tracking branch 'origin/master' into tyriar/link_providers 2020-06-19 05:26:26 -07:00
Daniel Imms
a0558707ec Handle link on exthost 2020-06-18 05:15:04 -07:00
Alex Dima
39e3340d04 Push not-null assertion further down to usage 2020-06-18 13:18:47 +02:00
Daniel Imms
2dbf1703b8 Get link providers passing all the way through to the renderer 2020-06-17 12:10:03 -07:00
Daniel Imms
d8a2d483da Remove unneeded async 2020-06-12 11:15:55 -07:00
Daniel Imms
1dd4c04384 Fix launching in ext host/pty terminals 2020-06-12 11:05:45 -07:00
Daniel Imms
000f8392b3 Only persist collections marked to do so 2020-03-27 09:03:53 -07:00
Daniel Imms
d91532afa8 Load in persisted collections from past sessions on ext host 2020-03-27 07:44:56 -07:00
Daniel Imms
edc7100114 Apply multiple extension mutators, share code with ext host 2020-03-26 15:40:03 -07:00
Daniel Imms
a4cc3c1fcd Add tests for EnvironmentVariableCollection 2020-03-26 11:48:41 -07:00
Daniel Imms
ed9e7241b7 Move single ext collection updates across 2020-03-25 11:57:12 -07:00
Daniel Imms
b41b85d224 Start building out env var service 2020-03-25 07:26:11 -07:00
Daniel Imms
a087c17b59 Remove logs 2020-03-13 07:05:53 -07:00
Daniel Imms
b66d56602f Implement terminal link handler API
Part of #91606
2020-03-12 18:17:18 -07:00
Daniel Imms
5fad95f544 Change getDefaultShellAndArgs to use promises
Part of #75793
2020-02-05 12:03:45 -08:00
Daniel Imms
1aefcce704 Change requestAvailableShells to use promises
Part of #75793
2020-02-05 11:55:14 -08:00
Daniel Imms
027d7caec5 Flush all buffered data events on terminal close
Fixes #85257
2020-01-02 08:41:08 -08:00
Daniel Imms
e41c71b0d0 Merge branch 'master' into tyriar/63052 2019-11-05 10:32:42 -08:00
Daniel Imms
1d60909d1f Implement Terminal.creationOptions API
Fixes #63052
2019-11-05 10:30:43 -08:00
Daniel Imms
7215e5e9f5 Pass through undefined exit codes 2019-11-05 09:17:57 -08:00
Daniel Imms
2a0d3d0140 Support Terminal.exitStatus API
Fixes #62103
2019-11-05 09:09:39 -08:00
Benjamin Pasero
33cc09da7a Revert "Removing EXT_HOST_CREATION_DELAY hacks" (#83422)
This reverts commit 2b61a8817b.
2019-10-28 12:08:07 +01:00
Daniel Imms
2b61a8817b Removing EXT_HOST_CREATION_DELAY hacks
This one was a bit tricky to figure out what was going on, but this is how it
was working before: Terminals that use extension processes calls
$createTerminal from the ext host, this returns a promise with an ID that gets
returned asynchronously after the process has been setup (ie. an ext host process
proxy was created).

The reason we needed the timeout was because the process initialization is async
as we need a layout to occur so that we have the dimensions of the terminal to
give to the process. The fix could have been setTimeout(..., 0) as well but that
feels hacky as well, the fix in this commit is to pipe an event through from
the process manager which is the actual time when we are good to start telling
ext hosts are the new terminals.

Fixes #77655
2019-10-25 12:57:30 -07:00
Eric Amodio
618b9aa022 Reduces terminal buffering test wait to 0
Removes unneeded suite
2019-10-23 18:28:16 -04:00
Eric Amodio
1ab47af535 Fixes #48513 - updated from review comments 2019-10-23 18:28:16 -04:00
Eric Amodio
e887486e4d Fixes #48513 - buffers terminal onData events 2019-10-23 18:28:16 -04:00
Daniel Imms
4bd485513c Merge remote-tracking branch 'origin/master' into tyriar/79425 2019-09-12 21:19:59 -07:00
Daniel Imms
c3e7a4a1ec Move a lot of terminal into browser
Fixes #79425
2019-09-12 20:36:08 -07:00
Daniel Imms
678abfe8b2 Remove Terminal.onDidWriteData
Replaced by vscode.window.onDidWriteTerminalData

Fixes #78574
2019-09-12 19:09:12 -07:00
Daniel Imms
37e0b8e229 Add terminal.integrated.automationShell
Fixes #78497
2019-08-09 09:40:38 -07:00
Daniel Imms
d2ee9a16a5 Merge remote-tracking branch 'origin/master' into tyriar/69865_remove_renderers 2019-08-06 10:30:56 -07:00
Daniel Imms
ac80d49e15 Ensure all Emitters in terminal are disposed
Fixes #78498
2019-08-06 10:20:19 -07:00