Commit Graph

61 Commits

Author SHA1 Message Date
Sandeep Somavarapu
325cb4a67d #95209 Move to final API 2020-10-27 20:51:31 +01:00
Sandeep Somavarapu
e830d9f905 separate global & workspace memento 2020-10-26 08:09:19 +00:00
Sandeep Somavarapu
1950d2bf50 add syncedKeys to proposed API 2020-10-25 19:14:00 +01:00
Sandeep Somavarapu
20601293fe Enable syncing extensions storage
- Implement logic to sync extension storage
- Register keys to sync provided by extension
2020-10-24 21:15:33 +02:00
Alex Dima
87dd7d6a9c Move deltaExtensions related methods up to AbstractExtensionService 2020-09-25 22:25:10 +02:00
Alex Dima
dc9ef0d110 Make sure the renderer received $onWillActivateExtension before proceeding to load extension code 2020-09-25 11:46:09 +02:00
Matt Bierner
7e0c1aa76e Don't use async on abstract functions 2020-09-09 09:21:56 -07:00
Johannes Rieken
639b39927d remove asAbsolutePath-confusion for web-context, https://github.com/microsoft/vscode/issues/105277 2020-08-31 10:01:18 +02:00
Alex Dima
df5d0e588f Rename ActivationKind.Eager to ActivationKind.Immediate 2020-08-26 20:18:10 +02:00
Alex Dima
27082f3dbb Use an enum instead of a boolean to signal eager activation 2020-08-26 20:17:04 +02:00
Rachel Macfarlane
8871a28963 Make github-authentication a UI extension again 2020-08-26 09:01:42 -07:00
Matt Bierner
8ba70d8bdc Revert "Make github-authentication a UI extension again"
This reverts commit cd55420e7e.

This change seems to have caused issues activating extensions
2020-08-24 20:19:58 -07:00
Rachel Macfarlane
cd55420e7e Make github-authentication a UI extension again 2020-08-24 18:44:14 -07:00
Johannes Rieken
c30092a838 move proposed apis to vscode.d.ts, https://github.com/microsoft/vscode/issues/101857 2020-08-18 19:07:05 +02:00
Eric Amodio
1fc60f8b96 Adds ExtensionContext.extensionRuntime - #104436 2020-08-11 15:12:26 -04:00
Alex Dima
f43a17578c Wrap web worker extension host in an iframe to get a different origin 2020-08-03 14:53:44 +02:00
Alex Dima
a7b1e06283 Add support for web worker extensions to define their entry point via "browser" 2020-07-24 10:41:04 +02:00
Alex Dima
a5d3d4fae6 Fixes #102062: Wait for the renderer socket to drain before exiting the extension host process when running tests 2020-07-22 22:52:39 +02:00
Johannes Rieken
43184b2bed add storageUri and globalStorageUri to ExtensionContext, https://github.com/microsoft/vscode/issues/101857 2020-07-09 12:48:03 +02:00
Johannes Rieken
277b222584 add ExtensionContext#logUri, https://github.com/microsoft/vscode/issues/101857 2020-07-09 12:48:02 +02:00
Alex Dima
d432126ecf Extract workspaceContains related logic to a separate file (#75284) 2020-07-06 23:15:52 +02:00
Connor Peet
cf7b620598 api: finalize extensionMode
Fixes #95926
2020-06-15 09:35:14 -07:00
Alex Dima
1927f9b6e0 Add getters for connection data & events for changes 2020-06-12 13:57:12 +02:00
Matt Bierner
cadabab73f Mark _serviceBrand properties using declare (#99312)
_serviceBrand is only used for typing and should not result in emit

Also adds readonly
2020-06-05 11:04:15 -07:00
Alex Dima
a7cd45f4bc Fixes #99339: Rename onStartup activation event to onStartupFinished 2020-06-04 14:37:18 +02:00
Alex Dima
827cbdd472 Fixes #98083: Add onStartup activation event 2020-06-01 23:04:13 +02:00
Connor Peet
773c398dfc api: implement extension mode api (#95926) (#97081) 2020-05-06 11:36:04 -07:00
Daniel Imms
af3c79edcb Move ExtensionContext.environmentVariableCollection to stable
Fixes #46696
2020-05-06 03:03:57 -07:00
Christof Marti
84fc970a24 Use search for filename when local with a remote (microsoft/vscode-remote-release#2869) 2020-04-29 21:58:28 +02:00
Daniel Imms
7f5bada046 Move EnvironmentVariableCollection API into ExtensionContext (#96061)
* Move env var collection to ext context

* Remove dispose, fix persistent passing

* Fire collection change on persistence change

* Fix tests by forcing activation and getting ctx

* chore: bump js-debug

Co-authored-by: Connor Peet <connor@peet.io>
2020-04-24 16:45:30 -07:00
Johannes Rieken
c139d3bf1e remove old proposal for https://github.com/microsoft/vscode/issues/90208 2020-04-15 10:04:56 +02:00
Johannes Rieken
80acfa923a make TenarySearchTree have generic key and value, implement for URI, touches on https://github.com/microsoft/vscode/issues/93368 2020-04-06 16:43:24 +02:00
Johannes Rieken
72c3bcefb3 expose extensionUri, https://github.com/microsoft/vscode/issues/90208 2020-03-04 11:20:18 +01:00
Martin Aeschlimann
4a0c7a9934 recommend resolver extension 2020-02-19 17:17:07 +01:00
Alex Dima
2f06f00edc Fixes #90785 2020-02-18 10:01:39 +01:00
Johannes Rieken
b4eb9933a4 add asExtensionUri-api proposal 2020-02-06 15:48:32 +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
62a2317176 Option for hiding candidate ports 2020-01-07 17:13:45 +01:00
Alex Ross
db1c20eae7 Tunnel API renames 2019-12-18 16:24:04 +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
e7dd2dda9b Implement tunnelInformation
Part of #81388
2019-12-11 12:23:30 +01:00
Alex Dima
acd7df1459 Use ILogService instead of console (#84283) 2019-11-21 10:14:31 +01:00
Alexandru Dima
fe9e05d8d7 Adopt ILogger.flush() (#80862) 2019-09-30 16:26:16 +02:00
Christof Marti
83c0e378d0 Serialize-friendly interface 2019-09-19 09:42:17 +02:00
Christof Marti
715b6c5792 Add extension id that triggered the activation event 2019-09-19 09:42:17 +02:00
Johannes Rieken
c842995673 debt - remove duplicated types 2019-09-02 11:41:03 +02:00
Johannes Rieken
86dce614df debt - remove old proposed API: vscode.ExtensionContext#executionContext 2019-09-02 11:41:03 +02:00
Johannes Rieken
dedf0de944 change type of _serviceBrand from any to undefined, #79918 2019-08-30 15:40:46 +02:00