Alex Ross
1b7470b25d
Try to find ports with a root process ( #119341 )
...
Improves microsoft/vscode-remote-release#4654
2021-03-19 17:59:08 +01:00
Alex Ross
da562fa27c
Add regular expressions and "others" to portsAttributes
...
Fixes microsoft/vscode-remote-release#4623
2021-03-10 14:14:00 +01:00
Alex Ross
06044789bf
API proposal for PortAttributesProvider ( #118446 )
...
Part of #115616
2021-03-08 15:45:32 +01:00
Alex Ross
f80f0d7074
More forwarded ports trace logging
2021-03-03 15:40:43 +01:00
Alex Ross
7a0caf4d86
Let Remote extensions set port source ( #116838 )
2021-02-17 10:33:46 +01:00
Alex Ross
26e6d9e93a
Set the remote ext host pid and name ( #115891 )
...
Fixes #115213
2021-02-05 17:00:34 +01:00
Benjamin Pasero
b28cd23d52
fs - more removal of promisify utility
2021-02-03 11:29:26 +01:00
Benjamin Pasero
dbf6147c01
fs - remove promise based methods from pfs and replace with fs.promises
2021-02-03 11:20:14 +01:00
Alex Ross
fcccc85ff9
Add more to test resolver tunnel factory and fix port filtering
2021-01-21 16:23:55 +01:00
Alex Ross
f63310750f
Even more tunnel provider logging
2021-01-21 11:39:43 +01:00
Alex Ross
38c051bf86
Catch errors in tunnel providers and log
2021-01-20 17:27:31 +01:00
Alex Ross
c0c033ff4f
Use port auto forwarding setting to disable port finding ( #114574 )
2021-01-19 17:06:06 +01:00
Alex Ross
b903748b83
Fix candidate filter and auto forwarding wiring ( #114290 )
2021-01-13 18:06:31 +01:00
Alex Ross
b4e4bd1642
Allow tunnel providers to support making a tunnel public
2021-01-13 12:29:35 +01:00
Alex Ross
a7cf03de2d
Add elevation message to ports UI ( #113990 )
...
This change allows remote extension to handle elevation if they want.
Fixes microsoft/vscode-remote-release#3922
2021-01-07 16:21:06 +01:00
Alex Ross
14bb2fdc12
Tunnels from a tunnel factory can have async dispose
2021-01-07 11:34:17 +01:00
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