Commit graph

101694 commits

Author SHA1 Message Date
Matt Bierner
3f00e7edb8
Add allow list of webview command uris (#163501)
Add allow list of command uris

fixes #163500
2022-10-17 08:57:35 -07:00
Matt Bierner
5916cdeccb
Move all webview clipping logic into overlaywebview (#163853) 2022-10-17 08:21:01 -07:00
Sandeep Somavarapu
d4ef671011
add more logs (#163852) 2022-10-17 08:15:46 -07:00
Matt Bierner
c6b4b2f044
Set contain on monaco-list-rows (#163518)
This sets contain and overflow on `monaco-list-rows` to reduce the number of re-paints needed while scrolling

I've tested most of the lists I can think of in the editor and it doesn't seem to cause any problems. It doesn't help repaints on the quick input for unknown reasons, but does seem to help in the explorer, custom trees, the extension list, and settings view
2022-10-17 08:00:27 -07:00
Matt Bierner
89f0c65eb4
Avoid extra uses of Iterator.ts (#163699)
- Removes `Iterator.equals` as this was unused
- Replace `Iterator.collect` with `Array.from`
- Use `asArray` instead of `Iterable.single` in a few cases
- Remove `Iterable.forEach` and replace single caller with `for/of`
- If passing an array to `Iterable`, we don't need to call `Iterable.from` on it
- When we create an iterable from an array and then convert that iterable back to an array right away, we should just operate on the array (this lets us remove the one caller to `concatNested`)
2022-10-17 07:58:48 -07:00
Daniel Imms
d715bae6df
Merge pull request #163848 from microsoft/tyriar/161622_lightbulb_hide
Avoid extra work when lightbulb is already hidden
2022-10-17 07:53:25 -07:00
Henning Dieterichs
f1a27d7b8b
Recognize stash merge conflicts (#163680) 2022-10-17 07:42:07 -07:00
Daniel Imms
cff25b782b
Avoid extra work when lightbulb is already hidden
Part of #161622
2022-10-17 07:15:10 -07:00
Alexandru Dima
85f62d7aca
Improve implies implementation (#163841)
* Fix incorrect case in context key `implies`

* Fix `implies` implementation
2022-10-17 06:34:38 -07:00
Johannes Rieken
148347c677
Merge pull request #163827 from microsoft/joh/injured-bandicoot
joh/injured bandicoot
2022-10-17 13:05:23 +02:00
Johannes
5352ac2fa6
send heavy samples when auto profiling extension host 2022-10-17 12:27:54 +02:00
Johannes
a2fc988f80
use (shared) profiling model in extension host auto profiler 2022-10-17 12:06:23 +02:00
Ladislau Szomoru
e1e7ce5d17
Git - adopt log output channel api (#163695) 2022-10-17 02:49:12 -07:00
Joyce Er
f9a0fdeff2
Tolerate minor edit session identity differences (#163804)
Also add basic support for partial edit session identity matches
2022-10-16 23:51:51 -07:00
Tyler James Leonhardt
a0a7cc4b5f
Re-enable disabling inputbox/quickpick API (#163739)
Fixes #159906
2022-10-16 23:47:51 -07:00
Matt Bierner
6455bf1608
Fix cycle in webview contrib imports (#163712)
Fix cycle in webview contrib

The top level `webview.ts` should not import from `webviewElement`
2022-10-16 12:19:08 +02:00
Matt Bierner
81d2ccccc9
Always require an extension id if you want consistent webview origins (#163711) 2022-10-15 22:26:16 +03:00
Chuck Lantz
cbee57d415
Bump dev container memory reqs, use latest props (#163713) 2022-10-14 23:27:26 -07:00
Matt Bierner
641046a11d
Add commands to insert images/links in markdown (#163706)
* Add commands to insert images/links in markdown

Fixes #162809

* Rename commands and allow passing in uris

* Support selecting many images/files
2022-10-14 16:05:36 -07:00
Matt Bierner
129dbaa32b
Fix escape not hiding code action widget in notebooks (#163702) 2022-10-14 14:40:51 -07:00
Peng Lyu
5612f80f8d
Pass associated notebook document to kernel source command (#163701) 2022-10-14 14:33:05 -07:00
Connor Peet
1afc67ea7f
Merge pull request #163583 from microsoft/connor4312/cli-cg-update
cg: update cglicenses.json for CLI dependencies
2022-10-14 14:24:45 -07:00
Matt Bierner
4c53499e8a
Revert "Make returned editor contributions an iterable instead of an array (#163309)" (#163689)
This reverts commit 90054ae22f.
2022-10-14 13:56:47 -07:00
Peng Lyu
0a6a5912a5
Use editor scope contextkeyservice for fetching kernel source commands (#163693) 2022-10-14 13:22:54 -07:00
Connor Peet
69afbe5c89
Merge pull request #163676 from microsoft/connor4312/cli-fips
cli: use openssl for all crypto-related activities
2022-10-14 12:00:39 -07:00
Matt Bierner
3b255af0cb
Pick up latest vscode-markdown-languageservice (#163681) 2022-10-14 11:46:24 -07:00
Sandeep Somavarapu
7daf9c77ef
make access to inspect props delayed (#163679) 2022-10-14 11:38:16 -07:00
Raymond Zhao
740d837399
Switch workspace restricted settings to use indicators (#163601)
* Change policy and workspace trust to indicators
* Add link to workspace trust indicator
* Remove restricted settings configured check
* Fix deprecated method usage
* fix - trigger event when restricted settings are updated
* feedback - use userDataProfilesService for profilesEnabled variable

Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2022-10-14 11:16:43 -07:00
Matt Bierner
46e6b68743
Move webview animation workaround to viewPane (#163675)
This workaround is only required for webview views, so let's move the code there
2022-10-14 11:12:46 -07:00
Andrea Mah
8dfd89e065
change search badge to show recursive match number (#163604) 2022-10-14 11:11:47 -07:00
Connor Peet
a2dd71c0fe
cli: use openssl for all crypto-related activities
For compliance with SDL and MSFT crypto standards. Right now this uses
our forks of russh and secret-service. russh seems amenable to getting
this merged (https://github.com/warp-tech/russh/pull/52) but TBD about
the secret-service crate.

Fixes https://github.com/microsoft/vscode-internalbacklog/issues/3158
2022-10-14 11:09:31 -07:00
Matt Bierner
7b673b211f
Move quick input list element cleanup to disposeElement (#163668)
Move quick input list cleanup to `disposeElement`

The the disposables, we are currently trying to dispose of these values twice (which is a noop)

The action bar should also be cleared in `disposeElement` instead of relying on `renderElement` being called again
2022-10-14 20:09:13 +02:00
Matt Bierner
5df430612d
Make sure we clean up viewItemDisposables (#163673)
This makes sure we clean up `viewItemDisposables`. This map stores dom event listeners, so it is good to be explicit about always disposing of these
2022-10-14 14:06:15 -04:00
Sandeep Somavarapu
1bcb42f40c
Merge pull request #163640 from microsoft/sandy081/helpless-gerbil
Fix #163343
2022-10-14 19:15:54 +02:00
Andrea Mah
25bb57566d
add restrict search to folder (#163597) 2022-10-14 09:29:15 -07:00
Matt Bierner
ff80ce61d7
Remove custom jupyter notebook migration logic (#163362)
This migration should have taken place so I don't think we need this code anymore
2022-10-14 18:08:52 +02:00
Tyler James Leonhardt
1bca8df333
Fixes #163151 (#163663)
Fixes #163151
2022-10-14 08:59:02 -07:00
Johannes Rieken
ee0b7792a1
fix https://github.com/microsoft/vscode/issues/147762 (#162751) 2022-10-14 08:51:16 -07:00
SteVen Batten
a2ecf38136
move banner above title bar in web (#163492)
* move banner above title bar in web

* bug fixes, testing PWA
2022-10-14 08:41:31 -07:00
Tyler James Leonhardt
6684350a58
Onboard GitHub & Microsoft auth extensions to l10n (#163662)
* onboard github-auth completely to l10n

* onboard microsoft-authentication entirely on to l10n
2022-10-14 08:41:21 -07:00
Tyler James Leonhardt
f83ad50c89
Load bundle for web from unpkg service (#163641)
* move extensionResourceLoader service into platform

* use the ExtensionResourceLoader to load translations from a language pack

* do join after

* missed a deletion
2022-10-14 16:52:29 +02:00
Logan Ramos
28da8ed1aa
Add some tests for extension telemetry (#163584)
* Add some tests for extension telemetry

* Fix failing tests

* More attempts at fixing failing tests

* Ok, I think I fixed the tests this time
2022-10-14 16:38:36 +02:00
Johannes Rieken
d49452248d
joh/super quelea (#163642)
* change how profiling sampling nodes are stringifyied so that they don't get confused as mail-address

* re-enable renderer auto-profile

* use/copy profiling model from https://github.com/microsoft/vscode-js-profile-visualizer

extract heaviest call path from bottom up profile and submit as telemetry event
2022-10-14 06:00:28 -07:00
Sandeep Somavarapu
2204a16fb0
Fix #163343 2022-10-14 14:23:42 +02:00
Tyler James Leonhardt
5e8b6807b1
Command Center With Help (#163635)
* Command Center With Modes

* fix bug
2022-10-14 13:16:07 +02:00
João Moreno
ac9aff3521
reenable terrapin (#163622)
* drop npx for terrapin

* enable terrapin by default
2022-10-14 01:35:15 -07:00
Rob Lourens
493d27bf48
Don't interrupt when deleting pending cells (#163609)
Fix #163133
2022-10-14 09:05:59 +02:00
Matt Bierner
7ef8e6b87a
Use consistent origin for webview views (#163602)
For #132464
2022-10-13 17:40:07 -07:00
Matt Bierner
645129883e
Add static preloads notebook contribution (#163512)
For #163511
2022-10-13 17:04:24 -07:00
Sandeep Somavarapu
f55ddeb7da
clean up logs (#163589)
* - log view messages in separate views log
- clean up log folders

* fix tests
2022-10-13 15:17:10 -07:00