Commit graph

90544 commits

Author SHA1 Message Date
Alex Ross 5cfed19ad7
Add trace logging to terminal task system
Part of #134431
2021-12-07 16:18:32 +01:00
Johannes Rieken d1ae860377
No need for trusted types in extHost worker and worker extension loading, https://github.com/microsoft/vscode/issues/138588 2021-12-07 15:14:44 +01:00
Alex Ross 95dcb89a92
Update grammars 2021-12-07 15:12:01 +01:00
Alex Dima a2da2566b5
Fixes #137866: Keep the web worker extension host iframe origin stable by storing it in local workspace storage 2021-12-07 15:03:07 +01:00
Johannes Rieken acbb31b213
💄 2021-12-07 14:44:07 +01:00
Alex Dima 0a81bd1bbf
Use an identical CSP for both https and http (enabled by using 'self') 2021-12-07 14:40:56 +01:00
Alex Dima 5cd3e31c2b
Always run the web worker extension host in an iframe 2021-12-07 14:30:08 +01:00
Henning Dieterichs 2657005896
Extract indent/bracket guides logic from TextModel to GuidesTextModelPart. 2021-12-07 14:28:05 +01:00
Alex Dima b2e9a3e2e2
Remove deprecated ways of configuring the web worker extension host iframe src 2021-12-07 14:09:35 +01:00
Sandeep Somavarapu 5a9e780f0a
fix #138515 2021-12-07 14:07:45 +01:00
Henning Dieterichs 55c15b14d0
Revert "Extract indent/bracket guides logic from TextModel to GuidesTextModelPart."
This reverts commit b4b5567d65.
2021-12-07 13:50:26 +01:00
Alexandru Dima 0b6c70df0b
Merge pull request #138520 from microsoft/joh/iframeWebWorker
wrap web worker inside iframe when running in desktop
2021-12-07 13:45:12 +01:00
Henning Dieterichs b4b5567d65
Extract indent/bracket guides logic from TextModel to GuidesTextModelPart. 2021-12-07 13:36:23 +01:00
Alex Dima 3eee722d2e
Reuse httpsWebWorkerExtensionHostIframe when running locally in the desktop (by allowing 'self'). This change does not relax in any way the CSP in the web case since https: was allowed before. 2021-12-07 13:12:41 +01:00
Henning Dieterichs b54608012b
bracketPairs -> bracketPairsTextModelPart 2021-12-07 12:40:13 +01:00
Henning Dieterichs f5ecc176c9
Implements dynamic dependency check for both get and _read. 2021-12-07 11:36:34 +01:00
Alex Ross 26ccfac245
Fix command line building for linux -> Windows remote
Part of #5989
2021-12-07 11:33:09 +01:00
Johannes Rieken 3d13b9aeb4
expose CancellationToken on onWill-file events 2021-12-07 11:27:33 +01:00
Martin Aeschlimann c669cd268c
Merge pull request #138277 from microsoft/aeschli/openRecentWithMatchingAuthority
store remoteAuthority in backup or history
2021-12-07 11:23:15 +01:00
Henning Dieterichs b2de74cb1f
Implements dynamic dependency check (to address #138348). 2021-12-07 11:22:32 +01:00
Henning Dieterichs 707f6700d5
Merge pull request #138348 from microsoft/hediet/remove-deps
Removes unused field ComputedEditorOption.deps
2021-12-07 11:12:47 +01:00
Benjamin Pasero f8d37f3756
backups - avoid timeout in test 2021-12-07 11:01:18 +01:00
Benjamin Pasero 6b8ae54620
backups - fix tests 2021-12-07 10:35:39 +01:00
Johannes Rieken 5c31535ea8
add more API rpc tests, https://github.com/microsoft/vscode/issues/115679 2021-12-07 09:22:48 +01:00
Benjamin Pasero 5f63d720d5
backups - suspend/resume onWillShutdown 2021-12-07 08:39:12 +01:00
Johannes Rieken 470cee7f66 update API notebook milestone 2021-12-07 07:56:25 +01:00
Benjamin Pasero db4fbd3666
editors 💄 2021-12-07 07:48:58 +01:00
Daniel Imms 97365851e5
Merge pull request #138561 from microsoft/tyriar/138508
Strip relative path prefixes when checking for validated links
2021-12-06 19:17:21 -08:00
Matt Bierner d07ee60829
Update markdown grammar 2021-12-06 18:13:39 -08:00
Jonathan Carter 1921071835
Added theme image support to the markdown preview (#137820) 2021-12-06 18:06:02 -08:00
Daniel Rosenwasser 4fb22d76cf
"Surround with" in TS/JS snippets (#138565)
* Preserve selected text in snippets to provide "surround-with"-like functionality.

* Add the same "surround with"-like functionality to JS snippets.
2021-12-06 18:01:09 -08:00
Matt Bierner 974442023a
Better name for method 2021-12-06 16:38:47 -08:00
Tyler Leonhardt 0c2038d32d
Fixes #138247 2021-12-06 16:30:43 -08:00
Matt Bierner 925807b77d
Fix find on web not handling next properly
Fix #138275

Introduced by bbc10afeda

The root problem bbc10afeda fixed is that `window.find` starts after the current selection. If your document consists of `abc abcd` for example, the following happens:

1. Type `a` in the find box
1. The first `a` is correctly highlighted
1. Type `b` to refine the search
1. The search no longer sees the first `a`, so we skip ahead to the second `a`, which is unexpected

To fix this, I added code to collapse the selection before continuing the search. However we were also collapsing the selection when you hit the next button, which just resulted in the same word being re-selected again instead of skipping ahead to the next word.

This fix avoids collapsing the selection when you are simply pressing next
2021-12-06 16:28:24 -08:00
Matt Bierner e88394000f
Fix markdown outline for cases without a space after #
Fixes #138027
2021-12-06 15:58:11 -08:00
Daniel Imms a432d39da5 Strip relative path prefixes when checking for validated links
A relative path prefix on a link is a strong signal that it's a complete file name,
so use that to check for an exact relative to the workspace directory.

Fixes #138508
2021-12-06 15:31:28 -08:00
Daniel Imms 8bf3e4f34e Only restore terminal process name if source was api
Fixes #138509
2021-12-06 14:55:10 -08:00
Daniel Imms 9fca35e388 Pass locale to exthost for process revive date format
Fixes #136855
2021-12-06 14:39:44 -08:00
Raymond Zhao e40596a16c
Skip flaky updateImageSize suite
Ref #138499
2021-12-06 12:47:38 -08:00
Joyce Er efd055b8ba
Refresh markdown preview on all file changes (#138301)
* Refresh markdown preview on all file changes

* Don't watch `https`, `http`, and `data` uris
2021-12-06 12:36:22 -08:00
Megan Rogge 08fe3f2247
finalize terminal location API (#138530) 2021-12-06 12:03:15 -08:00
Rob Lourens 715754bc20 Remove 10k limit on copying text search results
Fix #138431
2021-12-06 12:02:43 -08:00
Rob Lourens 2fd934ec24 Use markdownDescription 2021-12-06 12:02:41 -08:00
Megan Rogge 33e67129bc
fix #138359 (#138532) 2021-12-06 12:00:34 -08:00
Benjamin Pasero 13c0ed811e
🆙 playwright & set trace names (#138539) 2021-12-06 19:42:05 +01:00
Megan Rogge 32c2b3d4ff
fix #138224 (#138538) 2021-12-06 10:40:14 -08:00
Johannes Rieken 59e6984ec4
fix https://github.com/microsoft/vscode/issues/138284 2021-12-06 19:31:18 +01:00
Alex Dima 7663e88b07
Fix treeshaking problems 2021-12-06 19:18:30 +01:00
Alex Dima 726f1252b1
Small improvements to types 2021-12-06 19:18:30 +01:00
Logan Ramos 18252333b6
Introduce onDidModelChange to the group (#137388)
* Add aggregate model event

* Switch to aggregate model events

* Use GroupChangeKind instead

* Switch to using GroupChange event

* Introduce an onDidModelChange

* Move group change to belong to the model

* Address comments

* editors - for now keep `GroupChangeKind' accessible via groups service

* one more

* avoid IEditorCloseEvent

* further avoid types

* simplify events

* clean up events

* fix reexport issue

* Address PR feedback

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2021-12-06 13:02:51 -05:00