Commit Graph

10091 Commits

Author SHA1 Message Date
Jackson Kearl
3a9daf3e34 Adopt new vscode-userdata path format 2021-01-15 13:00:42 -08:00
Raymond Zhao
b2575665d8 Emmet wrap update, fixes #113930 2021-01-15 11:23:44 -08:00
Eric Amodio
21c11ba864 Fixes #114433 - adds setting to avoid git config 2021-01-15 14:05:55 -05:00
Matt Bierner
663532c317 Skipping unreliable test
Also makes sure the TS extension is activated for each of them
2021-01-15 10:38:50 -08:00
Matt Bierner
a68f1326e8 Update built markdown preview code 2021-01-15 10:38:50 -08:00
Matt Bierner
308a4f6a48 Make sure ts extension has loaded before running on-enter tests
Fixes #101922

Also adds back a test that was incorrectly removed
2021-01-15 10:38:50 -08:00
Matt Bierner
d87041edde Downgrade simple browser to prompt instead of being the default on web
We need more testing in codespaces before enabling it automatically
2021-01-15 10:38:50 -08:00
João Moreno
bc7d3c9ea6 remove grammar extensions 2021-01-15 12:35:17 +01:00
Eric Amodio
9c7128d8fa Fixes #114384 - recheck resources after save/add 2021-01-15 00:16:53 -05:00
Takashi Tamura
a34e751b01 Fix scrolling of markdown preview. Close #65504 (#111094)
* Fix scrolling of markdown preview.

* Use scrollDisabledCount.

* Stop initializing scrollDisabledCount.

* Make scrollTo enough large to occur scroll events.

* Should resolve when the error event occurs.
2021-01-14 17:24:08 -08:00
Matt Bierner
6cceb4eab0 Remove enabled setting and try to open simple browser to side of current editor 2021-01-14 17:06:14 -08:00
Matt Bierner
1e3a23b4e0 Fix simple browser button color for light themes 2021-01-14 17:06:14 -08:00
Matt Bierner
cc5e8b22fa Continue work on url opener api
For #109277

- Add `option` opener priority. This means the oper will only be shown if requested but will not replace the default opener
- Persist registered openers for IntelliSense suggestions
2021-01-14 17:06:14 -08:00
Wenlu Wang
c8a6ddba9d Enable forceConsistentCasingInFileNames flag (#114334) 2021-01-14 11:25:11 -08:00
Matt Bierner
5d6cba5cbc Reworking external opener implementation to allow configured openers to be called directly without a canOpen check
If the user has configured a specific external uri opener, we should always try to use that without first calling `canOpen` to filter down the list of openers.

This change also adds `ExternalUriOpenerEnablement` which allows an opener to mark itself as the preferred opener for a given uri. If only a single preferred opener is returned, it will be used automatically for that uri (although user configuration can override this)
2021-01-14 10:37:00 -08:00
Matt Bierner
710846866f Activate extension on simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Matt Bierner
b7f9eddf04 Allow passing viewColumn to simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Raymond Zhao
a1d5ea876c Polish, also fix #113930 2021-01-13 16:09:17 -08:00
Matt Bierner
ea13176ee9 Enable image preview for avif images
Fixes #106415

Support for these was added in electron 11
2021-01-13 13:52:34 -08:00
Matt Bierner
e7aa009ac3 Remove enabledHosts setting
This setting is no longer used
2021-01-13 12:53:18 -08:00
Matt Bierner
47aa3ad09a Continue work on opener service
- Add error notification if opener throws an exception
- Add public facing id to openers. This is used in settings
- Add intellisense for the opener id setting
2021-01-13 12:53:18 -08:00
Alex Dima
31a15b5b9a Add command to kill server and trigger handled error 2021-01-13 20:45:41 +01:00
João Moreno
9bfa4c1d55 Merge branch 'joao/extract-extensions/themes' 2021-01-13 09:54:36 +01:00
Eric Amodio
27b824b32c Adds ability to pass remote/refspec to pushTo cmds 2021-01-13 00:56:07 -05:00
Eric Amodio
d076ee1b94 Adds force push mode to push api 2021-01-13 00:42:07 -05:00
Eric Amodio
02380e7014 Removes repo hint from args 2021-01-13 00:42:06 -05:00
Rob Lourens
d7d5f20047 Fix #114218 2021-01-12 19:17:58 -08:00
Matt Bierner
47a135e715 Rework opener api proposal
For #109277

- Add more explicit two phase structure to api
- Make opener pass along label when registered
2021-01-12 16:14:42 -08:00
Jackson Kearl
6184addcd1 fall back to homepath if home unset.
closes #112775
2021-01-12 15:44:20 -08:00
Rob Lourens
b3d57e69b0 Update PHP grammar, fix #113185 2021-01-12 15:41:23 -08:00
João Moreno
0738f76dac pull themes from the marketplace 2021-01-12 20:46:44 +01:00
Eric Amodio
3767f97bc3 Adds onDidPublish to Git api 2021-01-12 12:15:40 -05:00
Eric Amodio
8832366467 Closes #110881 - adds possibly rebased warning 2021-01-12 12:15:39 -05:00
Christof Marti
b33b28dd07 Activate onStartupFinished (#110031) 2021-01-12 08:17:35 +01:00
Jackson Kearl
cef7004a46 activate search result extension onLanguage:search-result #110031 2021-01-11 11:22:17 -08:00
Rachel Macfarlane
c85297669e Move id, label, and options to authentication provider registration 2021-01-11 10:53:17 -08:00
Alexandru Dima
3d500ebd8b Adopt proposed CancellationError (#93686) 2021-01-11 17:31:22 +01:00
Martin Aeschlimann
60bc00ff63 webpack config typing fix 2021-01-11 09:57:11 +01:00
Benjamin Pasero
6bd7b70515 Revert "Enable webview tests (#114059)"
This reverts commit 01c6003c29.
2021-01-09 11:23:34 +01:00
Matt Bierner
01c6003c29 Enable webview tests (#114059)
These tests were disable due to some occasional failures on build machines. This PR enables them but with flakySuite while I track down possible causes of these failures
2021-01-08 15:57:28 -08:00
Eric Amodio
6828ae1ab5 Removes trim & fixes regex 2021-01-08 11:52:50 -05:00
Alex Ross
bebd066407 Fix gulp task provider so that it doesn't always try to run 2021-01-08 16:04:47 +01:00
Matt Bierner
0949d5b794 Remove unused var 2021-01-07 17:52:06 -08:00
Matt Bierner
acda4aed82 Make the external opener a two phase process
This changes makes a few changes to the openers:

- Move the opener prompting from the extension host into the main thread
- Make the external opener process two phases: get openers and then open. This would let us skip the trusted domain validation for extension handled links if we want to in the future
- Add lifecycle to commands used by the uri opener

For #109277
2021-01-07 17:42:12 -08:00
Raymond Zhao
d36b3616e7 Change Emmet to onStartupFinished #110031 2021-01-07 13:22:10 -08:00
Matt Bierner
e2c305f3a3 Allow registering additional external uri openers
This change moves the extension uri opener contribution point to instead use the internal `IExternalOpener` api instead of the more generic `IOpener` api. This is required since external uri openers should see the resolved uri that has gone through port forwarding, not the raw uri that the user clicked on
2021-01-07 11:41:07 -08:00
Matt Bierner
bdf57b45ce Remove button background in simple browser 2021-01-07 11:41:07 -08:00
Johannes Rieken
74bc1d2672 re-enable test for https://github.com/microsoft/vscode/issues/111867 2021-01-07 09:18:51 +01:00
Connor Peet
01089c0a50 testing: fix unit tests 2021-01-06 15:35:20 -08:00
Connor Peet
e2c9137841 testing: fix unit tests 2021-01-06 15:32:50 -08:00