Commit Graph

322 Commits

Author SHA1 Message Date
Daniel Imms
2b372e72bc Fix processId API for both renderer and process terms 2018-06-16 20:08:12 +02:00
Daniel Imms
38f8d23481 Refactor ext host to share code 2018-06-16 19:48:04 +02:00
Daniel Imms
71933350bf Clean up 2018-06-16 19:28:39 +02:00
Daniel Imms
2a99753490 Rename onData to onInput 2018-06-16 18:18:10 +02:00
Daniel Imms
166f41a2c0 Add support for dimensions APIs 2018-06-16 18:12:12 +02:00
Daniel Imms
3465f18409 Get terminal renderers working with name, onData 2018-06-14 16:11:04 +02:00
Daniel Imms
01c3eb72cb Register onData listener 2018-06-02 16:56:14 -07:00
Daniel Imms
6e507e86d7 Refactor common items into BaseExtHostTerminal 2018-06-02 16:53:14 -07:00
Daniel Imms
275135a7e0 Prefer const 2018-06-02 16:41:45 -07:00
Daniel Imms
20f9bf129a Implement start of terminal renderers
Part of #46192
2018-06-02 16:35:49 -07:00
Daniel Imms
3a24b12179 Add Terminal.onData API
Part of #46192
2018-04-20 11:24:29 -07:00
Daniel Imms
b7985f4157 Polish exit, fix input 2018-04-18 14:02:41 -07:00
Daniel Imms
2a822c7c1d Improve handling of process exit 2018-04-18 12:56:39 -07:00
Daniel Imms
35ae86231a Fix NPE 2018-04-18 11:47:01 -07:00
Daniel Imms
6b06e54bba Improve naming 2018-04-18 11:34:35 -07:00
Daniel Imms
634eb8ae1a Remove debug logging 2018-04-18 10:58:37 -07:00
Daniel Imms
811b7441b3 Clean up process creation and check connected before sending 2018-04-18 10:52:31 -07:00
Daniel Imms
414e19a550 Simplify terminal process paths 2018-04-18 08:01:21 -07:00
Daniel Imms
7f043c268e Pass terminal shell launch config through 2018-04-18 07:48:07 -07:00
Daniel Imms
c8d58f428e Pass through shutdown and resize 2018-04-17 15:43:41 -07:00
Daniel Imms
a0e99bcb4a Clean up 2018-04-17 15:30:31 -07:00
Daniel Imms
70b22b8c05 Get terminal process running on ext host 2018-04-17 15:26:09 -07:00
Daniel Imms
948897cd13 Start of allowing terminal process to live on extension host 2018-04-16 14:33:36 -07:00
Daniel Imms
4f626cf21c Remove obsolete TODOs 2018-04-11 10:23:29 -07:00
Daniel Imms
27cd6f537e Allow processId and name access on disposed API Terminals 2018-04-11 10:21:32 -07:00
Daniel Imms
e1b6a8c11f Fix terminals showing up twice in new API 2018-04-09 11:41:05 -07:00
Daniel Imms
b1435c13f6 Add terminals 2018-04-09 10:28:38 -07:00
Daniel Imms
5d9d2d127f Work in progress for exposing all terminals via API 2018-04-09 07:38:08 -07:00
Matt Bierner
ab1669f898 Revert "Revert "Avoid using import x = require('...')""
This reverts commit 27256832f3 which turns out did not break the import of vs/nls
2018-03-15 10:17:18 -07:00
Matt Bierner
27256832f3 Revert "Avoid using import x = require('...')"
This reverts commit 7de696a202.

Seems to have broken loading vs/nls in at least one case in insiders
2018-03-15 00:47:33 -07:00
Matt Bierner
7de696a202 Avoid using import x = require('...')
Don't use this import form in places where it is not needed. This prevents us from correctly detecting duplicate imports
2018-03-14 14:45:59 -07:00
Matt Bierner
81767beaca Make Event a named export
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07:00
Matt Bierner
f94cea3742 Mark private emitters as readonly 2018-03-14 13:57:38 -07:00
Daniel Imms
3560676d3c Merge pull request #38132 from cleidigh/terminal-api-cwd/add
Add cwd to createTerminal via TerminalOptions for extension API  Addresses: #37709
2017-12-15 09:44:26 -08:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Johannes Rieken
42cd98df93 eng - less WinJS-promise construction 2017-12-12 15:27:44 +01:00
cleidigh
adb68e27f4 Add cwd to TerminalOptions for extension API 2017-11-11 16:31:03 -05:00
Daniel Imms
7624d001e5 Add a null check in
Fixes #37501
2017-11-02 11:04:11 -07:00
Ramya Achutha Rao
8a67041ed9 Pass env via extension api when creating terminal 2017-10-12 11:54:16 -07:00
Alex Dima
20a45eef3a Add a mechanism to be a customer of the extension host (share lifecycle) and begin reducing usage of IThreadService 2017-08-15 18:26:51 +02:00
Daniel Imms
5a88191a37 Remove Terminal.onData proposed API
This was to be used by tasks as an extenion which ended up
not happening.
2017-07-13 08:43:39 -07:00
Daniel Imms
804562ed46 Initial terminal API onData impl
Part of #23177
2017-03-24 14:09:48 -07:00
Matt Bierner
2a40036dbb Adding explicit returns for remaining instances 2017-02-01 18:36:55 -08:00
Daniel Imms
90a52e87bc Remove waitOnExit option from Terminal API
This may turn into an enum or change behavior soon pending on the result of
task-terminal integration. Removing from the API until more thought has been
put into it.

Part of #15583
Part of #18661
2017-01-23 10:25:16 -08:00
Daniel Imms
6bf0cde91e Add createTerminal with options API with new option waitOnExit
Fixes #15583
2017-01-09 10:56:46 -08:00
Daniel Imms
2f182c08a7 Prefix setProcessId with an underscore
Fixes #12434
2016-10-26 18:54:22 -07:00
Daniel Imms
86028830c7 Clear terminal queued requests once they're actioned 2016-10-22 04:34:07 -07:00
Daniel Imms
611ed75a9b Remove wait loop in extHostTerminalService
Fixes #12434
2016-10-22 04:30:45 -07:00
Johannes Rieken
dc7402b978 make vscode.d.ts use a declare module, #13990
* a declared module allows to have a sibling module containing experimental API
* this change also cleans up some bogous type pollution that happened because vscode used to be both, a declare module and a global namespace
2016-10-19 11:43:56 +02:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00