Commit graph

79429 commits

Author SHA1 Message Date
Johannes Rieken
1f43f5ffcf
use INotebookEditorModelResolverService#onDidChangeDirty to drive notebook file tracker 2021-03-30 12:01:03 +02:00
Johannes Rieken
29a1cfddcd
make sure dirty state of notebooks from simple content provider is reflected in extension host, add integration test 2021-03-30 11:50:20 +02:00
Johannes Rieken
5cf75096a6
💄 2021-03-30 11:22:12 +02: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
Johannes Rieken
3287cedd34
no more usage of assert.equal, https://github.com/microsoft/vscode/issues/118667 2021-03-30 09:55:49 +02:00
Johannes Rieken
c3aa80c57b
Merge branch 'main' into notebook/dev 2021-03-30 09:43:54 +02:00
Matt Bierner
2b04ebaa11
Remove unused static functions in grid (#120123)
Detected with latest TS build
2021-03-30 09:23:17 +02:00
João Moreno
eb7ccce154 update y18n 2021-03-30 09:17:55 +02:00
Sandeep Somavarapu
452b685b99 use assert.strictEqual 2021-03-30 08:53:39 +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
Benjamin Pasero
242bea8c8f
zoom - always set it early on (fix #108920) 2021-03-30 08:36:47 +02:00
Matt Bierner
de4b1cf9dc Add placeholder for empty markdown cells
Fixe #119576
2021-03-29 23:22:06 -07:00
Matt Bierner
eb17cca0d5 Don't call updateOutputRendering if dom not has not been set
Fixes #119611
2021-03-29 23:22:06 -07:00
rebornix
f908389c0b
fix #117670. 2021-03-29 20:11:22 -07:00
Megan Rogge
97044c900a
Adopt workbench.hover.delay in the terminal (#120134)
* fix #119329
2021-03-30 02:21:26 +00:00
Megan Rogge
768ea66254
Handle error in getting wsl distros (#120124)
fix #120119
2021-03-30 02:19:27 +00:00
meganrogge
9fd5f25ec5 rendererType -> gpuAcceleration 2021-03-29 18:35:07 -07:00
SteVen Batten
e09adb28ff add trusted parent button 2021-03-29 17:36:36 -07:00
rebornix
2a1f20afc7
fix #115432. 2021-03-29 17:24:12 -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
Connor Peet
cbed5812a3
testing: fix name of view container 2021-03-29 16:41:05 -07:00
Connor Peet
469cd185a9
testing: add run/debug actions to context menu
Fixes #119651
2021-03-29 16:41:05 -07:00
Connor Peet
9a27f0e2cc
testing: s/re-run/rerun/
Fixes #119650
2021-03-29 16:41:04 -07:00
Connor Peet
ca43526452
testing: be more consistent about focus actions, add context menu to reveal
Fixes #119649
2021-03-29 16:41:04 -07:00
Connor Peet
3aff04dcae
testing: improve test item labels
Fixes #119635
Fixes #119643
2021-03-29 16:41:04 -07:00
Connor Peet
20fc2a175a
debug: fix rare(?) cannot read property of null error when debugging 2021-03-29 16:41:04 -07:00
Connor Peet
214acf0d65
fix: don't open peeks when tests are retired
Fixes #119856
2021-03-29 16:41:03 -07:00
Connor Peet
a565ba12a3
testing: remove peek if showing for removed test
Fixes #117524 properly this time
2021-03-29 16:41:03 -07:00
Connor Peet
48e8463a89
testing: tear down app if renderer crashes
Fixes https://github.com/microsoft/vscode/issues/117068
2021-03-29 16:41:03 -07:00
Connor Peet
b6fc5df1d4
testing: toggle all visibility when reselecting the same test filter
Fixes #119629
2021-03-29 16:41:02 -07:00
rebornix
412f45fa80
re #111663. 2021-03-29 16:22:34 -07:00
Matt Bierner
368f44e07b Enable iframe based webviews on desktop for webviews that don't need search
For  #83188

This will let us get more test coverage of iframe based webviews
2021-03-29 16:11:40 -07:00
Matt Bierner
c310e40221 Enable webview developer tools command for iframe based webviews
Iframe based webviews are debuggable/inspectable using the standard dev tools. They do not have their own dev tools window
2021-03-29 16:11:40 -07:00
Daniel Imms
da681f2fef
Merge pull request #120131 from microsoft/tyriar/gpuaccel
Change rendererType to gpuAcceleration
2021-03-29 16:02:43 -07:00
Daniel Imms
182d40c07c
Fix test 2021-03-29 15:34:22 -07:00
Daniel Imms
6bf2a7eb96
Merge remote-tracking branch 'origin/main' into tyriar/terminal_sandbox 2021-03-29 14:40:57 -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
Matt Bierner
34354cd5a5 Enable useMarkdownRenderer by default again and document this experimental setting 2021-03-29 14:28:18 -07:00
Daniel Imms
878c3fb7f4
Merge remote-tracking branch 'origin/main' into tyriar/terminal_sandbox 2021-03-29 14:24:15 -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
deepak1556
bfe889d3b9 chore: bump electron@11.4.1
Fixes https://github.com/microsoft/vscode/issues/40262
2021-03-29 14:15:38 -07:00
Benjamin Pasero
21fca08c97
Revisit webviewExternalEndpoint in environment (#118950) (#119780) 2021-03-29 14:13:29 -07:00
Matt Bierner
4dc2d399c7 Fix TS 4.3 compile errors
For https://github.com/microsoft/TypeScript/issues/43419

- Works around type assertions not catching a method can modify the type
- Add more explicit typings
2021-03-29 14:10:00 -07:00
Matt Bierner
47256436d8 Remove explicit assignment
This breaks TS's type inference. Required for TS 4.3
2021-03-29 14:09:59 -07:00
Matt Bierner
755424b11f Add type for constant
For TS 4.3 update
2021-03-29 14:09:59 -07:00