Commit graph

82385 commits

Author SHA1 Message Date
Jackson Kearl
852b70eafe
Try fix (#124384) 2021-05-21 17:36:20 +00:00
Daniel Imms
c5da7f33a7 Fix wsl detection in profiles tests
Part of #124257
2021-05-21 10:16:31 -07:00
Mohammad Zainuddin
b78754e1e4
fix incorrect links (#124203)
Co-authored-by: Mohammad ZAINUDDIN <mohammad.zainuddin@amadeus.com>
2021-05-21 10:02:47 -07:00
Matt Bierner
a0d7f6292e
Remove a few instances of 'vs code' in d.ts
For #124361
2021-05-21 09:35:56 -07:00
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
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
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
Ladislau Szomoru
c5b9b6c48c
Fix missing async 2021-05-21 16:50:59 +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
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
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
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
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
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
isidor
779f9876bc
debug: properly read the debug.saveBeforeStart respecting activeEditorMode 2021-05-21 10:44:28 +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
Jackson Kearl
78fbc51ad7
Close #124325 2021-05-20 22:56:25 -07:00
Benjamin Pasero
633ea85708
notebook working copy - some cleanup before refactorings 2021-05-21 07:45:40 +02:00
Benjamin Pasero
d0c5675f6f
editors - less group.openEditor usage
//cc @lramos15
2021-05-21 07:45:40 +02:00
Jackson Kearl
e66c62f38a
Generalize smoke text 2021-05-20 22:21:19 -07:00
Jackson Kearl
89c8f91988
Add smoke test for #124146 2021-05-20 22:20:48 -07:00
Jackson Kearl
4fd4e10e99
Fix #124146? 2021-05-20 21:58:15 -07:00
meganrogge
bfb822e4cf
fix #124284 2021-05-20 21:15:16 -07:00
Connor Peet
2f2b6b528d
testing: show duration for test results, handle state computation better 2021-05-20 18:26:47 -07:00
Matt Bierner
3e5faf69c1
Remove console.log 2021-05-20 17:39:34 -07:00
Matt Bierner
9e04a67d12
Switch to use vscode-webview.net as default webview endpoint
This moves us off of `vscode-webview-test` to instead use `vscode-webview.net` for loading webview resources. We now also pick this up from the product.json instead of hardcoding it
2021-05-20 17:38:18 -07:00
Matt Bierner
acc07bd959
Mark properties readonly 2021-05-20 17:38:18 -07:00
rebornix
bf4c7042a3
cell toolbar overlap with notebook toolbar. 2021-05-20 17:21:39 -07:00
Jackson Kearl
f29bd6f18d
Dont autofocus input on ipad
Fix #122044
2021-05-20 16:21:42 -07:00
SteVen Batten
5b0fc94e6a fire event when trust is change in empty window #wt 2021-05-20 16:20:47 -07:00
Jackson Kearl
c1b809ef22
Fix #124307 2021-05-20 16:15:48 -07:00