Commit graph

96926 commits

Author SHA1 Message Date
Daniel Imms 8723d109a5
Skip error shell integration tests on Linux
Part of #150478
2022-05-26 11:25:33 -07:00
Daniel Imms 21a10ca06c
Merge pull request #150469 from microsoft/tyriar/150423
Use debug trap mechanism inspired by starship command
2022-05-26 10:20:29 -07:00
Daniel Imms fce27409fa
Use debug trap mechanism inspired by starship command
Fixes #150423
2022-05-26 09:57:30 -07:00
David Dossett 09c7f7d731
Ensure selected font color is applied to list rows (#150461) 2022-05-26 15:47:41 +00:00
Tyler James Leonhardt cc86b15a44
Enable grabbing translations from an alternate location for server distro/serverful scenarios (#150436)
* nls web story

* better handling of urls

* clean up code and don't do nls in dev

* use version instead of quality

* revert changes in workbench-dev.html

* update nls from changes in vscode-loader

* sanitize url a bit

* revert loader change
2022-05-26 08:19:15 -07:00
Daniel Imms 8873e262c6
Merge pull request #150192 from microsoft/tyriar/149324
Create bash explicitly on linux/mac in shell integration smoke tests
2022-05-26 07:48:48 -07:00
Daniel Imms b411370edd
Merge pull request #150456 from microsoft/tyriar/150453
Fix terminal find styles
2022-05-26 07:48:23 -07:00
Daniel Imms 20514b2dc3
Merge pull request #150214 from microsoft/merogge/task-tests
add task configuration tests
2022-05-26 07:43:01 -07:00
Tyler James Leonhardt 27e10113dc
improve configure display language & add clear display language preference (#150433) 2022-05-26 07:42:03 -07:00
Daniel Imms f86bbaa2a5
Fix terminal find styles
Fixes #150453
2022-05-26 07:36:10 -07:00
Daniel Imms add76598b1
Merge pull request #150420 from microsoft/tyriar/150419
Clear activation timeout if terminal is disposed
2022-05-26 07:16:08 -07:00
Matt Bierner 528ee1ae3d
Allow multiple entries with the same mimetype in dataTransfer (#150425)
Currently our data transfer implementation only allows a single entry of each mimeType. There can only be a single `image/gif` file for example.

However this doesn't match how the DOM apis work. If you drop multiple gifs into VS Code for example, the DataTransfer you get contains entries for each of the gifs.

This change allows us to also support DataTransfers that have multiple entries with the same mime type. Just like with the DOM, we support constructing these duplicate mime data transfers internally, but do not allow extensions to create them

As part of this change, I've also made a few clean ups:

- Add helpers for creating dataTransfer items
- Clarify when adding a data transfer item should `append` or `replace`
- Adopt some helper functions in a few more places
2022-05-25 18:29:28 -07:00
Matt Bierner e262c88fb1
Fix process.platform for picomatch (#150430)
The `picomatch` library currently checks `process.platform`. This check fails on web, which causes the markdown extension to not load

To fix this, I'm replacing `process.platform` with the string`'web'`
2022-05-26 01:28:46 +00:00
Peng Lyu 12cb993238
Create cell execution beforehand (#150410) 2022-05-25 17:30:39 -07:00
Daniel Imms 6844f0b7d1 Clear activation timeout if terminal is disposed
Fixes #150419
2022-05-25 16:01:25 -07:00
Daniel Imms 5fca335f5b
Merge pull request #150411 from microsoft/tyriar/150401
Prevent work for really long links
2022-05-25 15:42:45 -07:00
Megan Rogge e7833fe75c
show terminal find history placeholder on focus (#150409) 2022-05-25 13:38:11 -07:00
Daniel Imms d50d10809d
Merge pull request #150413 from microsoft/tyriar/148061
xterm@4.19.0-beta.52
2022-05-25 13:33:46 -07:00
João Moreno 3ed15398de
update endgame notebook (#150407) 2022-05-25 13:22:30 -07:00
Megan Rogge 22806eaa8e
re-enable terminal tabs test (#148966) 2022-05-25 12:54:31 -07:00
Daniel Imms 9c1926d726
xterm@4.19.0-beta.52
Fixes #148061
2022-05-25 12:51:23 -07:00
Daniel Imms 5f7983c8a5
Fix tests to work with new link filtering 2022-05-25 12:30:19 -07:00
Ian Huff 280f1be7ba
quick draft PR for not throwing when looking for a chunked password (#150402)
* quick draft PR for not throwing when looking for a chunked password

* update comment with more info

Co-authored-by: Ian Huff <ianhuff@Ians-MacBook-Pro.local>
2022-05-25 12:19:28 -07:00
Megan Rogge 4d166fc71a
don't add telemetry for feature terminals etc (#150224) 2022-05-25 12:07:16 -07:00
Megan Rogge 9d18042706
fix #150390 (#150395)
fix #150392
2022-05-25 12:06:51 -07:00
Daniel Imms b118105bf2
Prevent work for really long links
- We no longer get all xterm.js content for a full wrapped line but limit it to
a certain context, this context depends on the type of link detector.
- There is also a sanity check when calling the low level helper function just
in case.

Fixes #150401
2022-05-25 12:05:19 -07:00
Ladislau Szomoru 149e2b7674
Fix #149831 (#150276) 2022-05-25 20:51:08 +02:00
Rob Lourens 8eeed3dd6c
Fix bad layout of search input (#150405)
Fix #150381
2022-05-25 18:27:58 +00:00
Rob Lourens 3e8d674698
Clicking outline in notebook should reveal cell near the top of the editor (#150336)
Fixes #123828
2022-05-25 11:09:59 -07:00
Peng Lyu 07afcd94f4
Merge pull request #150397 from microsoft/rebornix/updateContextKeyWithSourceCommands
Ensure execution and kernel status visible when there are source comm…
2022-05-25 10:58:00 -07:00
Henning Dieterichs d979e958a7
Merge pull request #150391 from microsoft/3wm
3 way merge for git
2022-05-25 19:02:45 +02:00
Megan Rogge 3837e55e31
update bash status correctly (#150322) 2022-05-25 09:38:54 -07:00
rebornix 4cf4438fc0
Ensure execution and kernel status visible when there are source commands contributed. 2022-05-25 09:33:13 -07:00
Peng Lyu cd5de4675e
Merge pull request #150299 from microsoft/rebornix/fix-list-pageup-down
Fix list pageup down
2022-05-25 09:22:00 -07:00
Henning Dieterichs ac312975c6
Merge branch 'main' into 3wm
# Conflicts:
#	build/lib/i18n.resources.json
2022-05-25 18:12:25 +02:00
Henning Dieterichs 63121f8039
Code polishing 2022-05-25 18:02:31 +02:00
Rich Chiodo e9620973dd
Merge pull request #150300 from rchiodo/rchiodo/iw_output_scrolling
Fix interactive window to scroll as output resizes
2022-05-25 09:01:58 -07:00
Henning Dieterichs cdeaf55221
Implements synchronized scrolling. 2022-05-25 17:55:57 +02:00
Johannes ce01702bbe
make git "accept from merge editor" command save the document and close the merge editor (uses heuristic to identify merge editor tab) 2022-05-25 17:43:02 +02:00
Jonas Dellinger 97f8e66d74
A full editor can be used as git commit message editor (#95266)
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2022-05-25 17:16:10 +02:00
Johannes 38931b6a3d
add git.experimental.mergeEditor setting to enable/disable merge editor for conflicting files 2022-05-25 17:08:15 +02:00
Martin Aeschlimann 07655f3a23
use remote cli when in remote terminal (#150372) 2022-05-25 16:21:16 +02:00
Ladislau Szomoru 986ef1c76d
Disable Terrapin for OSS builds (#150374) 2022-05-25 13:43:11 +00:00
Daniel Imms d4f428940f
Merge branch 'main' into tyriar/149324 2022-05-25 06:35:27 -07:00
João Moreno 73dda0c06a
remove UpdateMode policy (#150357) 2022-05-25 05:42:17 -07:00
Sandeep Somavarapu 52c5c31139
use fake timers (#150356) 2022-05-25 12:31:56 +02:00
Matt Bierner e4f7f6a9da
Add PasteEditProvider (#107283)
For #30066

This adds a new `documentPaste` api proposal that lets extensions hook into copy and paste.

This can be used to do things such as:

- Create link when pasting an image
- Bring along imports when copy and pasting code
2022-05-25 12:27:58 +02:00
Henning Dieterichs 1ed660b17e
editor gutter accept buttons bug-fixing. 2022-05-25 11:59:53 +02:00
Matt Bierner a6724dcc10
Bump default JS target for scripts in html (#150240)
* Bump default JS target for scripts in html

For JS/TS files, we target ES2020 by default. However in html files we're still stuck targetting es6

This change aligns the two

* use es2020.full (includes dom), fix web, avoid searching in node_modules

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-05-25 11:50:44 +02:00
Ladislau Szomoru 9ade6a6636
Engineering - Refactor cyclic dependency (#150343)
* Refactor to avoid cyclic dependency

* Pull request feedback + compilation errors
2022-05-25 10:01:21 +02:00