Commit Graph

101809 Commits

Author SHA1 Message Date
Daniel Imms
bbfff68d40 Update xterm.js
Fixes #163448
2022-10-19 12:13:27 -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
Johannes Rieken
99bd8d6199 don't log the actual profile data... (#163987) 2022-10-19 08:52:34 +02:00
SteVen Batten
6a62d4fbdc don't show banner in serverless web (#163959) 2022-10-19 08:03:25 +02:00
Daniel Imms
7ea2788a43 Merge pull request #163183 from microsoft/tyriar/xterm3
Update xterm.js
2022-10-18 21:34:11 -07:00
meganrogge
22978f0b6f xterm@5.1.0-beta.35 2022-10-19 00:17:39 -04:00
Alexandru Dima
2798da9d47 Merge pull request #163970 from microsoft/alexd/convinced-wildebeest
Improve hover positioning
2022-10-19 00:07:37 +02:00
Megan Rogge
3bfd3859b4 add quick fix telemetry (#163323) 2022-10-18 17:58:29 -04:00
Alex Dima
b69147f48c Fix tests 2022-10-18 23:40:25 +02:00
Alex Dima
8f9f5cca2c Improve hover positioning by introducing a secondary anchor 2022-10-18 23:38:09 +02:00
Alex Dima
78fffb9290 Renames 2022-10-18 21:27:47 +02:00
Megan Rogge
0b1a83ecf9 Merge branch 'main' into tyriar/xterm3 2022-10-18 15:24:26 -04:00
Logan Ramos
75cdec29a4 Fix wrong proposed api check (#163964) 2022-10-18 21:16:46 +02:00
Sandeep Somavarapu
ad4295b954 fix loading cached remote icons (#163961) 2022-10-18 21:15:32 +02:00
Martin Aeschlimann
c6188602f4 tunnel cli: add --parent-process-id option (#163935)
* tunnel cli: add --parent-process-id option

* Update cli/src/commands/args.rs

Co-authored-by: Connor Peet <connor@peet.io>

* Change parent process check interval to 2s

Co-authored-by: Connor Peet <connor@peet.io>
2022-10-18 11:52:10 -07:00
Megan Rogge
5e170fc758 remove notification on successful kill of process in freeing port (#163951)
remove notification
2022-10-18 14:25:37 -04:00
Megan Rogge
18247c0af5 if there are tasks to reconnect to, show terminal panel (#163598) 2022-10-18 14:25:18 -04:00
Matt Bierner
b6f4df8a5e Run notebook webviews in consistent origins (#163956) 2022-10-18 11:24:30 -07:00
Alex Ross
b09701ac1b Fix duplicate port forwarding for statically forwarded ports (#163899)
* Fix duplicate port in view

* Include localhost address when resolving external
2022-10-18 11:08:21 -07:00
Logan Ramos
58574650b6 Fix over sanitization of user agents (#163665)
* Fix over sanitization of user agents

* Better user agent test

* Mix in common props after cleaning

* Update comments
2022-10-18 10:39:13 -07:00
Alex Ross
686d568fd9 Newline in tree item label makes label unreadable (#163345)
Fixes #163224
2022-10-18 10:31:30 -07:00
Daniel Imms
3747d2224c Merge pull request #163677 from microsoft/tyriar/161622
Defer updating screen reader content when no in a11y mode
2022-10-18 09:50:37 -07:00
Peng Lyu
301996072b Merge pull request #163519 from debonte/notebookMultiMove
Fix `workspace.onDidChangeNotebookDocument` event for multi-cell moves
2022-10-18 09:34:26 -07:00
Matt Bierner
d634838efd Dispose of rendered markdown properly (#163944) 2022-10-18 09:11:23 -07:00
Andrew Branch
1fb956d2f5 [typescript-language-features] Add removeUnusedImports command (#161654)
* Add `removeUnusedImports` command

* Continue to send `skipDestructiveCodeActions` for older TS versions

* Expose Sort Imports and Remove Unused Imports commands

* Update localization keys

* Update for 4.9 protocol

* Proto must be type only import?
2022-10-18 09:00:16 -07:00
Sandeep Somavarapu
4d183bd274 fix #163210 (#163940) 2022-10-18 17:57:15 +02:00