vscode/extensions
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
..
bat Update grammars 2021-05-04 13:42:19 +02:00
clojure Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
coffeescript Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
configuration-editing Add protocol to portsAttributes 2021-05-18 12:55:17 +02:00
cpp Word selection is incomplete for C++ identifiers containing certain allowed characters. Fixes #121343 2021-04-26 22:08:38 +02:00
csharp Revert C# grammar 2021-05-10 14:59:58 +02:00
css Try new CSS grammar 2021-03-11 16:09:05 +01:00
css-language-features Removed deprecated assert from css-language-features 2021-05-04 13:38:44 -04:00
debug-auto-launch Allow to show status bar entries with an id and name (fix #74972) 2021-05-19 14:03:37 +02:00
debug-server-ready server-ready: support debugWithEdge as well as debugWithChrome 2021-05-07 12:02:36 -07:00
docker Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
emmet Emmet identify CDATA for wrap, fixes #123136 2021-05-20 13:20:50 -07:00
extension-editing chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
fsharp Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
git More deprecated assertion cleanup 2021-05-04 15:55:26 -04:00
github chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
github-authentication use dummy uri 2021-05-19 20:40:07 +02:00
go Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
groovy Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
grunt Change grunt, gulp and jake task auto detection to be off by default (#123588) 2021-05-11 19:09:56 +02:00
gulp Change grunt, gulp and jake task auto detection to be off by default (#123588) 2021-05-11 19:09:56 +02:00
handlebars Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
hlsl Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
html fix update-grammars script 2021-02-02 12:30:08 +01:00
html-language-features [html] duplicated onDocumentRangeFormatting handler (#122994) 2021-05-10 18:09:18 +02:00
image-preview Allow to show status bar entries with an id and name (fix #74972) 2021-05-19 14:03:37 +02:00
ini Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
jake Change grunt, gulp and jake task auto detection to be off by default (#123588) 2021-05-11 19:09:56 +02:00
java Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
javascript Update js/ts grammar 2021-04-14 20:42:41 -07:00
json fix #122589 2021-04-30 14:42:10 -07:00
json-language-features Allow to show status bar entries with an id and name (fix #74972) 2021-05-19 14:03:37 +02:00
julia Update grammars 2021-03-29 15:16:24 +02:00
less Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
log Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
lua Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
make Register .mak extension for the Make language (#122614) 2021-05-03 16:03:05 +02:00
markdown-basics Update markdown grammar 2021-05-19 15:34:07 -07:00
markdown-language-features Rewrite webview urls to be more url-ish 2021-05-21 09:28:43 -07:00
merge-conflict chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
microsoft-authentication chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
notebook-markdown-extensions refactor: polish 2021-05-18 16:59:09 -07:00
npm Improve npm trust message 2021-05-17 10:50:33 +02:00
objective-c fix update-grammars script 2021-02-02 12:30:08 +01:00
perl Update perl grammar 2021-04-06 11:30:47 +02:00
php Fix php autoindent with ]) 2021-05-04 15:06:52 -07:00
php-language-features Fix #124240 2021-05-21 09:12:57 -07:00
powershell Update grammars 2021-03-29 15:16:24 +02:00
pug Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
python Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
r Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
razor Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
ruby Add pattern matching 'in' 2021-04-22 09:29:46 -04:00
rust Fixes #118521 2021-03-22 16:27:01 +01:00
scss Update grammars 2021-05-04 13:42:19 +02:00
search-result enable virtual workspace capability 2021-04-23 10:20:23 +02:00
shaderlab Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
shellscript Do not recognize Debian's .install file as a shell script. Fixes #124295 2021-05-21 11:20:33 +02:00
simple-browser chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
sql fix update-grammars script 2021-02-02 12:30:08 +01:00
swift Update grammars 2021-05-04 13:42:19 +02:00
testing-editor-contributions enable virtual workspace capability 2021-04-23 10:20:23 +02:00
theme-abyss Fix port theme color typo 2021-05-04 14:09:39 +02:00
theme-defaults List focus colors are too dark (Fixes #123703) 2021-05-18 10:24:01 -07:00
theme-kimbie-dark Fix port theme color typo 2021-05-04 14:09:39 +02:00
theme-monokai The default Monokai highlight color is displayed incorrectly. Fixes #123044 2021-05-11 13:46:56 +02:00
theme-monokai-dimmed Fix port theme color typo 2021-05-04 14:09:39 +02:00
theme-quietlight Fix port theme color typo 2021-05-04 14:09:39 +02:00
theme-red Fix port theme color typo 2021-05-04 14:09:39 +02:00
theme-seti update seti contribution guide 2021-05-11 17:58:26 +02:00
theme-solarized-dark Fix port theme color typo 2021-05-04 14:09:39 +02:00
theme-solarized-light Fix port theme color typo 2021-05-04 14:09:39 +02:00
theme-tomorrow-night-blue Fix port theme color typo 2021-05-04 14:09:39 +02:00
types fix something 2020-05-11 22:57:34 +08:00
typescript-basics Update js/ts grammar 2021-04-14 20:42:41 -07:00
typescript-language-features [typescript] add limited description 2021-05-21 15:38:02 +02:00
vb Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
vscode-api-tests Merge branch 'main' into notebook/dev 2021-05-19 19:02:13 -07:00
vscode-colorize-tests Add test for C# grammar but 2021-05-10 15:05:52 +02:00
vscode-custom-editor-tests Remove assert.equal from custom editor tests 2021-05-04 15:09:54 -04:00
vscode-notebook-tests update notebook contributions. 2021-05-12 14:56:55 -07:00
vscode-test-resolver Add RemoteAuthorityResolver.getCanonicalURI 2021-05-21 16:48:14 +02:00
xml recognize .axaml as xml language Fixes #117298 2021-03-19 09:32:31 +01:00
yaml Add a compose language (#118042) 2021-03-09 10:52:58 +01:00
cgmanifest.json Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
package.json Pick up TS 4.3.1-rc 2021-05-19 15:47:35 -07:00
postinstall.js Revert "Use rmdirSync instead of rimraf" 2021-03-19 14:12:49 -07:00
shared.webpack.config.js ignore optional dependencies when webpacking 2021-03-22 18:31:21 -07:00
tsconfig.base.json Use more standard name for shared extension tsconfig 2021-04-12 15:58:38 -07:00
yarn.lock Pick up TS 4.3.1-rc 2021-05-19 15:47:35 -07:00