Commit Graph

62 Commits

Author SHA1 Message Date
Johannes Rieken 09c9d4c293
use `enabledApiProposals` instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken 109c9d9486
adopt viewType everywhere and drop support for it, fixes https://github.com/microsoft/vscode/issues/125163 2021-06-02 12:05:19 +02:00
rebornix c5a8e59db7
update notebook contributions. 2021-05-12 14:56:55 -07:00
Robo bce4d71f64
chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
Miguel Solorio ac48f78dd6
Add icons for built-in extensions (fixes #81760) 2021-04-20 12:09:24 -07:00
Johannes Rieken 29a1cfddcd
make sure dirty state of notebooks from simple content provider is reflected in extension host, add integration test 2021-03-30 11:50:20 +02:00
Matt Bierner 3499f63dc1
Exploration: Better transferring of TypedArrays used in Webview.postMessage (#115664)
* Improve passing of ArrayBuffers to and from webviews

Fixes #115807

* Serialize and restore typed arrays too

This also makes it so that if you pass the same ArrayBuffer twice in an object, we use a single object on the receiver side too

* Fix spelling

* Require VS Code 1.56+
2021-03-30 06:49:34 +00:00
Ladislau Szomoru 6aa528024b
Remove code that is not needed (#120005) 2021-03-27 07:52:29 +00:00
Ladislau Szomoru 149a8b71c5
Workspace trust changes (#119017)
* Add dialog button customisation and reject promise if cancelled
* Use different promises to modal/soft requests
2021-03-16 10:18:42 +00: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 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
Johannes Rieken 0494790a5e fix https://github.com/microsoft/vscode/issues/115746 2021-02-04 13:55:54 +01:00
João Moreno ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +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
Matt Bierner 3978fab7f1 Remove activation events 2020-04-09 14:42:48 -07:00
Matt Bierner 1c741ecc64
Move web playground code into its own extension (#92672)
This splits the web playground out from vscode-api-tests
2020-03-17 15:01:17 -07:00
Benjamin Pasero 6ee37a6002 web - move extension code into web-playground folder 2020-03-13 08:59:31 +01:00
Pine Wu 2362584a62 Revert "Fix #73803"
This reverts commit 67e6aef0c8.
2020-03-06 00:30:14 -08:00
Pine Wu 67e6aef0c8 Fix #73803 2020-03-05 11:34:58 -08:00
Andre Weinand 5f5a65c441 prevent vscode-api-tests from running in node.js 2019-11-21 13:26:38 +01:00
Andre Weinand 37f18e8f2d don't activate vscode-api-test on debug; fixes #85230 2019-11-20 23:23:18 +01:00
Andre Weinand f09c852a28 web worker: support F5 debugging w/o launch.config 2019-11-20 17:36:09 +01:00
Andre Weinand 5c372215d5 add mock debug to web sample 2019-11-19 12:12:17 +01:00
Benjamin Pasero 4de0e4d27a web - support tasks in "yarn web" 2019-11-05 15:45:10 +01:00
Benjamin Pasero ca22de4b17 debt - bump node.d.ts dependency in extensions to 12.x (part of #82514) 2019-10-28 08:11:47 +01:00
Benjamin Pasero 49129e9911
Allow to run web client out of sources (#82569)
* web - first cut allow to run from oss

* add launch config
2019-10-15 10:50:25 +02:00
Aurélien Pupier 7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Benjamin Pasero d78a75973c
update @types/node (#74881) 2019-06-05 10:20:01 +02:00
Benjamin Pasero e2d1fd06d1 debt - update extensions node dependency to 10.x 2019-02-07 08:49:36 +01:00
Benjamin Pasero 7b8c3383f9 💄 integration tests 2018-09-24 15:10:16 +02:00
Benjamin Pasero 920defc6a6 debt - update extensions node dependency to 8.x 2018-08-14 10:44:56 +02:00
Christof Marti 965c1862b5 QuickInput Proposed API (#49340) 2018-06-12 18:23:25 +02:00
Joao Moreno 4dc738593b complete integration test results 2018-06-12 17:24:23 +02:00
Martin Aeschlimann 12d4925c72 Use strict version-identifier for @types/xyz-modules . For #35561 2017-10-04 11:25:45 +02:00
Johannes Rieken bdbc992e29 Using strict version-id for @types-modules, #35561 2017-10-04 10:33:38 +02:00
Matt Bierner 848923bf08 Enable proposed api in api-tests 2017-09-22 16:39:47 -07:00
Sandeep Somavarapu b68f3b2f38 #19733 Default configurations
- Define a new extension point `configurationDefaults` for contributing default language specific editor settings
2017-02-09 00:23:00 +01:00
Matt Bierner 8dad2594ce Remove a few more extension d.ts files that are not needed 2017-02-01 17:53:47 -08:00
Matt Bierner cda3584a99 Use @types/node in extensions (#19692)
Switches builtin extensions to use @types/node for node definitions. Fixes a few errors that show up as a result of updating to a more modern version of node.d.ts
2017-02-01 15:20:17 -08:00
Johannes Rieken 133db393db don't double install vscode.d.ts 2017-01-20 10:50:18 +01:00
Johannes Rieken 093cd8b2a3 enable integration tests again, cleanup a little of the ///-reference mess, #14059 2016-10-20 12:04:01 +02:00
Johannes Rieken 404effdd98 don't use engine-vscode: * with an old version of vscode-module, fixes #14059 2016-10-20 11:18:10 +02:00
Johannes Rieken e3c810ec52 test for index-access style, make object immutable, #1396 2016-08-25 12:11:27 +02:00
Johannes Rieken d681654ac9 more test to cement current behaviour, #1396 2016-06-08 13:38:07 +02:00
Benjamin Pasero 8e0ebc3a21 fix test for #5649 2016-04-24 10:24:29 +02:00