Commit Graph

197 Commits

Author SHA1 Message Date
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
Daniel Imms
8763d8411f Fix Terminal.processId when setProcessId has not yet been called
Part of #12770
2016-09-28 19:10:34 -07:00
Daniel Imms
7236f593e7 Implement vscode.Terminal.processId
Fixes #11919
2016-09-19 14:32:41 -07:00
Daniel Imms
e3831ee39c Implement window.onDidCloseTerminal extension API
Fixes #10925
2016-09-15 12:03:40 -07:00
Daniel Imms
5a5a9f7a40 Reintroduce terminal API request queue system
Fixes #11990
2016-09-13 21:03:47 -07:00
Pine Wu
9da873d64f Address PR comments 2016-09-13 14:22:12 -07:00
Pine Wu
2966990272 Add shellArgs. Fix #10917 2016-09-13 14:08:22 -07:00
Daniel Imms
a020b8595b Merge remote-tracking branch 'origin/master' into tyriar/11275_terminal_refactor 2016-09-10 12:01:59 -07:00
Daniel Imms
9981aefa8a WIP refactor of integrated terminal part 2016-09-09 19:01:34 -07:00
Pine Wu
f85725fd97 Add shellPath to allow user specify preferred shell. Fix #10917 2016-09-08 14:12:57 -07:00
Daniel Imms
7bd499af9b Revert "Use a config interface for terminal creation in API"
We're sticking with simple for now, an overload can be used if a config object
is necessary later.

This reverts commit 873b3d0b38.
2016-09-01 14:00:10 -07:00
Daniel Imms
873b3d0b38 Use a config interface for terminal creation in API
Fixes #11332
2016-08-31 11:07:57 -07:00
Daniel Imms
ffbc81c3cf Allow terminal API requests to be queued and exec once initialized
Fixes #10918
2016-08-29 13:54:11 -07:00
Daniel Imms
b11a786111 Use getter for terminal API name property
Fixes #10999
2016-08-26 11:23:02 -07:00
Daniel Imms
65888050c3 Many terminal API changes 2016-08-19 12:26:11 -07:00
Daniel Imms
2fb2d9a5dd Revert "Remove name from terminal API since it's static"
This reverts commit 2c95aed6eb.
2016-08-18 14:11:47 -07:00
Daniel Imms
d3dd3c6083 Add param and return type to sendText 2016-08-18 13:42:21 -07:00
Daniel Imms
2c95aed6eb Remove name from terminal API since it's static 2016-08-18 11:00:10 -07:00
Daniel Imms
ff87ab3251 Implement dispose and hide 2016-08-17 14:34:19 -07:00
Daniel Imms
cce4650a6b sendText terminal API progress 2016-08-16 14:17:47 -07:00
Daniel Imms
0d90238759 Pass terminal ID through when creating terminal instance 2016-08-16 08:32:28 -07:00
Daniel Imms
ab96b1918d Progress on Terminal.show API 2016-08-16 08:14:58 -07:00
Daniel Imms
d464fdc609 Starting API 2016-08-15 20:32:52 -07:00