Matt Bierner
9847783f62
Remove uuid from webview resource uris
...
This is no longer be needed. We still serve the webview code itself from a unique subdomain
This also removes the need for `serviceWorkerFetchIgnoreSubdomain`
2021-05-21 09:28:43 -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
rebornix
8a4bf3081a
update folding on mouse over
2021-05-21 09:26:54 -07:00
Rob Lourens
70c87f0db9
Fix #124240
2021-05-21 09:12:57 -07:00
Benjamin Pasero
adf68a52d5
editors - some type 💄 around setInput
2021-05-21 17:54:05 +02:00
Johannes Rieken
effac5be7f
drop as-prefix for ICreateCellInfo
2021-05-21 17:30:29 +02:00
Benjamin Pasero
8f093359f0
editors - simplify some serialized editor input
2021-05-21 17:03:01 +02:00
Alex Dima
8aff8020da
Improve guard against unexpected URI call
2021-05-21 16:59:55 +02:00
Johannes Rieken
82cd4f027a
fix leaking of NotebookCellOutputTextModel and NotebookCellOutputTextModel#_onDidChange, fyi @rebornix
2021-05-21 16:56:28 +02:00
Ladislau Szomoru
c5b9b6c48c
Fix missing async
2021-05-21 16:50:59 +02:00
Johannes Rieken
5807530e3a
more jsdoc
2021-05-21 16:48:17 +02:00
Alex Dima
85f518b255
Add RemoteAuthorityResolver.getCanonicalURI
2021-05-21 16:48:14 +02:00
Alex Dima
c650993dd3
Add ResolvedOptions.isTrusted
2021-05-21 16:48:14 +02:00
Benjamin Pasero
49e96be2fc
💄 prefer readonly
over public readonly
2021-05-21 16:47:37 +02:00
Johannes Rieken
1087876df8
Use vendor-prefix for notebook specific mime-types, e.g application/vnd.code.notebook.stdout
2021-05-21 16:37:29 +02:00
Logan Ramos
045e5d2f56
Store conflicting defaults in storage service ( #124366 )
...
* Revert "Revert "Closes #122433 ""
This reverts commit 29c61570a5
.
* Get rid of ? to see if minifier is happy
* Bump ES build
2021-05-21 10:02:55 -04:00
isidor
fc0b6f5e5a
fixes #122653
2021-05-21 16:01:45 +02:00
Johannes Rieken
8b25f922b6
builtin support image/gif mime type
2021-05-21 16:01:29 +02:00
Johannes Rieken
61aca51a32
consolidate SVGRendererContrib and HTMLRendererContrib - both were the same...
2021-05-21 15:53:49 +02:00
Johannes Rieken
fb6f0d95fa
consolidate JSONRenderer and CodeRenderer
2021-05-21 15:50:46 +02:00
Johannes Rieken
103892d1eb
fix code renderer layouting issues
2021-05-21 15:43:49 +02:00
Martin Aeschlimann
32a06b9be2
[typescript] add limited description
2021-05-21 15:38:02 +02:00
Martin Aeschlimann
bbe3b2266b
allow to signal limited functionality in virtual workspaces
2021-05-21 15:38:01 +02:00
Johannes Rieken
d65dace8ea
Merge pull request #123351 from nrayburn-tech/fix-77239
...
Add showDeprecated option to suggest, filters out deprecated options
2021-05-21 15:28:41 +02:00
Logan Ramos
b9f2011939
Bump distro
2021-05-21 09:13:36 -04:00
Johannes Rieken
815f217174
jsdoc for factories, some unit tests, https://github.com/microsoft/vscode/issues/123884
2021-05-21 15:07:48 +02:00
Johannes Rieken
8268bd46e7
💄
2021-05-21 13:29:18 +02:00
Johannes Rieken
375a15f07e
Merge branch 'main' into notebook/dev
2021-05-21 12:59:49 +02:00
Johannes Rieken
996dfffd63
enforce proposed API for shortTitle proposal, https://github.com/microsoft/vscode/issues/124355
2021-05-21 12:57:41 +02:00
Johannes Rieken
c5637229dd
Merge pull request #124289 from microsoft/command/shortTitle
...
Short title for command contribution
2021-05-21 12:49:55 +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
Benjamin Pasero
100a70731d
SVG images are not render in the tooltip ( fix #123688 )
2021-05-21 12:13:04 +02:00
Benjamin Pasero
949f60498a
Merge pull request #124346 from microsoft/ben/pfs-promises
...
fs - favor non promise based methods (fix #124176 )
2021-05-21 11:36:20 +02:00
isidor
063be236f3
scm do not auto focus input box on iPad
...
fixes #122044
2021-05-21 11:34:45 +02:00
Benjamin Pasero
f19843b0a3
editors - some 💄 and tests for workspace trust in openEditors
2021-05-21 11:33:58 +02:00
Henning Dieterichs
9086ecd9f0
Renames Suggestion to Completion and cleans up API
2021-05-21 11:29:08 +02:00
João Moreno
a6f7aa5e4c
handle workspace uris
...
related to #124263
2021-05-21 11:26:09 +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
Johannes Rieken
90b9e04f95
try to use suffix for view type when creating untitled notebook, fyi @brettfo, https://github.com/microsoft/vscode/issues/121974
2021-05-21 10:47:00 +02:00
isidor
779f9876bc
debug: properly read the debug.saveBeforeStart respecting activeEditorMode
2021-05-21 10:44:28 +02:00
Johannes Rieken
79e642a5dd
move and simplify renderer registry
2021-05-21 09:51:37 +02:00
Johannes Rieken
bbc293839d
declare IRenderMainframeOutput#dispose and adopt it for builtin renderer
2021-05-21 09:51:37 +02:00
Johannes Rieken
55059ffe21
todo
2021-05-21 09:51:37 +02:00
Johannes Rieken
e6dd819bf0
first cut of "bytes only" output items
2021-05-21 09:51:37 +02:00
Benjamin Pasero
4b5db9098c
smoke test - disable failing search test
...
//cc @JacksonKearl
2021-05-21 09:12:01 +02:00
Benjamin Pasero
17459a4abd
notebooks - add test for NotebookWorkingCopyTypeIdentifier
2021-05-21 08:52:59 +02:00
Benjamin Pasero
43b51ce8e7
notebooks - fix type identifier compute
2021-05-21 08:50:03 +02:00
Benjamin Pasero
703ca68ea6
fix typo
2021-05-21 08:39:26 +02:00
Benjamin Pasero
b8fe2db439
fileworkingcopymanager2 => fileworkingcopymanager
2021-05-21 08:37:29 +02:00
Benjamin Pasero
0e58bef15c
file working copy => stored file working copy
2021-05-21 08:23:56 +02:00