Commit graph

101833 commits

Author SHA1 Message Date
Matt Bierner 2b8c21432e
Avoid using dynamic stylesheet in FilesRenderer (#164104)
Avoid creating extra dynamic stylesheet in files renderer

The FilesRenderer currently create a dynamic stylesheet just to pass along one value. This ends up being expensive, as it forces a re-style when the stylesheet is updated

In this case, we can use a css variable to pass along this value instead
2022-10-20 15:50:09 -04:00
Alex Ross bb39eb50fd
Fix open preview for ipv6 addresses (#164156) 2022-10-20 11:12:21 -07:00
David Sanders f7a080dd20
Scroll webview to top if unmatched fragment is #top (#164070) 2022-10-20 10:59:57 -07:00
Peng Lyu ebe560003e
Rename notebook text diff editor (#164149)
Rename notebook text diff editor.
2022-10-20 10:24:52 -07:00
Johannes Rieken 525d271424
Merge pull request #164144 from microsoft/joh/inadequate-vicuna
joh/inadequate vicuna
2022-10-20 19:05:14 +02:00
Matt Bierner beb2dbd745
Remove duplicated link clicking handling logic for notebooks (#163371)
Remove duplicated link click logic for notebooks

This should already be handled by the `clicked-link` event
2022-10-20 09:18:52 -07:00
Johannes dc51fbb563
* simplify renderer profiling, no more heartbeat but just profile for a bit
* ignore profilings that don't reveal much
* include perf base in telemetry events
* move perfBaseline-math into timer service
2022-10-20 17:45:22 +02:00
Johannes af538ded4d
use fib(26) as performance baseline, not code loading 2022-10-20 16:04:46 +02:00
Ladislau Szomoru 9c76d66e69
Git - implement cancellation for updating the model (#163926)
* Initial implementation

* Polish implementation

* Add cancelled label in the output

* Revert change that is not needed

* Pull request feedback

* Dispose listener

* Port changes manually
2022-10-20 06:26:22 -07:00
Ladislau Szomoru 2fa61a14b8
Git - Extract querying for status so that it can run in parallel with the other operations (#163990) 2022-10-20 04:37:04 -07:00
Ladislau Szomoru 76191c7c75
Engineering - Remove proposal that has been finalized (#164127)
Remove proposal that has been finalized
2022-10-20 04:30:27 -07:00
Ladislau Szomoru c139361a3c
Git - catch exceptions while fast-forwarding a branch (#164128)
Fixes #163685
2022-10-20 04:30:10 -07:00
Matt Bierner 25f0749539
Defer creation of parameter hint widget (#164112) 2022-10-20 13:29:21 +02:00
Sandeep Somavarapu de2bc0bdab
Codespaces: remove settings sync is off badge (#164111) 2022-10-20 13:28:41 +02:00
Matt Bierner b1e64a32ae
Remove unused property (#164092) 2022-10-20 13:26:37 +02:00
Matt Bierner c275f7a6d8
Adopt DisposableMap in mainThreadWebviewView (#164091) 2022-10-20 13:26:02 +02:00
Sandeep Somavarapu 10bbedca57
fix #163525 (#164122) 2022-10-20 11:56:29 +02:00
Martin Aeschlimann 929c645c9a
more tunnel access commands (#164076)
more remote tunnel access commands
2022-10-20 09:37:17 +02:00
Matt Bierner 266ff5b78f
Bump distro (#164089) 2022-10-19 16:44:18 -07:00
Jake Bailey b99cf7e41e
Ensure 'undefined' does not make it into tsserver.web.js (#164064) 2022-10-19 16:44:03 -07:00
Alex Ross bebb3ea217
Bump distro (#164079) 2022-10-19 15:28:36 -07:00
Martin Aeschlimann 1b3bf4a550
Support starting tunnel with a given name (#163818)
* Support starting tunnel with a given name

* improve error message
2022-10-19 23:26:20 +02:00
Daniel Imms 90f8571b5a
Merge pull request #164066 from microsoft/tyriar/xterm_update4
Update xterm.js
2022-10-19 14:25:57 -07:00
Daniel Imms bbfff68d40
Update xterm.js
Fixes #163448
2022-10-19 12:13:27 -07:00
Matt Bierner c6fa8b7e03
Skip code lens decoration update if there are no code lenses (#164062)
Skip code lens decoration update if there are no decorations
2022-10-19 12:04:29 -07:00
Daniel Rosenwasser 182beb6ee4
Merge pull request #163498 from DanielRosenwasser/iconsForWalkthroughs
Allow walkthroughs to specify icons.
2022-10-19 11:26:51 -07:00
Logan Ramos d4a47ef024
Loosen types on data sent by telemetry API (#164047) 2022-10-19 10:54:52 -07:00
Matt Bierner b08633e2df
Pick up latest TS for building VS Code (#164044) 2022-10-19 13:24:08 -04:00
Matt Bierner 7f99b7c655
Remove references to finalized proposals in js/ts (#164040) 2022-10-19 13:23:48 -04:00
Matt Bierner dc65087f31
Find input should not create default controls if they never used (#163877)
Find input should not create default controls if they never use them

This makes the regex, matchcase, and whole word controls in the find widget optional. Previously they were always being created but then hidden
2022-10-19 10:08:31 -07:00
Matt Bierner 9be4128f5b
Lazily compute icon classes of quick input items (#163886)
Lazily compute icon classes on quick input items

When showing a file list in quick input, we are eagerly resolving all the icons (even for items that are not visible). In the vscode workspace, this results in 512 calls into `getLanguageIds` every time the full quick input is updated (512 is the max number of quick input files we show)

This updates the icon classes to instead be resolved lazily when the quick input items are rendered. This cuts the cost of `getFilePicks` in half
2022-10-19 10:06:29 -07:00
Matt Bierner ff5260d770
Add CellPartCollection (#164037)
This new class wraps up a list of cell parts. This lets us avoid writing loops everywhere. In the future, we can also use this to optimize cell parts rendering (such as batching context changes)
2022-10-19 09:50:32 -07:00
Jean Pierre d2114a401e
Fixes newline in tree item label makes label unreadable (#163995)
First PR #163345 broke timeline view

Fixes #163224
2022-10-19 18:31:32 +02:00
Matt Bierner 33378c2ec0
Fix organize imports (#164035)
Fixes #163994

This fixes the organize imports command (it was using the wrong id) and also cleans up the implementation
2022-10-19 09:27:41 -07:00
Matt Bierner ee71fefcec
Avoid expensive markdown cell aria updates in non-screen reader mode (#163976)
Updating the aria data for markdown cells is fairly expensive since we need to parse and render html

This PR lets us skip this if the editor is not in screen reader optimized mode
2022-10-19 17:26:36 +02:00
Daniel Imms d105e09d00
Reapply and fix xterm update (#164019)
* Revert "Revert "Update xterm.js" (#164002)"

This reverts commit 462ecfab53.

* Adopt xterm internal API change

See xtermjs/xterm.js#4207
2022-10-19 11:18:24 -04:00
Matt Bierner f177cf1311
Move default dom purify to constant (#163975) 2022-10-19 07:29:18 -07:00
Martin Aeschlimann d77a62dd4c
bump distro (#164027) 2022-10-19 07:22:55 -07:00
Alexandru Dima 904c7438f6
Merge pull request #164030 from microsoft/alexd/instant-tarantula
Record the visible line count for the text in `value` before `selectionStart` in the text area state
2022-10-19 16:08:45 +02:00
Alex Dima d8493fe63c
Record the visible line count for the text in value before selectionStart in the text area state 2022-10-19 15:44:23 +02:00
Alex Dima 88d40efb9d
Fix getValueLengthInRange implementation to convert its range from the view coordinate system to the model coordinate system 2022-10-19 15:40:18 +02:00
Alex Dima b8ac7f8d4f
Expose EndOfLinePreference to getValueLengthInRange and fix its implementation in cases where the text EOL wouldn't match the requested EOL 2022-10-19 15:39:50 +02:00
Johannes Rieken d948f9a0dc
add Iterable#wrap and use it over asArray (safes an array object) (#164023) 2022-10-19 06:15:41 -07:00
Tomer Chachamu 3bd2b70f4a
Allow extension authors to set valueSelection in a QuickPick/InputBox (#157022) 2022-10-19 16:05:01 +03:00
Matt Bierner 40e7185033
Use css to center quick input (#163878) 2022-10-19 16:03:04 +03:00
Martin Aeschlimann b16cd2d486
update @vscode/test-web (#164021) 2022-10-19 05:57:23 -07:00
Johannes Rieken e092705a90
remove wiggle when configuring menus (#164018)
fixes https://github.com/microsoft/vscode/issues/162292
2022-10-19 05:30:56 -07:00
Johannes Rieken 95d79507cc
- when model changes race reset against real elements - some polish (#164017)
- when model changes race reset against real elements
- some polish

fixes https://github.com/microsoft/vscode/issues/162128
2022-10-19 05:28:30 -07:00
Sandeep Somavarapu 9d3fbb3d9a
Revert "Newline in tree item label makes label unreadable" (#164005)
Revert "Newline in tree item label makes label unreadable (#163345)"

This reverts commit 686d568fd9.
2022-10-19 11:23:49 +02:00
Alexandru Dima 462ecfab53
Revert "Update xterm.js" (#164002) 2022-10-19 01:58:06 -07:00