Commit graph

614 commits

Author SHA1 Message Date
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
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
Sandeep Somavarapu 3c3686e0fb check only extension 2021-02-04 11:50:34 +01:00
Sandeep Somavarapu 0ecd7f72d8 add remote server cli test 2021-02-04 10:08:29 +01:00
Benjamin Pasero 376716d1ae status bar - don't leak RPC objects from API (#115679) 2021-02-03 14:01:13 +01:00
Johannes Rieken a01d16e77e debt - use a native private property in ExtHostQuickInput 2021-02-03 09:44:52 +01:00
Johannes Rieken c399d039a7 debt - don't expose MainThreadNotebookShape from NotebookEditorDecorationType 2021-02-03 09:30:38 +01:00
Johannes Rieken 74937e0a89
Merge pull request #115530 from microsoft/joh/norpc
Hide API implementation proxies, add tests to check for "proxy leakage"
2021-02-03 09:17:56 +01:00
Johannes Rieken a99dd66f0f test more results of create-functions 2021-02-01 17:41:29 +01:00
Johannes Rieken 2ceeaeb681 hide proxy from TextEditorDecorationType 2021-02-01 17:06:51 +01:00
Johannes Rieken a0c75f6053 add tests for createXYZ functions and skip most of them... 2021-02-01 14:52:37 +01:00
Johannes Rieken 46cf57b264 a bunch of failing tests 2021-02-01 12:01:32 +01:00
Johannes Rieken 930b5686ff add todo 2021-02-01 12:01:26 +01:00
Johannes Rieken 3114b1c4c5 hide rpc proxies 2021-02-01 12:01:20 +01:00
Johannes Rieken 4cfd5f8508 clipboard changes 2021-02-01 12:01:14 +01:00
Johannes Rieken 1ecf01b9c7 mark rpc protocol and proxies with symbols and try to find them from an API test (with success...) 2021-02-01 12:01:07 +01:00
João Moreno ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
Matt Bierner 8c5e805d3a Fix spelling 2021-01-28 12:01:38 -08:00
Benjamin Pasero 6bd7b70515 Revert "Enable webview tests (#114059)"
This reverts commit 01c6003c29.
2021-01-09 11:23:34 +01:00
Matt Bierner 01c6003c29
Enable webview tests (#114059)
These tests were disable due to some occasional failures on build machines. This PR enables them but with flakySuite while I track down possible causes of these failures
2021-01-08 15:57:28 -08:00
Johannes Rieken 74bc1d2672 re-enable test for https://github.com/microsoft/vscode/issues/111867 2021-01-07 09:18:51 +01:00
Johannes Rieken 0cb7dad36f adopt creation of N resources at once, https://github.com/microsoft/vscode/issues/111867 2021-01-06 14:46:32 +01:00
Johannes Rieken b99e9bc299 apply file edits in bulks of equal edits, https://github.com/microsoft/vscode/issues/111867 2021-01-06 14:46:32 +01:00
Alexandru Dima f74ad9692f
Align @types/* dev dependencies (#112718) 2020-12-18 13:28:39 +01:00
Alexandru Dima fee6dbf4e0
Merge remote-tracking branch 'origin/master' into alex/node-modules-vscode 2020-12-17 22:02:47 +01:00
Alexandru Dima 7ca71e763d
Move away from deprecated 'vscode' node module (#112718) 2020-12-17 21:40:14 +01:00
Alexandru Dima e0498f0cdd
Share typescript node module (#112718) 2020-12-17 20:58:11 +01:00
Alexandru Dima ed19f6082f
Share mocha related node modules (#112718) 2020-12-17 11:03:49 +01:00
Johannes Rieken bb68097d15 add extra check to understand https://github.com/microsoft/vscode/issues/112263 2020-12-11 09:48:15 +01:00
Alex Dima 52e9e02e0a
Fixes #110141: Do not push undo stack elements for a no-op EOL change 2020-11-12 12:18:27 +01:00
Alex Dima 3725ff44d5
Fixes #109131: Do not fail if an undo stop is inserted in between the two consecutive edits 2020-10-22 09:59:35 +02:00
Benjamin Pasero 13ccfeb2cd test - check for dirty flag too (#107739) 2020-10-07 07:53:09 +02:00
Alex Dima 1a9e0af641
Fixes #107815: Remove save RenameOperation 2020-10-06 22:53:57 +02:00
Alex Dima ca01c69720
Finalize test for #107739 2020-10-06 22:45:46 +02:00
Alex Dima 443508c4c9
Add test for #107739 2020-10-06 22:18:30 +02:00
Alex Dima 296147c88e
Fix integration tests 2020-09-30 20:58:26 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Matt Bierner 4799714403 Remove extra awaits
These functions return void so we don't need to await them
2020-09-16 15:11:21 -07:00