Commit Graph

930 Commits

Author SHA1 Message Date
Johannes Rieken
57cd5d4936 🪓 remove unused $acceptDisplayOrder-RPC and everything around it 2021-02-19 15:02:43 +01:00
Johannes Rieken
93ec7113e1 don't bind notebook document to a provider/extension, do then when calling backup, fixes https://github.com/microsoft/vscode/issues/117035 2021-02-19 14:54:32 +01:00
Johannes Rieken
7e7a71d733 💄 more supportsBackup removal 2021-02-19 14:54:32 +01:00
Connor Peet
5a0bf3751a testing: add method to publish extension-provided results 2021-02-18 17:33:24 -08:00
Rachel Macfarlane
d131331195 Remove extra info from onDidChangeSessions event 2021-02-18 15:36:28 -08:00
rebornix
9c77f4d86a add NotebookDocument.save(). 2021-02-18 11:57:49 -08:00
rebornix
e8836805dc remove attachedEditors. 2021-02-18 11:56:18 -08:00
Megan Rogge
7130344e98 Merge branch 'main' into tyriar_megan_reconnect 2021-02-18 11:22:23 -08:00
Daniel Imms
666351b321 Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-18 04:35:54 -08:00
Connor Peet
b09a71dce7 testing: update test results api to spec
Refs https://github.com/microsoft/vscode/issues/107467#issuecomment-780776814
2021-02-17 16:34:01 -08:00
Alex Ross
44dbd18255 Wait for tree to be registered before disposing
This fixes the tree view rpc test
Fixes #116776
2021-02-17 11:48:20 +01:00
Alex Ross
7a0caf4d86 Let Remote extensions set port source (#116838) 2021-02-17 10:33:46 +01:00
Daniel Imms
3859ba936d Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-16 07:52:25 -08:00
Andre Weinand
e537fd9e31 first cut of proposed "inline values provider" API 2021-02-16 16:31:33 +01:00
Johannes Rieken
974b214334 rename: resolveNotebook is openNotebook 2021-02-16 14:50:57 +01:00
Daniel Imms
982b28f42d Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-16 02:44:34 -08:00
Johannes Rieken
18c04a5716 make vscode.NotebookCellRange a class 2021-02-15 16:06:48 +01:00
Johannes Rieken
196bf678a1 reset dirty state when reverting a notebook, update extension host when dirty state of a notebook (working copy) changes 2021-02-15 11:44:51 +01:00
Rachel Macfarlane
14669c2e45 Make scopes parameter optional to getSessions and remove getAllSessions 2021-02-12 09:13:11 -08:00
Daniel Imms
e4d8575caf Merge remote-tracking branch 'origin/master' into tyriar/megan 2021-02-12 05:32:15 -08:00
Johannes Rieken
215cd17276 Merge pull request #116443 from microsoft/joh/kernelLanguages
Add support for kernel#supportedLanguages
2021-02-12 10:09:21 +01:00
Rachel Macfarlane
eceff53351 Rename login/logout to createSession/removeSession 2021-02-11 16:46:47 -08:00
Rachel Macfarlane
650906c369 Pass scopes through to authentication providers 2021-02-11 14:15:36 -08:00
Megan Rogge
8dd7a21bd6 Merge branch 'tyriar/megan' into tyriar_megan_reconnect 2021-02-11 12:21:33 -08:00
Megan Rogge
68a47518f8 move things back to platform and delete duplicate code 2021-02-11 12:19:25 -08:00
Megan Rogge
a35338b250 move things back to the workbench and leave only necessary items in platform 2021-02-11 11:02:03 -08:00
Daniel Imms
a9536c368c Merge remote-tracking branch 'origin/master' into tyriar/megan 2021-02-11 08:15:03 -08:00
Johannes Rieken
e498c28de1 Merge branch 'master' into joh/kernelLanguages 2021-02-11 16:45:39 +01:00
Megan Rogge
73e5f518cd Merge branch 'tyriar/megan' into tyriar_megan_reconnect 2021-02-11 06:21:03 -08:00
Johannes Rieken
6c92a6605c Merge branch 'master' into notebook/outputs 2021-02-11 15:03:41 +01:00
Johannes Rieken
ccc28e3726 Remove languages property from NotebookData and NotebookDocument 2021-02-11 14:21:40 +01:00
Daniel Imms
59264e2ab1 Merge remote-tracking branch 'origin/master' into tyriar/megan 2021-02-11 05:16:08 -08:00
Johannes Rieken
9737b1aad1 move INotebookKernelInfoDto2 to protocol, separate kernel from dto, renames 2021-02-11 11:59:32 +01:00
Connor Peet
c36a09929c testing: implement retired test state
Fixes https://github.com/microsoft/vscode/issues/115086
2021-02-10 15:34:42 -08:00
Megan Rogge
da39b7af3e create PersistentTerminalProcess and move terminal and environmentVariable files from workbench -> platform 2021-02-10 15:26:05 -08:00
Daniel Imms
1abb2d9534 Merge remote-tracking branch 'origin/master' into tyriar/74620_2 2021-02-10 11:34:32 -08:00
Johannes Rieken
b881f37fcc Merge branch 'master' into notebook/outputs 2021-02-10 18:20:40 +01:00
Connor Peet
9070508076 Merge branch 'connor4312/refactor-test-states' 2021-02-09 16:15:16 -08:00
Connor Peet
3d4cabb608 testing: refactor to new runState API
Fixes: https://github.com/microsoft/vscode/issues/115101.
See issue for details.

- Adopts the new API
- Test results now persist across reloads (last 64 runs).
- Removed state grouping in favor of sorting option.
- Code lenses are disabled for now
2021-02-09 16:12:37 -08:00
rebornix
11b885de68 Merge remote-tracking branch 'origin/master' into notebook/outputs 2021-02-09 09:27:49 -08:00
Johannes Rieken
efd5a000c0 add InlineHintKind to InlineHint-type 2021-02-09 15:56:24 +01:00
Daniel Imms
6132a763bc Get one way communication happening 2021-02-09 04:07:38 -08:00
Daniel Imms
456841a93b Create createProcess ipc interface 2021-02-08 12:37:10 -08:00
Johannes Rieken
e3d0d9c00c Merge branch 'master' into notebook/outputs 2021-02-08 10:44:34 +01:00
SteVen Batten
afd102cbd2 Trusted Workspaces Feature Branch Merge (#115961)
* draft trusted workspace service / model

* renaming

* add request model and action

* err fix

* add request handlers with mock actions

* some quick fixes

* adding badge icon to activity bar gear

* Add Statusbar item to indicate trust

* Cleanup code

* Add background color

* Use theme color for the status background color

* adding basic editing experience

* observe trust with startup tasks

* Extension enablement

* Add capability to provide a custom message

* Remove old actions

* explorer: if you can not undo, pass undo to editor

fixes #111630

* Remove plug icon from ports view
Part of https://github.com/microsoft/vscode-internalbacklog/issues/1689

* Fixed compilation error

* Handle extension uninstall

* Handle extension install

* Ability to prompt when state is untrusted

* Do not change state is the modal dialog is dismissed or the Cancel button is pressed

* Refactored enablement code

* Prompt when installing from VSIX

* Prompt when installing from the Gallery

* Move file into the browser folder

* fixes and polish

* restructure workspace contributions

* restructure actions and use confirmations

* Initial draft of the proposed APIs

* Added stubs for the proposed api

* Trusted Workspace proposed API

* Fix a regression introduced by merge

* status bar indicator improvements

* remove helper command as we now have hooks

* verbose messaging for the immediate request

* add indication to global activity icon of pending request

* try personal title

* Add configuration setting

* Add additional extension actions

* Fix contributions

* Removed context key that is not needed

* Fixed issue with the dialog

* Reduce arbitrary event limiter from 16ms down to 4.16666 (support for monitors up-to 240hz) #107016

* Fixes #115221: update emoji tests

* Give a higher priority to language configuration set via API call (#114684)

* debug console menu action polish

* Avoid the CSS general sibling combinator ~ for perf reasons

* more notebook todos

* Use label as tooltip fallback properly
Part of #115337

* Fixes microsoft/monaco-editor#2329: Move `registerThemingParticipant` call to `/editor/`

* Fix port label not always getting set
Part of microsoft/vscode-remote-release#4364

* simplify map creation, fyi @bpasero

* Fix #114432: Multiple save dialogs appearing on Windows if Ctrl+S is pressed multiple times (#114450)

* fix multiple save dialogs appearing on Windows when spamming Ctrl+S

* remove old fix and instead keep track of windows with open dialogs in the dialogMainService

* keep initialisation of activeWindowDialogs in constructor

* remove unused variable

* some changes

* queue dialogs based on hash of options

* simplify structure, fix comment typo

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* remove unnecessary async/await for aquireFileDialogLock method

* don't acquire file dialog lock for message boxes

* use MessageBoxReturnValue | SaveDialogReturnValue | OpenDialogReturnValue instead of any type for getWindowDialogQueue

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

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

* 💄 dialog main service locks

* debt - adopt some ? operator

* Better hiding of custom hover in icon label

* Limit to 8ms (120fps)

* more API todos for notebooks

* 💄

* Update grammars

* chore - group notebook specific api proposals together

* added unreleased fixes to endgame notebook

* Add changes back to the modal dialog

* Add back the workspace trust proposed APIs

* Adjust dialog buttons

* Standardize on WorkspaceTrust name across interfaces, classes, variables

* Renamed some of the missing keys

* Add TestWorkspaceTrust stub and fix failing tests

* Add requiresWorkspaceTrust property to fix test failure

* remove notebook change

Co-authored-by: Ladislau Szomoru <lszomoru@microsoft.com>
Co-authored-by: isidor <inikolic@microsoft.com>
Co-authored-by: Alex Ross <alros@microsoft.com>
Co-authored-by: TacticalDan <gorksorf@gmail.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: Cameron <cameron532@gmail.com>
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2021-02-06 00:38:32 -08:00
rebornix
5024a7053a convert output exthost/main. not optimized. 2021-02-05 14:34:40 -08:00
rebornix
0a972947a1 no error and stream output anymore 2021-02-05 11:41:41 -08:00
rebornix
175ac0e0e5 OutputDto always has id 2021-02-05 11:25:54 -08:00
Alex Ross
26e6d9e93a Set the remote ext host pid and name (#115891)
Fixes #115213
2021-02-05 17:00:34 +01:00
rebornix
f2b87fd6cd Extensions do not update cell outputs/metadata directly. 2021-02-04 16:35:50 -08:00