Commit Graph

8669 Commits

Author SHA1 Message Date
Rachel Macfarlane 917c420302 Improvements to 'manage trusted extensions' flow 2020-04-01 23:13:50 -07:00
Rachel Macfarlane d93264ae56 Mitigation for #94174 2020-04-01 10:03:18 -07:00
Rachel Macfarlane bf456b64ab Add tracing log level to auth provider, #94005 2020-03-31 16:03:08 -07:00
Matt Bierner d41997790c Remove CustomDocument.viewType
Fixes #93867
For #77131

This property is no longer needed (or very helpful) with the current api design
2020-03-31 12:00:17 -07:00
Matt Bierner 273a4a389d Convert most ts-ignore-calls to ts-expect-error (#93617)
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments

This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Rachel Macfarlane 852df3025d Revert "Issue distinct sessions per extension, remove session when extension is removed from trusted list"
This reverts commit 85119afc7b.
2020-03-30 17:03:29 -07:00
Matt Bierner 25377ee712 Update js/ts grammar 2020-03-30 16:29:19 -07:00
Martin Aeschlimann 17e140249f more typescript specific rules 2020-03-31 01:12:41 +02:00
Rachel Macfarlane 85119afc7b Issue distinct sessions per extension, remove session when extension is removed from trusted list 2020-03-30 14:34:42 -07:00
Alex Dima 65309e1d7c Have SemanticTokensBuilder.build() return SemanticTokens (for #93614) 2020-03-30 15:52:25 +02:00
Martin Aeschlimann c4bee7ac82 fix for https://github.com/microsoft/vscode/pull/92397 2020-03-29 22:47:48 +02:00
Martin Aeschlimann cd0d9eb515 Merge pull request #92397 from thernstig/npmrc
Add .npmrc file association as ini-file
2020-03-29 13:46:26 -07:00
Martin Aeschlimann 3c938c800a language specific scopes 2020-03-29 18:03:17 +02:00
Rachel Macfarlane 7ca13ca33b Github auth provider - revoke token on logout 2020-03-28 08:15:30 -07:00
Daniel Imms 3367ea6000 Merge pull request #93505 from microsoft/tyriar/46696_terminal_env
Allow extensions to contribute to terminal environments
2020-03-27 17:09:08 -07:00
Rachel Macfarlane ab91532466 Add 'manage trusted extensions' option to account quickpick, #90385 2020-03-27 15:38:53 -07:00
Matt Bierner 3bcc2f6061 Update js/ts grammars 2020-03-27 15:22:20 -07:00
Matt Bierner 6bdf50706f Enable resolveJsonModule for implicit JS/TS projects
For #93500
2020-03-27 15:11:12 -07:00
Daniel Imms 3e4e23b442 Add debug logs 2020-03-27 11:59:04 -07:00
Daniel Imms 1661165648 Run both sh and ps commands to make tests work in remote 2020-03-27 10:57:14 -07:00
Daniel Imms b94873dc11 Merge branch 'master' into tyriar/46696_terminal_env 2020-03-27 09:43:08 -07:00
Daniel Imms b8aff423a3 Add more API tests 2020-03-27 09:42:39 -07:00
Daniel Imms fc0712520f Add api tests for env var collections
This does not cover the persisted case
2020-03-27 09:30:32 -07:00
Martin Aeschlimann f04dce33a1 Throttle the number of semantic token requests #92583 2020-03-27 16:46:15 +01:00
Alex Ross fa84b60808 Add test for specific c++ grammar freeze 2020-03-27 16:36:57 +01:00
Alex Ross e096d95068 Revert C grammars to version from 1.43.1
There's still a line that can cause a freeze
2020-03-27 16:36:57 +01:00
Martin Aeschlimann 40077f5ea9 [typescript][semantic] add library modifier. Fixes #91090 2020-03-27 14:35:22 +01:00
Christof Marti f12410309c Remove delay (fixes #62652) 2020-03-27 10:55:17 +01:00
Rachel Macfarlane 36ace29ba9 Return refreshed access token, fixes #91653 2020-03-25 22:07:33 -07:00
Eric Amodio e62c4302b0 Removes day.js dependency; uses Intl instead 2020-03-26 00:10:41 -04:00
Rachel Macfarlane 8c50263c35 Show notification when writing to keychain fails, #92972 2020-03-25 16:25:44 -07:00
Eric Amodio a096bae36c Switches to use realpath.native instead of wmic 2020-03-25 16:34:52 -04:00
Eric Amodio 68e7b61f91 Fixes #91548 - git 2.25+ network drive issue
On Git 2.25+ if you call rev-parse --show-toplevel on a mapped drive, instead of getting the mapped drive path back, you get the UNC path for the mapped drive.

So we will try to normalize it back to the mapped drive path if possible
2020-03-25 03:31:55 -04:00
Rachel Macfarlane 8d69766c1c Add more logs to auth provider 2020-03-24 21:25:24 -07:00
Eric Amodio 9c1e26890c Fixes #91377 - save previous ref 2020-03-23 17:15:41 -04:00
Eric Amodio a5987ce853 Fixes focus issue on click 2020-03-23 17:15:18 -04:00
Matt Bierner 579dab3196 Update custom editor api
For #77131

- Use a class for `CustomDocument` instead of an interface. Extensions can now add their own data to a `CustomDocument` by sublassing

- Renamed `resolveCustomDocument` to `openCustomDocument` and require that extensions return a `CustomDocument`

- Exposed edits on `CustomDocument`

- Made the third parameter of `registerCustomEditorProvider` a generic options bag that takes a `webviewOptions`
2020-03-23 13:10:49 -07:00
Huachao Mao 9abd38f362 Fix typo of word extension (#93178) 2020-03-23 12:32:32 -07:00
Eric Amodio 5391a481bc Simplifies timeline paging options 2020-03-23 13:49:44 -04:00
Rachel Macfarlane d9d90a0d3d Use GitHub app for VSO, closes #92675 2020-03-23 07:52:22 -07:00
Rachel Macfarlane d21cadb83f Use fs to read github auth config file 2020-03-23 07:52:22 -07:00
Alex Ross 60cc1a28a5 Update C++ grammar 2020-03-23 10:49:14 +01:00
Sandeep Somavarapu a3ffcc9ea3 update preview snippets schema 2020-03-20 18:36:23 +01:00
Rachel Macfarlane 2b86488f03 Add account context menu, #90385 2020-03-20 09:51:35 -07:00
Eric Amodio 3f6843956a Refactors timeline to work better w/ multi sources
Separates the tree rendering from the data model cache
Fixes many issues and simplifies the code
2020-03-20 04:00:52 -04:00
Rachel Macfarlane cb58105623 Handle state double encoding in Microsoft auth provider 2020-03-19 08:42:31 -07:00
Benjamin Pasero c0eea2a712 tests - disable terminal integration tests for web 2020-03-19 09:37:17 +01:00
Benjamin Pasero 9f2cc0cc79 test - disable another flaky terminal test (#92826) 2020-03-19 07:57:02 +01:00
Pine Wu 01e01b13f8 HTML implementation for #88424 2020-03-18 12:42:48 -07:00
Benjamin Pasero 1e4fcba26d web - disable some flaky integration tests (#92826) 2020-03-18 07:52:27 +01:00