Commit Graph

2995 Commits

Author SHA1 Message Date
Daniel Imms
e775d54e2b Apply ext env changes to new terminals 2020-03-25 12:45:37 -07:00
Daniel Imms
556550a29a Fire debounced event on change 2020-03-25 12:15:42 -07:00
Daniel Imms
05225c7f36 Resolve merged collection 2020-03-25 12:07:21 -07:00
Daniel Imms
ed9e7241b7 Move single ext collection updates across 2020-03-25 11:57:12 -07:00
Daniel Imms
8ee60554b5 Send collections to renderer 2020-03-25 07:51:05 -07:00
Daniel Imms
b2a9d4dd61 Serialize collections on ext host 2020-03-25 07:35:19 -07:00
Daniel Imms
b41b85d224 Start building out env var service 2020-03-25 07:26:11 -07:00
Daniel Imms
338d4298f4 Debounce update event 2020-03-25 06:46:08 -07:00
Daniel Imms
17dc799997 Implement env var collection structure 2020-03-25 06:37:37 -07:00
Daniel Imms
97eaa84d46 Pass terminal method through to ext host terminal service 2020-03-24 08:02:11 -07:00
Christof Marti
14b5afc0ec Add --use-host-proxy (microsoft/vscode-remote-release#2487) 2020-03-13 12:42:58 +01:00
Andre Weinand
4e605ec54a propagate ext terminal errrors; fixes #92380 2020-03-10 17:58:45 +01:00
Alex Ross
426d5bfb94 Fix problems with changing local port and restoring
Fixes #92008
2020-03-04 16:45:23 +01:00
Daniel Imms
cd17694974 Fix possible race condition
Fixes #90883
2020-02-18 07:35:59 -08:00
Connor Peet
6a04aa0477 debug: always set environment variables per-process in integrated terminal
Fixes #90375
2020-02-12 08:35:57 -08:00
Alex Ross
48e5c5b604 Handle file errors when finding ports
Fixes #90416
2020-02-12 10:19:06 +01:00
Matt Bierner
dbe5572789 Fixing another strict function error
For #81574

Let TS infer the types for us here
2020-02-11 14:27:55 -08:00
Daniel Imms
c6caa9a451 Merge branch 'master' into tyriar/75793 2020-02-08 13:50:01 -08:00
Alex Ross
77218d2ba0 Fix onDidTunnelsChange -> onDidChangeTunnels
Part 1: have both events
part of https://github.com/microsoft/vscode/issues/90057
2020-02-07 12:02:04 +01: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
Alex Ross
c3a5ac0820 Adopt deprecation service for deprecated task constructor
Part of https://github.com/microsoft/vscode/issues/88391
2020-01-22 12:43:01 +01:00
Alex Ross
017aef63b9 Add tunnel list changed event API 2020-01-20 14:41:10 +01:00
Alex Ross
40aa781ab8 Add API to get an array of tunnel descriptions 2020-01-20 12:30:11 +01:00
Alex Ross
71570aa4e8 Add candidate port filtering to proposed API 2020-01-20 11:38:45 +01:00
Matt Bierner
3883ebd061 Add common service for logging deprecated api usage (#88585)
* Add common service for logging deprecated api usage

For #88391

Adds a new `ExtHostApiDeprecationService`. This service logs a warning and telemetry when a deprecated API is used.

Updates some of the more simple deprecated apis to use this new service

* Note that extensionId cannot be undefined

* Fix event name
2020-01-14 15:27:42 -08:00
Martin Aeschlimann
da5d2781b0 replace console with logService. For #84283 2020-01-14 11:31:34 +01:00
Daniel Imms
a62805844e Expose IExtHostTerminalService.getDefaultShellArgs internally
Fixes #88280
2020-01-13 07:45:08 -08:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Alex Ross
c7bd9c76f0 Better ipv6 display in forwarded ports view 2020-01-09 16:03:16 +01:00
Alex Ross
9c0577cde2 Forward ports with any host to localhost
and fix related bugs

Fixes #88060
2020-01-08 17:52:45 +01:00
Alex Ross
546c9df62d Trim whitespace on tunnel description
Fixes #88059
2020-01-08 15:59:04 +01:00
Andre Weinand
de3922b5b4 remove workaround for #87088 2020-01-08 12:22:32 +01:00
Sandeep Somavarapu
7bbafc2221 Fix #87088 2020-01-08 11:40:42 +01:00
Andre Weinand
eaf427d740 properly use the automationShell setting; fixes #87700 2020-01-07 18:12:58 +01:00
Alex Ross
df6adac482 Candidate port detail shouldn't be the whole long command
Fixes #88059
2020-01-06 10:57:44 +01:00
Daniel Imms
0b5a23efa5 Merge branch 'master' into fix-70323 2019-12-30 10:00:19 -08:00
Alex Ross
e8d46aa75b Add refresh button to ports view to refresh candidate
Fix a bad leak in the ports view

Fix the ip address of candidate ports
2019-12-19 16:56:35 +01:00
Alex Ross
db1c20eae7 Tunnel API renames 2019-12-18 16:24:04 +01:00
Alex Ross
8e2b3047eb Enable more than just localhost for port forwarding providers
Part of #81388
2019-12-18 10:14:45 +01:00
Jean Pierre
4804d6e21a Merge branch 'master' into fix-70323 2019-12-16 21:43:17 -05:00
Alex Ross
92a83fb895 Allow extensions to provide a port forwarding implementation.
Part of #81388
2019-12-16 16:20:18 +01:00
Alex Ross
44cf9c9144 Make worker ExtHostTunnelService and remove dependency in ExtHostExtensionService 2019-12-13 09:07:01 +01:00
Alex Ross
e1bfea5b63 Add candidate finding to ports view
Part of #81388
2019-12-12 18:03:14 +01:00
Sandeep Somavarapu
201b5a2057 move ext host log chanel contribution to ext host starter 2019-12-11 18:21:33 +01:00
Alex Ross
9566da2e16 First pass at port API needed for port UI (#85117)
Part of https://github.com/microsoft/vscode-remote-release/issues/1777 and https://github.com/microsoft/vscode/issues/81388
2019-12-10 15:44:30 +01:00
Sandeep Somavarapu
f4fa2da7ae #84283 use log service to log 2019-12-10 15:04:13 +01:00
Sandeep Somavarapu
b2fcf2d3a2 Fix #86663 2019-12-10 15:04:13 +01:00
Martin Aeschlimann
3295e51f22 Make extension respect the window.openFoldersInNewWindow setting. Fixes #85851 2019-11-30 13:41:40 +01:00
Andre Weinand
e38b49b5a3 restructure variable resolver 2019-11-20 17:36:09 +01:00