Commit Graph

650 Commits

Author SHA1 Message Date
Johannes Rieken
9fe7b6446d support setTextDocumentLanguage-api for notebook cells, fyi @rebornix 2021-02-19 15:29:42 +01:00
Johannes Rieken
fa6c46b74b Merge pull request #116968 from DonJayamanne/fixOutputMetadata
Cell output metadata to be added to Notebook Model
2021-02-19 12:53:44 +01:00
Don Jayamanne
73ccfc027c Oops 2021-02-18 20:36:06 -08:00
rebornix
9c77f4d86a add NotebookDocument.save(). 2021-02-18 11:57:49 -08:00
Don Jayamanne
33dc53fe95 Oops 2021-02-18 10:17:17 -08:00
Don Jayamanne
6b7bb2308b Cell output metadata to be added to Notebook Model 2021-02-18 10:14:05 -08:00
Daniel Imms
666351b321 Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-18 04:35:54 -08:00
Daniel Imms
16510dfc86 Remove logs from test 2021-02-18 04:29:19 -08:00
Johannes Rieken
869fb74662 Merge pull request #116901 from DonJayamanne/fixRunState
Ensure Notebook Cell runState is updated correctly
2021-02-18 08:53:39 +01:00
Don Jayamanne
473c7ddd50 Ensure tests run to completion 2021-02-17 17:41:18 -08:00
Don Jayamanne
58f86d083d Fixes to enure tests complete 2021-02-17 16:52:03 -08:00
Don Jayamanne
c0b69b03a9 Ensure runState is updated correctly 2021-02-17 16:33:10 -08:00
rebornix
086112d496 move cell output tests to document. 2021-02-17 12:09:32 -08:00
rebornix
0354f334ed remove unreached code. 2021-02-17 12:09:32 -08:00
Johannes Rieken
5870204e95 make notebook and cell metadata classes, https://github.com/microsoft/vscode/issues/116333 2021-02-17 14:19:49 +01:00
rebornix
79b8259abb change cell language with cell change events. 2021-02-16 19:41:30 -08:00
rebornix
b3f8737839 fix #116808. 2021-02-16 16:40:51 -08:00
rebornix
b0bd28137a add test for #115855. 2021-02-16 16:40:51 -08:00
rebornix
1267767472 fix #116598. broadcast output items change. 2021-02-16 14:59:58 -08:00
Daniel Imms
c41fb76299 Re-enable all tests 2021-02-16 12:13:39 -08:00
Daniel Imms
994ad37588 Log more in test 2021-02-16 08:36:03 -08:00
Daniel Imms
35abaaf606 Log all lines in failing test 2021-02-16 08:08:09 -08:00
Daniel Imms
982b28f42d Merge remote-tracking branch 'origin/main' into tyriar/megan 2021-02-16 02:44:34 -08:00
Johannes Rieken
ac916cbb2d don't assert rpc strictness yet 2021-02-16 09:32:37 +01:00
Johannes Rieken
d9c653c8b6 increase default timeout for event waiting, fixes https://github.com/microsoft/vscode/issues/116704 2021-02-15 17:17:10 +01:00
Johannes Rieken
ac5b7117ec assert no rpc in notebook doc test 2021-02-15 12:52:54 +01:00
Johannes Rieken
cc4d7e8a11 update (restore) language test for new cells 2021-02-15 11:52:14 +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
Johannes Rieken
5236d34460 run active editor test only when having focus 2021-02-15 11:40:21 +01:00
Daniel Imms
90f344fe7e Skip echo test again 2021-02-12 17:05:24 -08:00
Daniel Imms
0e16b7a0fe Simplify echo works in the default shell 2021-02-12 15:59:54 -08:00
Daniel Imms
6841c52357 Try conpty in integration tests 2021-02-12 15:20:25 -08:00
Daniel Imms
0e3ec619b6 Revert "Re-enable most tests"
This reverts commit a5994556a8.
2021-02-12 15:19:45 -08:00
Daniel Imms
0ebe81ecc1 Revert "Skip all but 2"
This reverts commit 7934b9d439.
2021-02-12 15:19:34 -08:00
Daniel Imms
7934b9d439 Skip all but 2 2021-02-12 14:55:49 -08:00
Daniel Imms
a5994556a8 Re-enable most tests 2021-02-12 14:10:21 -08:00
Daniel Imms
68f1497536 Skip echo works in the default shell test 2021-02-12 13:40:59 -08:00
Daniel Imms
66d300b1bb Enable 3 tests 2021-02-12 12:22:34 -08:00
Daniel Imms
6148fedea0 Enable terminal tests that deal with ptys only 2021-02-12 11:34:17 -08:00
Daniel Imms
44477fbb74 Re-enable tests, disable terminal suite 2021-02-12 11:03:01 -08:00
Johannes Rieken
2d6c2d0b2d wip - move notebook integration test into our normal API test extension 2021-02-12 19:17:03 +01:00
Johannes Rieken
52f633d19c some 💄, some API todos 2021-02-12 19:08:34 +01:00
Johannes Rieken
0293b129e3 add name attribute, https://github.com/microsoft/vscode/issues/115746 2021-02-08 16:53:35 +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
Megan Rogge
ac60c82c7d add tests (#115944) 2021-02-05 15:55:50 -08:00
Sandeep Somavarapu
056d660918 Merge branch 'master' into sandy081/smoketests/remote 2021-02-04 14:43:38 +01:00
Sandeep Somavarapu
d4b65868f2 enable the test 2021-02-04 13:58:20 +01:00
Johannes Rieken
0494790a5e fix https://github.com/microsoft/vscode/issues/115746 2021-02-04 13:55:54 +01:00
Sandeep Somavarapu
9572b419cb test not running - enable remote check 2021-02-04 13:53:21 +01:00
Benjamin Pasero
914cef30d5 integration tests - disable minimap to reduce error output (#115747) 2021-02-04 13:33:54 +01:00