Commit Graph

10880 Commits

Author SHA1 Message Date
Tyler Leonhardt e0c8a76b7a don't sort scope list. Fixes Microsoft/vscode-pull-request-github#2751 2021-05-27 16:45:59 -07:00
Matt Bierner 9eeb092206 Re-enable skipped test
Fixes #119146
2021-05-27 15:44:27 -07:00
Matt Bierner 280e007073 Add undocumented always syntax only TS server mode
Fixes #124649
2021-05-27 14:40:47 -07:00
rebornix 866ecdd45a Merge branch 'notebook/dev' into main 2021-05-27 14:04:55 -07:00
Matt Bierner b8f11107f7 Use @types/vscode-webview 2021-05-27 13:41:38 -07:00
Johannes Rieken 9ef57b5c21 remove NotebookCellOutputItem#value, https://github.com/microsoft/vscode/issues/123884 2021-05-27 14:55:25 +02:00
Martin Aeschlimann 693677c8a2 babel.config.json language mode should be 'jsonc'. Fixes #124683 2021-05-27 13:33:47 +02:00
Johannes Rieken 9d907212ba rename NotebookCellExecutionTask to NotebookCellExecution 2021-05-27 12:14:20 +02:00
Martin Aeschlimann 5d534b94f8 dart: fix language configuration location 2021-05-27 12:10:11 +02:00
João Moreno 0637663fcf fix isNoCorsEnvironment 2021-05-27 11:45:12 +02:00
Martin Aeschlimann c1d4497a31 Merge pull request #124664 from microsoft/aeschli/dart
dart as built-in language
2021-05-27 08:36:05 +02:00
Ikko Ashimine b5b059d2e2 fix typo in files.ts (#124693)
* fix typo in files.ts

occured -> occurred

* fix typos
2021-05-27 07:34:17 +02:00
Nicholas Rayburn c538781d78 add notification if tsserver logs are left on for more than 7 days (#124149)
* add notification if tsserver logs are left on for more than 7 days fix #123493

* extended tsserver logging notification updates

* cleanup excess new lines

* typescript loglevelmonitor cleanup

* remove todo
2021-05-26 13:23:12 -07:00
Matt Bierner 1e6b6cb684 Pick up TS 4.3 final
Fixes #122884
2021-05-26 12:55:32 -07:00
Matt Bierner 6a12866c3e 💄 2021-05-26 12:55:32 -07:00
Tyler Leonhardt f1a5d40aa7 refactor getCallbackEnvironment to return authority by default 2021-05-26 11:54:15 -07:00
Matt Bierner 9464d14f31 Make notebook renderer activate potentially async (#124647)
* Make notebook renderer activate potentially async

- Allow activate to be `async`
- Make `getRenderer` always return a promise instead of the api result directly

* Add comment on why we use async
2021-05-26 09:15:00 -07:00
Ashray Jha 5eb64c54ca Modified markdown preview nested list styling (#124445)
* Modified markdown preview nested list styling

* Added proper styling to the nested list

* merge different rules into a single one
2021-05-26 09:05:35 -07:00
Martin Aeschlimann a961587ecf dart as built-in language 2021-05-26 11:52:41 +02:00
Martin Aeschlimann 98dc73a329 unnecessary space in in julia cgmanifest 2021-05-26 11:48:20 +02:00
Matt Bierner 68efd480d0 Explicitly convert properties to strings before uploading 2021-05-25 18:30:18 -07:00
rebornix 473cfe28bf Revert "Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main""
This reverts commit 7c01395da1.
2021-05-25 17:49:34 -07:00
Harald Kirschner 7c01395da1 Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main"
This reverts commit 7a976501eb, reversing
changes made to 2257676834.
2021-05-25 17:19:40 -07:00
rebornix b4f4839da5 fix integration test 2021-05-25 14:31:40 -07:00
rebornix 6bcd590a70 Merge branch 'notebook/dev' into main 2021-05-25 14:24:16 -07:00
rebornix e1731e9104 fix build 2021-05-25 14:23:05 -07:00
Martin Aeschlimann 757fd91f04 Hide TestReolver.newWindow when in virtual workspace 2021-05-25 23:07:49 +02:00
Martin Aeschlimann cf2a866b7d test resolver: supports untrusted workspaces 2021-05-25 23:07:44 +02:00
Raymond Zhao 3ccbe2a6b1 Fixes #124247 2021-05-25 12:19:51 -07:00
Martin Aeschlimann 741beb8f26 TestResolver, use 127.0.0.1, not localhost 2021-05-25 16:30:57 +02:00
Johannes Rieken ffd1f84ea9 rename notebookOutputRenderer to notebookRenderer, https://github.com/microsoft/vscode/issues/121819 2021-05-25 12:31:53 +02:00
Matt Bierner b1823157d5 Fall back to existing published webview commit (#119295) 2021-05-24 22:36:22 -07:00
Daniel Imms b04c966892 Fix test resolver with trusted workspaces 2021-05-24 12:14:27 -07:00
Hassan Sani dbdc7a259e added bottom spacing for table in markdown preview (#124385) 2021-05-24 12:14:01 -07:00
Matt Bierner b314536e56 Move find file references into the search group
For #115694
2021-05-21 17:59:54 -07:00
Matt Bierner 7bc2019b8d Updating pinning test 2021-05-21 15:01:05 -07:00
Jean Pierre be8745ac9e Fixes #123228 (#123584)
Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-05-21 14:51:18 -07:00
Matt Bierner 6ee883bfa3 Split href before decoding instead of after
Fixes #123228

This fixes the case where `#` appears in the path
2021-05-21 14:49:46 -07:00
Matt Bierner 77ff6eb03b Add image specific link normalizer (#124400) 2021-05-21 14:42:50 -07:00
Matt Bierner e9b8c12915 Add types 2021-05-21 14:36:19 -07:00
rebornix a03daaf850 Merge branch 'notebook/dev' into main 2021-05-21 14:13:43 -07:00
Matt Bierner 22dc518a21 Remove unused type 2021-05-21 12:16:49 -07:00
Matt Bierner 97bbacd808 Remove extra call to with 2021-05-21 12:16:49 -07:00
Matt Bierner 79dea51e79 Rewrite webview urls to be more url-ish
## Problem

Webview uris currently have the form:

```
https://uuid.vscode-webview.net/vscode-resource/scheme/authority/path...
```

We have this syntax because we need to be able to recover the original scheme and authority of the resource in order to load it from disk

However this syntax means that absolute urls don't behave as you'd expect. For example, if you have a webview that sets a `<base>` to a document in the workspace, an absolute url `/abs/path.png` ends up being resolved to:

```
https://uuid.vscode-webview.net/abs/path.png
```

This drops the original scheme and authority, which prevents us from loading the resource

## Fix
With this change, I've moved the original scheme and authority into the authority of the webview uri instead of the path:

```
https://scheme+authority.vscode-resource.uuid.vscode-webview.net/path...
```

With this change, absolute paths should correctly be resolved
2021-05-21 09:28:43 -07:00
Rob Lourens 70c87f0db9 Fix #124240 2021-05-21 09:12:57 -07:00
Johannes Rieken effac5be7f drop as-prefix for ICreateCellInfo 2021-05-21 17:30:29 +02:00
Alex Dima 85f518b255 Add RemoteAuthorityResolver.getCanonicalURI 2021-05-21 16:48:14 +02:00
Martin Aeschlimann 32a06b9be2 [typescript] add limited description 2021-05-21 15:38:02 +02:00
Johannes Rieken 375a15f07e Merge branch 'main' into notebook/dev 2021-05-21 12:59:49 +02:00
Johannes Rieken 494e827e35 expose output item bytes to renderers and provide util functions: asText, asJSON, asBytes, asBlob, fyi @connor4312, https://github.com/microsoft/vscode/issues/123884 2021-05-21 12:36:10 +02:00