Commit graph

101704 commits

Author SHA1 Message Date
Matt Bierner
15c111eb21
Pick up latest katex (#163866)
Fixes #162379
2022-10-17 14:09:09 -04:00
Aaron Munger
b4e1d3b687
Merge pull request #163228 from amunger/IWFind
enable find widget for interactive window
2022-10-17 10:42:24 -07:00
Connor Peet
dfcbe89f64
Merge pull request #163867 from microsoft/connor4312/cli-linux-build
cli: fix linux build
2022-10-17 10:16:33 -07:00
Connor Peet
450f8e65b6
run cli tests on pr 2022-10-17 09:56:15 -07:00
Matt Bierner
d2c5e20237
Use linked list for storing Gesture targets (#163857)
This is useful since we are inserting and then removing items from the list using a disposable
2022-10-17 09:51:22 -07:00
Matt Bierner
5498be71d2
Make sure we dispose of Gesture.ignoreTarget (#163855)
`Gesture.ignoreTarget` returns a disposable. It is important that we dispose of this since `Gesture.ignoreTarget` adds dom nodes to a global list
2022-10-17 18:44:19 +02:00
Connor Peet
4772a823d4
cli: fix linux build
This contains the following changes:

https://github.com/hwchen/secret-service-rs/compare/v2.0.2...microsoft:vscode-secret-service-rs:2.0.2-openssl

Previously I had secret-service pulling in patches made against `main`
of secret-service-rs, but that is a newer, not-yet-published 3.x version
that was not compatible. I've now backported the necessary changes
(using openssl for SDL compliance) on the last 2.x release.
2022-10-17 09:43:48 -07:00
Matt Bierner
337b02953f
Move TernarySearchTree to own file (#163684)
* Move TernarySearchTree to own file

This class is taking up most of `map.ts`. I think it's time to split it out into its own file

* Adding missing file change

* Update changed file
2022-10-17 09:21:23 -07:00
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