Commit graph

10866 commits

Author SHA1 Message Date
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
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
Martin Aeschlimann
73c6f34f9e Do not recognize Debian's .install file as a shell script. Fixes #124295 2021-05-21 11:20:33 +02:00
rebornix
894b7782cc
Merge branch 'notebook/dev' into main 2021-05-20 14:17:28 -07:00
Raymond Zhao
9627b4ea63
Emmet identify CDATA for wrap, fixes #123136 2021-05-20 13:20:50 -07:00
Andrea Mah
18c254987c Merge branch 'main' into dev/t-andreamah/markdown-static-preview-scroll-state 2021-05-20 09:47:29 -06:00
rebornix
f583b4b336
Merge branch 'main' into notebook/dev 2021-05-19 19:02:13 -07:00
Matt Bierner
34180ac9be
Remove code allowing multiple ids for a command
This doesn't appear to be used anywhere
2021-05-19 18:23:51 -07:00
Matt Bierner
35eafb7873
Add sort imports command
Fixes #122593

Sort imports just sorts imports, vs organize imports which also removes unused imports
2021-05-19 18:20:16 -07:00
Andrea Mah
4fbd548d72 Merge branch 'main' into dev/t-andreamah/markdown-static-preview-scroll-state 2021-05-19 17:25:56 -06:00
Andrea Mah
f594bb47e5 removing more unecessary whitespace 2021-05-19 17:00:55 -06:00
Andrea Mah
41606da2dc removing unecessary spaces 2021-05-19 16:59:26 -06:00
Andrea Mah
9ee1906718 pr feedback and combining prevEditor info for preview and non-preview 2021-05-19 16:57:12 -06:00
Matt Bierner
f433b4781a
Pick up TS 4.3.1-rc 2021-05-19 15:47:35 -07:00
Matt Bierner
d921cc41fc
Update markdown grammar 2021-05-19 15:34:07 -07:00
Rob Lourens
0d33806803 Add suiteRepeat test util 2021-05-19 14:29:32 -07:00