Commit Graph

1021 Commits

Author SHA1 Message Date
Rachel Macfarlane
3718e630d1 Use submenu instead of quickpick for showing account commands, fixes #99901 2020-06-12 11:51:14 -07:00
isidor
cc06e19b15 Introduce DebugSessionOptions.noDebug
#99743
2020-06-12 17:33:00 +02:00
Johannes Rieken
28cb90be8c chore - ES6, use for-of instead of forEach 2020-06-12 16:20:23 +02:00
Alex Dima
1927f9b6e0 Add getters for connection data & events for changes 2020-06-12 13:57:12 +02:00
Johannes Rieken
b662583062 chore - more ES6 iteration 2020-06-12 13:55:31 +02:00
Matt Bierner
5f3e2078a3 Add more explict message queue for webviews while they are loading 2020-06-11 20:05:33 -07:00
Rob Lourens
34573b3d1a Removes usages of deprecated values helper
#99664
2020-06-10 11:55:58 -05:00
SteVen Batten
c21521acf7 add missing icons for comments and ref prev 2020-06-09 09:15:22 -07:00
rebornix
af949eff9d ignore empty notebook events. 2020-06-08 15:09:11 -07:00
Johannes Rieken
72d14ad2fb refactor suggest land to read clipboard async and only when needed, https://github.com/microsoft/vscode/issues/98497 2020-06-08 14:22:15 +02:00
Benjamin Pasero
20107ba262 Revisit duplication of ignoreOverrides and overrideId between inputs and options (fix #99123) 2020-06-08 12:36:22 +02:00
Johannes Rieken
48a2d3e863 if needed , read clipboard inside MainThreadEditors#insertText, https://github.com/microsoft/vscode/issues/98497 2020-06-08 12:03:01 +02:00
rebornix
31101e83ff no layout after list view being disposed. 2020-06-05 14:53:33 -07:00
Matt Bierner
5f5089a60b Don't log errors when a pending backup is cancelled
Fixes #91680

This is expected to happen if a new backup comes in while another one is still going on
2020-06-04 15:29:40 -07:00
rebornix
11848b40d3 re #99240. 2020-06-04 14:46:37 -07:00
rebornix
adae0e5b4e Fix #98841. Open file should only emit document open event, no cells change event. 2020-06-02 15:13:32 -07:00
Matt Bierner
9d856be662 Add more logging for webview state parse failures
For #97503
2020-06-01 20:06:21 -07:00
rebornix
466d8724c8 140Merge remote-tracking branch 'origin/master' into rebornix/notebook-events 2020-06-01 08:46:12 -07:00
Benjamin Pasero
a131d1498a uri - adopt uri identity for main thread documents when reacting to 2020-06-01 10:46:05 +02:00
rebornix
0bf860564a Diffing editors/documents/visibleEditors/activeEditor. 2020-05-30 17:59:14 -07:00
rebornix
7fccb0d608 use updateState/compute instead of sending delta directly. 2020-05-30 17:57:48 -07:00
Matt Bierner
50f907f0ba Add more strict typing for webview options
We can only send URI components over from the extension host to the renderer process. Make sure the typings reflect that

Follow up on #98746
2020-05-30 11:03:18 -07:00
Johannes Rieken
b0d056202b Use canonical uri for openTextDocument api, #93368 2020-05-29 18:16:31 +02:00
Johannes Rieken
5721d63eb6 notebooks - wire up onDidChange event from notebook providers, fyi @rebornix, https://github.com/microsoft/vscode/issues/96403 2020-05-29 13:20:28 +02:00
Matt Bierner
9721b4ab5c Make sure custom editor working copy is initially considered dirty
For #96503
2020-05-28 22:58:20 -07:00
Matt Bierner
03cbe60992 Fix isReadonly being inverted for custom editors
For #96503

This should enable the revert command on windows
2020-05-28 22:18:18 -07:00
Matt Bierner
6cc7c45203 Make sure we keep around custom editor models while autosave is going on
For #96503
2020-05-28 21:53:18 -07:00
rebornix
8bac4d17ad combine events from edits from ext host. 2020-05-27 16:00:49 -07:00
rebornix
315807911c transform outputs for backup 2020-05-27 14:34:15 -07:00
rebornix
714991ce95 switch mimetype now should be done async. 2020-05-26 20:35:22 -07:00
rebornix
914fa13e26 support renderer and content provider registered in different extension host. 2020-05-26 20:11:49 -07:00
rebornix
b26e0bcf39 send out missing selection change event when moving cells. 2020-05-26 08:08:00 -07:00
Benjamin Pasero
a23d4daefa Dangling text file models of deleted files hanging around in memory (#98154)
* Dangling text file models of deleted files hanging around in memory (fix #98057)

* address feedback
2020-05-26 16:29:12 +02:00
Benjamin Pasero
54faf8ea41 debt - remove unused services 2020-05-26 10:07:50 +02:00
rebornix
23f5231511 asWebvewUri requires guid. 2020-05-20 12:17:26 -07:00
Johannes Rieken
90b337af5c create markers with canonical uris, https://github.com/microsoft/vscode/issues/93368 2020-05-20 16:46:51 +02:00
Rachel Macfarlane
4f46398b7e Send auth provider API calls through renderer when on remote 2020-05-19 17:46:36 -07:00
rebornix
5c928428df notebookEditor.visible 2020-05-19 17:20:20 -07:00
Peng Lyu
536078737f Merge pull request #98126 from microsoft/rebornix/documentNEditors
Separate notebook document and editor events.
2020-05-19 15:09:52 -07:00
Johannes Rieken
7ab052aec4 first cut of token_at_position api, https://github.com/microsoft/vscode/issues/91555 2020-05-19 16:23:08 +02:00
rebornix
025bd27df7 webview comm based on editor other than document. 2020-05-18 18:13:45 -07:00
rebornix
d9fd263f52 load document with editor id. 2020-05-18 18:03:58 -07:00
rebornix
55ac452768 webview id attached to notebook editor 2020-05-18 16:29:02 -07:00
rebornix
a14736ca5e introduce visible notebook editors 2020-05-18 15:45:32 -07:00
Rachel Macfarlane
a7fb3ef303 Fix sign out confirmation message 2020-05-18 14:56:08 -07:00
rebornix
9a384768c3 Fix #97694. 2020-05-18 10:35:43 -07:00
rebornix
2d6df55ad1 Notebook kernel preloads 2020-05-17 21:12:58 -07:00
Rachel Macfarlane
87b0c54586 Make AuthenticationSession a class and remove getAccessToken method, fixes #91554 2020-05-15 14:34:04 -07:00
Matt Bierner
307cb32f30 Add vscode-webview-resource protocol (#97777)
* Add vscode-webview-resource protocol

Adds a new protocol (`vscode-webview-resource`) for loading resources insides of webviews. This replaces the existing `vscode-resource` protocol and is registered on the main thread instead of in each renderer

This change also adds some rewriting logic to update any `vscode-resource:` references found in the main html to use `vscode-webview-resource` instead.

* Move webview protcol provider to own file

* Remove registration of vscode-resource scheme

* Remove use or parition for each webview

Now that we have a single shared protocol handler, we do not need to run each webview in its own partition

* Fix rewriting csp to use new protocol

* Update src/vs/code/electron-main/app.ts

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-05-15 11:34:08 -07:00
Isidor Nikolic
33187ab34e Merge pull request #97825 from microsoft/isidorn/accessibilityInformation
vscode api: introduce accessibilityInformation
2020-05-15 16:41:34 +02:00