Commit Graph

996 Commits

Author SHA1 Message Date
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
rebornix b9c163faee asWebUri. 2020-05-14 17:53:33 -07:00
Rachel Macfarlane 9e5e032622 Always show confimation dialog on sign out, fixes #96612 2020-05-14 13:00:33 -07:00
isidor dc31d5b59e move accessibilityInformation to existing file and reanme to IAccessibilityInformation 2020-05-14 17:31:05 +02:00
isidor 6e50f24e64 vscode api: introduce accessibilityInformation 2020-05-14 17:25:46 +02:00
rebornix e3c3ea27e0 Switch kernel info. 2020-05-13 18:26:41 -07:00
Rachel Macfarlane b2e0c85030 Remove 'Show features using this account' picker, show timestamps in 'Manage trusted extensions', fixes #96367, fixes #96357 2020-05-13 15:11:43 -07:00
rebornix c120c15055 Fix postmessage on notebook editor. 2020-05-13 13:58:21 -07:00
rebornix 03acd2250a Fix #96433 2020-05-13 12:47:39 -07:00
rebornix a15661000f adopt notebook kernel 2020-05-13 11:31:06 -07:00
Rob Lourens eeac47cd7b Fix, execute notebook in extension by passing 'undefined' 2020-05-13 11:29:01 -05:00
rebornix d3c97cd998 Fix microsoft/vscode-github-issue-notebooks#26. 2020-05-13 08:39:16 -07:00
Rachel Macfarlane d0a3feff23 Add account activity badge and sign in command for auth provider requests 2020-05-12 20:35:03 -07:00
Martin Aeschlimann bafca191f5 Extension API: window.activeColorTheme does not report the correct theme. Fixes #97369 2020-05-12 09:41:19 +02:00
Rachel Macfarlane 4a875e0d7c Add getSession and hasSessions to authentication namespace 2020-05-11 18:32:36 -07:00
SteVen Batten 6b4258e724 allow icon and contextualtitle on views from exts 2020-05-11 16:44:28 -07:00
SteVen Batten 56b8c19205 support contextual title via containerTitle 2020-05-11 11:42:34 -07:00
Matt Bierner e3bc0ad257 Unregister capabilities on provider dispose
Fixes #97060
2020-05-11 11:21:39 -07:00
rebornix 6ff9361158 Merge remote-tracking branch 'origin/master' into rebornix/hotexit 2020-05-06 12:43:00 -07:00
rebornix 4447915b00 saveAs 2020-05-06 12:42:36 -07:00
rebornix b4dd66bc85 revert. 2020-05-06 11:43:19 -07:00
Sandeep Somavarapu a54912ca12 Fix #96695 2020-05-06 10:56:12 +02:00
rebornix cb7ea6e166 Remove notebook content provider 2020-05-05 18:43:25 -07:00
rebornix 1b5217985b notebook document creation in UI side 2020-05-05 18:43:25 -07:00
rebornix 0d445385ea Re #93265. 2020-05-04 18:27:47 -07:00
Peng Lyu cd49ae3a7d Merge pull request #96810 from microsoft/rebornix/notebook-textbuffer
Text buffer in CellTextModel and hook up with Working Copy Service
2020-05-04 12:04:27 -07:00