Commit graph

10246 commits

Author SHA1 Message Date
Rachel Macfarlane
263d4b75e2 Fix getSessions for microsoft auth provider 2021-02-11 16:46:47 -08: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
Rachel Macfarlane
9118a3461c Make onDidChangeSessions event for auth providers fire complete session 2021-02-11 10:14:28 -08:00
Johannes Rieken
6c92a6605c Merge branch 'master' into notebook/outputs 2021-02-11 15:03:41 +01:00
Matt Bierner
6dd156d04b Support drag and drop copy for markdown cells
For #116393

Also removes some logging and improves drag/drop responsiveness
2021-02-10 17:37:51 -08:00
Matt Bierner
35f855796b
Add support for markdown notebook renderers (#115191)
* Use shared webpack version instead of installing locally for simple-browser

* Use npm for building markdown preview

* render markdown in webview.

* update markdown preview height and offset

* Add basic custom notebook renderer point

* update css

* style update.

* update markdown header padding left

* Add example of loading katex to extend the markdown-it renderer

* Rename global to make clear it only applies to markdown-in

* hide/remove markdown preview

* Add wait for initial markdown preview rendering before showing notebook

* Add double click to switch to editing mode

* Fix markdown cells not getting updated after editing

* style polish

* notebook.experimental.useMarkdownRenderer

* switch render strategy.

* Adding very intial drag drop support for notebook markdown cells

* Implement drag/drop stubs for test classes

* Revert unrelated file changes

* Move markdown notebook math to own extension

* Add missing imports

Co-authored-by: rebornix <penn.lv@gmail.com>
2021-02-10 16:41:53 -08:00
Matt Bierner
3dc8cb1afc Add setting to enable/disable returns generation in jsdoc
Fixes #116282
2021-02-10 12:20:01 -08:00
Johannes Rieken
b881f37fcc Merge branch 'master' into notebook/outputs 2021-02-10 18:20:40 +01:00
Matt Bierner
fe6eb68d22 Pick up latest TS insiders 2021-02-09 17:47:32 -08:00
Matt Bierner
91a20c06b9 Use npm for building markdown preview 2021-02-09 17:47:32 -08:00
Matt Bierner
ba7d28d53c Use shared webpack version instead of installing locally for simple-browser 2021-02-09 17:47:32 -08:00
Shunsuke Iwamoto
76524ef589
Fixes 114236: Add a multi-line comment regex to unIndentedLinePattern (#114478)
* Add a multi-line comment regex to unIndentedLinePattern

* Add multi-line comment block indentation tests

* Fix a multi-line comment block indentation test
2021-02-09 17:05:21 -08: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
Alex Ross
327e25fdc2 Add portsAttributes to devcontainer.json
Part of microsoft/vscode-remote-release#4445
2021-02-09 16:51:05 +01:00
Alexandre Schnegg
2678e4b848
Only match exactly 7 equals (fixes #95040) 2021-02-09 10:35:10 +01:00
Matt Bierner
87a3effc79 Try to disable caching in the simple browser's iframes 2021-02-08 21:31:04 -08:00
rebornix
bd47ac847c auto save ... 2021-02-08 16:57:09 -08:00
Matt Bierner
ff03697a1a Use node script instead of 'cp' command
this should also work on widnows
2021-02-08 14:54:37 -08:00
rebornix
0544c1d391 remove legacy typings. 2021-02-08 14:48:26 -08:00
Matt Bierner
46e28e3bbe Copy codicon files directly into sources instead of taking a non dev dependecy on the entire package 2021-02-08 14:27:16 -08:00
Matt Bierner
5b32b28037 Mark simple browser as a UI extension 2021-02-08 14:27:16 -08:00
Matt Bierner
eb62ecb01e Use white background in simple browser by default 2021-02-08 14:27:16 -08:00
Megan Rogge
c7d527f9ce update yarn.lock 2021-02-08 12:24:20 -08:00
Johannes Rieken
3edc9925e0 NotebookDocument#metadata is readonly 2021-02-08 18:38:17 +01:00
Martin Aeschlimann
c86be3bb57
Merge pull request #115309 from pfitzseb/sp/julia-grammar
Add Julia grammar
2021-02-08 18:26:51 +01:00
Martin Aeschlimann
5cfa6b7e26 update vscode-grammar-updater 2021-02-08 18:26:14 +01:00
Johannes Rieken
a873e60a71 💄 strict assertions 2021-02-08 18:15:10 +01:00
Martin Aeschlimann
fb8bced55b after fix for grammar importer 2021-02-08 17:16:43 +01:00
Johannes Rieken
0293b129e3 add name attribute, https://github.com/microsoft/vscode/issues/115746 2021-02-08 16:53:35 +01:00
Martin Aeschlimann
1a9635193f update and fix grammar 2021-02-08 16:33:49 +01:00
Martin Aeschlimann
ebac2cfa10 add colorizer test 2021-02-08 16:33:12 +01:00
Martin Aeschlimann
50dc6c3c66 add search support 2021-02-08 16:22:32 +01:00
Alex Ross
0f17001790 Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
Martin Aeschlimann
124cd2155a Merge branch 'master' into pr/pfitzseb/115309 2021-02-08 14:48:21 +01: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
Megan Rogge
ac60c82c7d
add tests (#115944) 2021-02-05 15:55:50 -08:00
Raymond Zhao
6302319a4a Fix Emmet yarn lock 2021-02-05 20:22:46 +00:00
Eric Amodio
4fc8dc82f3 Fixes #110496 - use builtin gestures for open/diff 2021-02-05 15:00:47 -05:00
Raymond Zhao
339d6ddf18 Fix #115854, #115839 2021-02-05 19:07:57 +00:00
Alex Ross
a4a6607ceb Use weak shell quoting for npm tasks with --
Part of #115876
2021-02-05 16:22:55 +01:00
Martin Aeschlimann
3c7fc6d6a0 fix unused import 2021-02-05 16:19:31 +01:00
Martin Aeschlimann
d33b89256e [css][html] Option to disable MDN Reference popups only (without effecting other functionalities). Fixes #97979 2021-02-05 16:07:31 +01:00
rebornix
2ff5b909ba fix smoke test typings. 2021-02-04 18:35:08 -08:00
rebornix
0df177fe39 fix tests. 2021-02-04 18:33:17 -08:00
Eric Amodio
2fda718ad7 Fixes #115801 - improves conflict decorations 2021-02-04 17:25:48 -05:00
Sandeep Somavarapu
4dfab617e0 Merge branch 'sandy081/smoketests/remote' 2021-02-04 20:49:47 +01:00