Commit Graph

2974 Commits

Author SHA1 Message Date
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
Andre Weinand
7a89ac693b Make debugging independent from node APIs; fixes #85076 2019-11-18 23:03:00 +01:00
isidor
0c2f93d927 Some strict property init #81574 2019-11-15 11:37:37 +01:00
Matt Bierner
84c882df68 Fix extHost crashing due to using vscode as a value (instead of only as types) 2019-11-13 14:51:14 -08:00
Andre Weinand
4a61f33994 proposed API for creating debug uri 2019-11-13 18:18:46 +01:00
Benjamin Pasero
1a1e7c9545 debt - allow extHostSearch in common (#84109)
* debt - allow extHostSearch in common

* web - implement text search provider

* fix text search

* Update extensions/vscode-api-tests/src/extension.ts

Co-Authored-By: Rob Lourens <roblourens@gmail.com>
2019-11-12 18:57:08 +01:00
Alex Ross
1aa537bf59 Use log service in exthosttask and exthosttreeviews
Part of #84283
2019-11-12 10:33:21 +01:00
Johannes Rieken
f9285ac2b5 use LogService in extHostStoragePaths and extHostRequireInterceptor, #84283 2019-11-11 15:54:58 +01:00
Benjamin Pasero
f692972925 debt - move fileSearchManager to common (for #84106) 2019-11-07 07:28:19 +01:00
Jean Pierre
311c8f1d87 Merge branch 'master' into fix-70323 2019-11-06 19:54:01 -05:00
Daniel Imms
1d60909d1f Implement Terminal.creationOptions API
Fixes #63052
2019-11-05 10:30:43 -08:00
Alex Ross
ab89935fd3 First pass at resolving task definition and passing back to custom execution (#83764)
First pass at resolving task definition and passing back to custom execution. It only currently resolves simple predefined variables, no input, command, or defaultBuildTask.

Part of #81007
2019-11-05 16:35:21 +01:00
Matt Bierner
cd4d7e6c2b Fix more node 12 typing errors
For #82514
2019-11-04 15:11:54 -08:00
Andre Weinand
ec30f64952 use async spawn; fixes #69859 2019-10-28 13:10:52 +01:00
jeanp413
c3d9cdb01b null => undefined 2019-10-26 19:47:56 -05:00
Daniel Imms
5db496f7cf Fix strictFunctionTypes in terminal proc
Part of #81574
2019-10-22 09:30:00 -07:00
Alex Ross
030af9515a Stabilize CustomExecution task API
Fixes #80375
2019-10-22 17:10:25 +02:00
isidor
2e5e00128c extHostDebugService: Enable strictPropertyInitialization
#78168
2019-10-14 14:43:34 +02:00
Daniel Imms
a30e88aca1 Revert "Fix strictFunctionTypes errors in terminal proxy"
This reverts commit 7f5a4a3f5b.
2019-10-13 10:55:54 -07:00
Alex Ross
dc4b1c231c Rename CustomExecution2 to CustomExecution
Part of #80375
2019-10-11 14:43:23 +02:00
Daniel Imms
7f5a4a3f5b Fix strictFunctionTypes errors in terminal proxy
Part of #81574
2019-10-04 17:39:05 -07:00
Alexandru Dima
fe9e05d8d7 Adopt ILogger.flush() (#80862) 2019-09-30 16:26:16 +02:00