Commit Graph

10530 Commits

Author SHA1 Message Date
Matt Bierner d4412e708a Render markdown preview cells inside a shadow dom (#120137)
* Render markdown preview cells inside a shadow dom

Fixes #119971

This moves all markdown previews into shadow doms. This lets us prevent styles from outside the preview leak into the preview, and also prevents styles from the preview leak out into the rest of the notebook

* Use composedPath for handling events in webviews

This lets us handle clicks triggered inside of a shadow dom
2021-03-30 14:17:15 -07:00
Matt Bierner 795f44ea6a Build VS Code with latest TS nightly 2021-03-30 13:30:09 -07:00
Raymond Zhao c0ed513633 Add output.inlineBreak parameter, fixes #119088 2021-03-30 12:51:40 -07:00
Raymond Zhao 1f5ff0f17a Bump dependencies, affects #119088 2021-03-30 12:51:39 -07:00
Raymond Zhao 6e07fb24ee Remove unnecessary condition, fixes #119120 2021-03-30 11:45:06 -07:00
Raymond Zhao 9b091c7d22 💄 Emmet tests 2021-03-30 11:30:32 -07:00
Ladislau Szomoru 849a2db25b Update markdown-it (#120161) 2021-03-30 05:34:25 -07:00
Pooya Vakeely 95420b39f2 Add cuda-cpp lang id, grammar and problem matchers (#119444)
* Adding a language ID for CUDA

* Adding aliases for CUDA C++

* Add problem matcher for cuda-cpp based on nvcc output

* Adding a grammar for cuda-cpp

* Adding a language configuration file for cuda-cpp

* Adding a colorizer test for cuda-cpp

* Update the update-grammars.js to pick up cuda-cpp.tmLanguage.json

* Add cgmanifest entry for cuda grammar

Co-authored-by: Alex Ross <alros@microsoft.com>
2021-03-30 11:18:48 +02:00
Matt Bierner 3499f63dc1 Exploration: Better transferring of TypedArrays used in Webview.postMessage (#115664)
* Improve passing of ArrayBuffers to and from webviews

Fixes #115807

* Serialize and restore typed arrays too

This also makes it so that if you pass the same ArrayBuffer twice in an object, we use a single object on the receiver side too

* Fix spelling

* Require VS Code 1.56+
2021-03-30 06:49:34 +00:00
meganrogge 9fd5f25ec5 rendererType -> gpuAcceleration 2021-03-29 18:35:07 -07:00
Daniel Imms 0ff1928a3b Merge pull request #120002 from microsoft/tyriar/terminal_sandbox
electron-sandbox refactors for terminal
2021-03-29 16:47:00 -07:00
Daniel Imms 182d40c07c Fix test 2021-03-29 15:34:22 -07:00
Daniel Imms da94e122d1 Merge remote-tracking branch 'origin/main' into tyriar/gpuaccel 2021-03-29 14:40:17 -07:00
Daniel Imms 06ce7bd297 Fix hygiene 2021-03-29 14:40:01 -07:00
rebornix 06a451d815 Merge branch 'notebook/dev' into main 2021-03-29 14:39:40 -07:00
Daniel Imms 7d67641ef3 Merge remote-tracking branch 'origin/main' into tyriar/gpuaccel 2021-03-29 14:23:56 -07:00
Daniel Imms dcb7f7c853 Skip environmentVariableCollection suite
Part of #119826
2021-03-29 14:23:48 -07:00
William Desgardin 30ccdf6b6c feat: add typographer option for markdown preview (#119641)
Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-03-29 14:18:59 -07:00
Daniel Imms f02e4853c3 Change rendererType to gpuAcceleration
Fixes #106202
2021-03-29 14:15:45 -07:00
rebornix 14373a5fc5 Merge remote-tracking branch 'origin/main' into notebook/dev 2021-03-29 14:09:27 -07:00
Andrew Branch 29ca249959 [typescript-language-features] Support import statement completions for TypeScript 4.3 (#119009)
* Support import statement completions for TypeScript 4.3

* Fix forgotten argument

* Add snippet preference

Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-03-29 11:38:22 -07:00
Matt Bierner a39120ddd1 Add support for JSDoc link tags (#119358)
* Add support for JSDoc @link tags

Fixes #119357

* Fix unresolved links not rendering
2021-03-29 11:29:52 -07:00
arnobl 1c3c96b4b9 fix(notebook): redo cell creation does not re-select the cell 2021-03-29 10:59:41 -07:00
Peng Lyu a573d500d0 Merge pull request #120086 from arnobl/fix-notebook-redo-selection
fix(notebook): redo cell creation does not re-select the cell
2021-03-29 10:59:04 -07:00
Raymond Zhao a5f7945b3b Update git test for integration tests, fixes #120116 2021-03-29 09:39:39 -07:00
Martin Aeschlimann 3e16e9151b update typescript-vscode-sh-plugin. For #120103 2021-03-29 16:42:37 +02:00
Alex Ross 17e7a257ff Update grammars 2021-03-29 15:16:24 +02:00
Johannes Rieken d13f3b4a2f remove NotebookContentProvider#resolveNotebook 2021-03-29 12:21:45 +02:00
Benjamin Pasero 7f36af1c92 debt - improve emmet integration tests
- properly close all editors
- disable minimap to prevent spammy output
2021-03-29 09:20:49 +02:00
Ladislau Szomoru 5d2e7aceda Remove code that is not needed (#120005) 2021-03-29 09:20:47 +02:00
Benjamin Pasero b19f50e016 debt - improve emmet integration tests
- properly close all editors
- disable minimap to prevent spammy output
2021-03-29 08:31:14 +02:00
arnobl 7fbddb5522 fix(notebook): redo cell creation does not re-select the cell 2021-03-28 23:15:28 +02:00
Ladislau Szomoru 6aa528024b Remove code that is not needed (#120005) 2021-03-27 07:52:29 +00:00
Eric Amodio 99c8eb6994 Fixes regex - codespaces remotes are missing .git 2021-03-25 18:24:41 -04:00
Greg Van Liew 64256f22d6 Merge pull request #119895 from gregvanl/settingTypos
Setting descriptions typos and formatting
2021-03-25 11:44:25 -07:00
gregvanl 975115a2cb Setting descriptions typos and formatting 2021-03-25 10:17:31 -07:00
Connor Peet 05ce54df77 testing: remove unused contributions 2021-03-24 21:12:12 -07:00
Rob Lourens 1a425eacb8 Accept single outputs or arrays in execution task output edit methods
Fix #119601
2021-03-24 17:48:26 -07:00
meganrogge b63cfb3a8b skip test and remove unused code 2021-03-24 15:27:24 -07:00
Jackson Kearl 8d6c2a2388 Make drop shadow much more subtle
Closes #119633
2021-03-24 15:21:09 -07:00
Johannes Rieken 22212f5de8 use APIs over commands, fixes (?) https://github.com/microsoft/vscode/issues/119437 2021-03-24 15:01:36 -07:00
Eric Amodio 38160c823c Fixes codespaces fork on push
Codespaces might not have a push url on the remote, so use the fetch url
2021-03-24 17:11:24 -04:00
Matt Bierner e3e7fb0b2a Set explicit mode for markdown preview code
Fixes #119813
2021-03-24 12:30:37 -07:00
Matt Bierner addf2d6d9e Fix spelling for gitignore 2021-03-24 12:29:08 -07:00
Matt Bierner f8c1ffbb0c Build simple-browser media during watch
Fixes #119795

This lets us avoid having these files checked in
2021-03-24 12:27:30 -07:00
Martin Aeschlimann 8d3d8e0cd0 html: add vscode-languageserver-textdocument as dependency 2021-03-23 19:32:55 +01:00
Martin Aeschlimann 8c7a3d8f6c html: fix compile errors 2021-03-23 19:30:46 +01:00
Martin Aeschlimann 4eb625f0cf [html] update service 2021-03-23 15:41:42 +01:00
Alex Ross 64381abea9 unconfiguredPortsAttributes -> otherPortsAttributes
Fixes microsoft/vscode-remote-release#4732
2021-03-23 15:06:04 +01:00
Rob Lourens 194c37b4cf Fix test for latestExecutionSummary init 2021-03-22 18:45:32 -07:00