Commit Graph

118 Commits

Author SHA1 Message Date
Gabriel DeBacker
9bbf3f25d5 Make sure that task definition is not changed in resolved task 2019-07-30 08:20:29 -07:00
Gabriel DeBacker
506d55d171 Merge remote-tracking branch 'upstream/master' 2019-07-30 08:06:23 -07:00
Daniel Imms
3866deba35 Use pty naming instead of virtual process
Part of #77160
2019-07-25 16:00:41 -07:00
Daniel Imms
9d43802fd4 Create CustomExecution2 test, make start fire after onDidOpenTerminal
Part of #70978
2019-07-23 17:35:11 -07:00
Gabriel DeBacker
793fc0295c Use correct resolved TDO and task for custom execution 2019-07-22 06:58:16 -07:00
Daniel Imms
48e7c6d927 Fix start cb in CustomExecution2
Fixes #77428
2019-07-16 15:10:17 -07:00
Matt Bierner
4eb2bf393b Use DisposableStore 2019-07-15 15:03:54 -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
Joel Day
b6089b1db5 Adding support for TaskProvider.resolveTask (#71027)
* Adding support for TaskProvider.resolveTask.

* Reorganize task grouping and resolution async code for readability.

* Made small changes and implmented resolveTask for gulp
2019-07-03 15:47:37 +02:00
Alex Ross
f3086a6e11 Remove sync fs use in tasks
Fixes #70577
2019-06-05 17:10:13 +02:00
Johannes Rieken
c0821aa5e9 move extHost-files to common 2019-04-10 10:26:52 +02:00
Alex Ross
1bc278f36d Fix reruning of Custom Execution tasks
Fixes #71232
2019-03-27 09:59:07 +01:00
Johannes Rieken
c92ce4014f move extHost.protocol to common, #70319 2019-03-19 15:46:01 +01:00
Alex Ross
8f16a02e66 Move remote agent environment out of node (#70568) 2019-03-15 17:00:57 +01:00
Alex Ross
de771267b8 Strict null check mainThreadTask.ts
Fixes #70510
2019-03-15 09:19:44 +00:00
Alex Ross
d0e0aa2ddd Strict null check extHostTask.ts
extHostTask.ts remains commented out in tsconfig.strictNullChecks.json since it still depends on unchecked files

Fixes #70414
2019-03-14 15:50:45 +00:00
Gabriel DeBacker
6d665482c8 Put back more of the terminal changes 2019-03-06 14:03:16 -08:00
Gabriel DeBacker
d5e4009ae9 Remove need for acquiring dimensions for terminal from main thread 2019-03-06 11:47:57 -08:00
Gabriel DeBacker
8b1b0763a3 Merge with master 2019-03-06 07:44:35 -08:00
Matt Bierner
52556f9742 Auto converting let -> const where possible in mainthread and extHost
Const provides better type guards and can make logic clearer
2019-03-05 16:53:41 -08:00
Gabriel DeBacker
ca923da1d4 Merge remote-tracking branch 'upstream/master' into user/gabrield/extensionCallbackAsTask 2019-02-27 10:17:22 -08:00
Sandeep Somavarapu
564b7120ab clean up 2019-02-21 11:34:03 +01:00
Gabriel DeBacker
d728d3dca8 Merge with master 2019-02-20 09:59:44 -08:00
Alex Dima
3199f1fd3b Introduce and adopt IExtHostWorkspaceProvider 2019-02-20 17:11:51 +01:00
Matt Bierner
7e759cf3c8 Annotate more usage before assign strict null errors 2019-02-19 16:29:01 -08:00
Gabriel DeBacker
5d1720321d Code review updates 2019-02-19 14:33:25 -08:00
Gabriel DeBacker
a7565721ba Clean up comments, fix some code review issues, and make the exit code optional throughout to make it clear that it isn't always a number 2019-02-17 09:18:41 -08:00
Gabriel DeBacker
fc6f637899 Remove C/CPP tools from built-in extensions 2019-02-17 08:39:00 -08:00
Benjamin Pasero
622b3d62dd paths - paths.node.ts => path.ts 2019-02-12 20:36:23 +01:00
SteVen Batten
5ebd625b40 use new path implementation (#68538)
* adopt paths.node over path

* fix strict null

* remove hacky typing inlabel.test.ts
2019-02-12 20:14:50 +01:00
Gabriel DeBacker
d2e8c8465e Cleanup round one 2019-02-12 10:48:40 -08:00
Gabriel DeBacker
db7766c406 Merge with master 2019-02-12 09:21:33 -08:00
Sandeep Somavarapu
16a2c2e3fa Merge branch 'master' into sandy081/remoteMRWorkspace 2019-02-11 10:23:58 +01:00
Gabriel DeBacker
1f374f0ea4 Merge with master 2019-02-07 09:38:47 -08:00
Alex Ross
6bbb04e0be Ensure contributed tasks have a scope
#67990
2019-02-07 13:11:18 +01:00
Gabriel DeBacker
69db919cf5 Clean this up a bit and create extension host renderes on demand 2019-02-04 17:52:04 -08:00
Sandeep Somavarapu
aba0fcbb58 Delay extension host until workspace is completely initialized 2019-01-28 10:54:45 +01:00
Gabriel DeBacker
75f82ce09a Get terminal re-use and task restart working 2019-01-19 08:00:36 -08:00
Gabriel DeBacker
50d49c8c36 Move to proposed API and rename things for consistency 2019-01-18 13:16:55 -08:00
Gabriel DeBacker
1faf0981a0 Make sure to dispose callback registration 2019-01-18 07:35:22 -08:00
Gabriel DeBacker
cb3f8a16a3 The beginning of cancellation 2019-01-17 11:33:17 -08:00
Gabriel DeBacker
54b9bba47e Callbacks now function 2019-01-17 09:29:47 -08:00
Gabriel DeBacker
8fe69fe73f Start to hook up the terminal and execution 2019-01-16 21:59:26 -08:00
Gabriel DeBacker
c73695ab2d Implement new extension callback execution for a task and create a terminal for it 2019-01-16 07:22:11 -08:00
Alex Dima
2fe9de8511 Initialize configuration data through ExtHostConfiguration 2019-01-14 17:28:14 +01:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Alex Dima
25417553be Adopt case insensitive extension identifiers 2018-12-21 12:41:41 +01:00
Dirk Baeumer
51f7beb40c Fixes #64918: Remove old task conversion code 2018-12-13 14:45:51 +01:00
Johannes Rieken
c6c7edaa9f debt - asThenable -> asPromise because it returns a promise 2018-12-13 11:45:48 +01:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00