Sandeep Somavarapu
53fe1660c9
Move download command to extension host
2019-07-20 05:17:46 +02:00
Peng Lyu
f1bad37012
Remove Comment Id
2019-07-18 15:34:05 -07:00
Sandeep Somavarapu
78de125b5f
Introduce new enablement states
2019-07-18 22:34:27 +02:00
Sandeep Somavarapu
034e0a9f99
Use Enablement service to check if an extension is enabled or not
2019-07-18 16:36:52 +02:00
Sandeep Somavarapu
db8cc94a06
Move enablement and servers to workbench
2019-07-18 12:17:15 +02:00
Andre Weinand
fb0e9f7d03
cleanup ExtensionHostDebugService
2019-07-18 11:56:42 +02:00
Matt Bierner
928ae46457
Rewrite how webviews are managed internally
...
This change attempts to do the following:
- Encapsult most of the logic for handling the webviews used for webview editors into a new WebviewEditorOverlay class
- Greatly simplify WebviewEditorInput and make it take a webview when it is created
- Move the webview creation logic up into the webviewEditorService instead of having it be inside the webviewEditor class itself
This aim of these changes is to make it possible to re-use more of the webview logic for custom editors
2019-07-17 18:14:08 -07:00
Matt Bierner
8b69b981de
Simplify state used for webviews
...
We previously used nested states to store some additional metadata alongside the real webview state. This is overly complicated. This change switches us to using a single top level state field, while also adding some code to handle migration from the old state structure
2019-07-17 18:14:08 -07:00
Matt Bierner
4629479920
Don't require using state to check if we can revive
2019-07-17 18:14:08 -07:00
Matt Bierner
e26db506b7
Mark that state may be undefined
2019-07-17 18:14:08 -07:00
Matt Bierner
7411e3f341
Convert many simple getters for events into readonly properties
...
We seem to use the readonly property way of exposing these values more widely. Standardizing this a bit across the codebase
2019-07-15 16:12:25 -07:00
Matt Bierner
20d2018d18
Convert to async
2019-07-15 15:44:16 -07:00
Matt Bierner
be5a4fa940
💄
2019-07-15 15:42:48 -07:00
Matt Bierner
618da58752
Use map instead of object literals in mainThreadTerminalService
...
Replaces a few uses of object literals with regular maps, which better enforce type correctness
2019-07-15 12:00:37 -07:00
Matt Bierner
f729a996c6
Use map to track registrations
2019-07-15 11:47:29 -07:00
Matt Bierner
7ed88bd70c
Use set to track synced values instead of object literal
2019-07-15 11:47:29 -07:00
Matt Bierner
afe2da7ed6
Use a map instead of a object to store editors
2019-07-15 11:47:29 -07:00
Daniel Imms
2443cf5037
Merge pull request #77298 from microsoft/tyriar/77228_dimensionss
...
Improve terminal grid dimensions caching
2019-07-13 13:14:47 -07:00
Matt Bierner
5106b556bd
Support loading webviews from wildcard endpoints
...
Fixes #77132
Add support for loading webviews from and endpoint that looks like:
```
https://{{uuid}}.contoso.com/path/to/some/commit/index.html
```
This lets us serve each webview from a seperate origin
2019-07-12 15:38:12 -07:00
Daniel Imms
c9cfc7c5ed
Merge remote-tracking branch 'origin/master' into tyriar/77228_dimensionss
2019-07-12 10:42:34 -07:00
Daniel Imms
fd48fa0d3b
Fix dimenisons test and clean up
2019-07-12 10:37:29 -07:00
Sandeep Somavarapu
b3422b98b7
Merge pull request #76377 from microsoft/sandy081/fix74859
...
trigger workspace contains activation event on new folders
2019-07-12 16:42:56 +02:00
Daniel Imms
3092a1023c
Remember dimensions from other terminals
...
Part of #77228
2019-07-11 21:18:06 -07:00
SteVen Batten
305d5be119
implement browser clipboard service ( #75293 )
...
* implement browser clipboard service
* actually register the clipboard service
* update all refs to newly async funcs
* addressing comments
* small fixes
* all asyncs as a result of readText
* fix unit test
* cleanup for writeText refs
* cleanup and reduce diff noise
* qfix
* address feedback
2019-07-11 09:49:28 +02:00
Matt Bierner
f57ff0b25c
Remove webview _onBeforeShutdown
...
This should no longer be required
2019-07-10 11:55:37 -07:00
Rachel Macfarlane
877235c625
Remove old proposed commenting API
2019-07-10 11:11:14 -07:00
Alex Ross
e84fc7021b
Adopt TerminalVirtualProcess for Custom task execution ( #76852 )
...
* Adopt TerminalVirtualProcess for Custom task execution
* Update Custom task execution API to return TerminalVirtualProcess in callback
This also required the addtion of a start on the virtual terminal process
* Clarify start API
Fixes #76492
2019-07-10 09:31:40 +02:00
Johannes Rieken
65270230af
tweak options for delete and write, #48034
2019-07-09 16:23:48 +02:00
Johannes Rieken
a4fc9bb8c4
improved error propagation, #48034
2019-07-09 16:17:02 +02:00
Sandeep Somavarapu
3b9d26ded9
#76442 fix implicit any
2019-07-09 12:28:52 +02:00
Matt Bierner
a558a9504a
Adding toWebviewResource api
...
For #76489
2019-07-08 18:38:47 -07:00
Alex Ross
a70ca602bc
Adopt new tree in custom views ( #76407 )
...
Auto expand initial state of tree nodes is not yet implemented.
Part of #63566
2019-07-08 18:07:16 +02:00
Johannes Rieken
c5cdf50e17
prep-work for #76847
2019-07-08 11:39:01 +02:00
Johannes Rieken
4259b43f70
Revert "fix double encoding issue, https://github.com/microsoft/vscode-azure-account/issues/142 "
...
This reverts commit 781e61bf56 .
2019-07-08 09:56:49 +02:00
Daniel Imms
6dabbf2963
Merge pull request #76736 from microsoft/alexr00/terminalVPChanges
...
Changes to terminal to enable Tasks use of TerminalVirtualProcess
2019-07-05 09:49:02 -07:00
Daniel Imms
8bd0e79c73
Fix ext host terminals
...
Fixes #76670
2019-07-05 09:06:11 -07:00
Alex Ross
65f53d53b1
Changes to terminal to enable Tasks use of TerminalVirtualProcess
2019-07-05 17:57:03 +02:00
Johannes Rieken
7980cd2697
replace mutation observer with dom#asDomUri, #75061
2019-07-04 10:20:03 +02:00
Matt Bierner
0722dc5c0e
Error if we try to perform an operation on an unknown editor inset
2019-07-03 11:28:07 -07:00
Joel Day
b6089b1db5
Adding support for TaskProvider.resolveTask ( #71027 )
...
* Adding support for TaskProvider.resolveTask.
* Reorganize task grouping and resolution async code for readability.
* Made small changes and implmented resolveTask for gulp
2019-07-03 15:47:37 +02:00
Joao Moreno
a67b138d51
use es6 maps in mainThreadSCM
...
related to #76442
2019-07-03 09:57:24 +02:00
Daniel Imms
880a0c1507
Merge remote-tracking branch 'origin/master' into tyriar/virtual_process
2019-07-02 18:10:33 -07:00
Daniel Imms
9d01ac8949
Fix virtual process resize and debounce event
2019-07-02 17:40:25 -07:00
Matt Bierner
8bc1d605b1
Merge pull request #76441 from mjbvz/ICommandsMap-real-map
...
Use a proper Map for ICommandsMap
2019-07-02 17:23:39 -07:00
Matt Bierner
ae2cc878f8
Using DisposableStore in mainThread class
...
#74250
2019-07-02 16:37:35 -07:00
Daniel Imms
0054980481
Pass args via object
2019-07-02 11:20:59 -07:00
Daniel Imms
0d809b4036
Clean up
2019-07-02 11:10:13 -07:00
Daniel Imms
51aab4d1eb
Impl overrideDimensions
2019-07-02 10:26:59 -07:00
Daniel Imms
b96cbd870b
Fix issues with early ext host terminal messages going missing
2019-07-02 09:44:37 -07:00
Daniel Imms
c5853f3aba
Merge remote-tracking branch 'origin/master' into tyriar/virtual_process
2019-07-02 08:48:43 -07:00