Commit Graph

31 Commits

Author SHA1 Message Date
Alex Ross
4804bbcdff Tunnel factory can return undefined (#113232)
Fixes microsoft/vscode-internalbacklog#1680
2020-12-28 09:54:08 +01:00
Alex Ross
ed87c35de9 Show more port cmdline when wide
And add pid.
Fixes #112796, microsoft/vscode-remote-release#4120
2020-12-24 11:54:07 +01:00
Alex Ross
0b1892f877 Start candidate finding later (#113377)
And filter out the renderer.
Fixes #4185, #4110
2020-12-24 11:51:47 +01:00
Alex Ross
05a5209b4c Fix candidate port finding (more async, better timing) (#113342)
Fixes #112843
2020-12-23 14:02:06 +01:00
Alex Ross
9c2a1dc473 Don't restore ports that are already detected
Part of microsoft/vscode-remote-release#4112
2020-12-22 14:41:11 +01:00
Alex Ross
48c2ad6493 Temporary workaround for #112843 2020-12-21 11:19:14 +01:00
Alex Ross
b3a3dc9c0a Debt: Test findPorts (#112092)
Add a test for the port finding logic
2020-12-08 17:03:21 +01:00
Alex Ross
b01183bda2 Add extension source to forwarded ports
Part of microsoft/vscode-remote-release#4021
2020-11-26 12:03:26 +01:00
Alex Ross
950c942b7c TunnelCreationInformation -> TunnelCreationOptions
Fixes #110795
2020-11-24 17:52:13 +01:00
Alex Ross
c4b7d10912 Use property bag for tunnel creation elevation
Fixes #110795
2020-11-24 16:04:54 +01:00
Alex Ross
8374d6a4c7 Detect ports to forward more often
Part of microsoft/vscode-remote-release#4021
2020-11-19 10:55:04 +01:00
Alex Ross
9d389f0364 Handle error case for candidate ports
Part of microsoft/vscode-remote-release#2776
2020-11-13 17:16:11 +01:00
Alex Ross
19c93615dd Properly call dispose on extension created tunnels
Part of microsoft/vscode-remote-release#3961
2020-11-13 15:40:28 +01:00
Alex Ross
efc4234f64 Clean up regular expression in extHostTunnelService 2020-06-12 11:21:35 +02:00
Alex Ross
426d5bfb94 Fix problems with changing local port and restoring
Fixes #92008
2020-03-04 16:45:23 +01:00
Alex Ross
48e5c5b604 Handle file errors when finding ports
Fixes #90416
2020-02-12 10:19:06 +01: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
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
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
Alex Ross
df6adac482 Candidate port detail shouldn't be the whole long command
Fixes #88059
2020-01-06 10:57:44 +01: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
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