Commit graph

9319 commits

Author SHA1 Message Date
Matt Bierner
0bf4493b75 Don't send git resources to tsserver 2020-07-21 16:52:17 -07:00
Matt Bierner
21cd7c6001 Move some files into server 2020-07-21 16:47:54 -07:00
Matt Bierner
ae7254a2e9 Fixing some errors when loading workspace TS versions 2020-07-21 16:41:02 -07:00
Matt Bierner
23c4467ed3
Enable web TS Server (#102990)
This enables running the TS Server on web. This currently requires a special version of the TypeScript server
2020-07-21 16:13:52 -07:00
Matt Bierner
ec8606cb49 Make sure main process webview file resource loads stays on main process
We were checking the wrong uri
2020-07-21 14:02:28 -07:00
Benjamin Pasero
dc333833e9 eslint - fix linting issues 2020-07-21 07:46:15 +02:00
Matt Bierner
caa05dd6d5 Remove extra gating around selector
A registration should only need to if it targets all files, or just those on disk
2020-07-20 16:53:32 -07:00
Matt Bierner
3841f78377 Fix normalization of toResource for untitled resources 2020-07-20 16:36:58 -07:00
Matt Bierner
e41c195051 Work towards allowing enhanced syntax server commands to be run against any file
We currently restrict the TS server to working with a small set of file schemes. This is done because the TS server itself cannot read files from on of VS Code's virtual file system providers (and will crash if it tries to do so)

However we can enable single file commands for these other file schemes, so long as they are treated as in-memory files. This change works towards supporting that by changing when certain providers are enabled/disabled
2020-07-20 16:27:37 -07:00
Matt Bierner
8bf2ae16a0 Export RequestCancellerFactory implementations as constants 2020-07-20 16:27:37 -07:00
Matt Bierner
538ff07c71 Move logDirectoryProvide into server 2020-07-20 16:27:37 -07:00
Matt Bierner
90fbd0eb60 Extract cancellation.electron
This makes it possible to replace the cancellation logic for serverless
2020-07-20 16:27:37 -07:00
Matt Bierner
3b9db3df27 Extract NodeLogDirectoryProvider to electron specific file 2020-07-20 16:27:37 -07:00
Matt Bierner
00bd63c32c Move lazyClientHost to own file 2020-07-20 16:27:37 -07:00
Matt Bierner
c17905888c Extract onIsCaseInsenitiveFileSystem 2020-07-20 16:27:37 -07:00
Rob Lourens
90363c2f9d Change cell execution/cancel API
Fix #99203
2020-07-20 14:43:20 -07:00
Rachel Macfarlane
cd5b4a7c80 Emit activation event for auth providers when getSession is called 2020-07-20 14:23:14 -07:00
Rachel Macfarlane
7725bf1bcc Move authServer to fix relative paths issue 2020-07-20 09:31:37 -07:00
Rachel Macfarlane
1ac2178ed0 Show input box for PAT in test environments instead of doing auth flow 2020-07-17 10:46:48 -07:00
Rob Lourens
10033ed530
Merge pull request #102770 from microsoft/dependabot/npm_and_yarn/extensions/html-language-features/server/lodash-4.17.19
Bump lodash from 4.17.10 to 4.17.19 in /extensions/html-language-features/server
2020-07-17 10:24:57 -07:00
dependabot[bot]
8390160e68
Bump lodash in /extensions/html-language-features/server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 17:24:50 +00:00
Rob Lourens
4e648e27dd
Merge pull request #102771 from microsoft/dependabot/npm_and_yarn/extensions/css-language-features/server/lodash-4.17.19
Bump lodash from 4.17.10 to 4.17.19 in /extensions/css-language-features/server
2020-07-17 10:24:45 -07:00
Rob Lourens
7f9df80a54
Merge pull request #102772 from microsoft/dependabot/npm_and_yarn/extensions/markdown-language-features/lodash-4.17.19
Bump lodash from 4.17.10 to 4.17.19 in /extensions/markdown-language-features
2020-07-17 10:24:27 -07:00
dependabot[bot]
bff6a419a6
Bump lodash from 4.17.10 to 4.17.19 in /extensions/emmet
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:10:57 +00:00
dependabot[bot]
454f2dc891
Bump lodash in /extensions/markdown-language-features
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:08:54 +00:00
dependabot[bot]
0ac3ec6a08
Bump lodash in /extensions/css-language-features/server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:08:06 +00:00
João Moreno
27e06f526f update octokit in github 2020-07-17 11:27:00 +02:00
Johannes Rieken
c4dae68b49 eslint fixes @rebornix 2020-07-17 10:42:30 +02:00
Alex Ross
0acc996121
Add support for view initial state (collapsed or hidden) (#102002)
Fixes #101283
2020-07-17 09:47:33 +02:00
rebornix
847a98f34c Merge remote-tracking branch 'origin' into rebornix/multi-kernel 2020-07-16 17:26:00 -07:00
Matt Bierner
7099dc0708 Add extra check to markdown state
Possibly for #102733

Tries to get users out of a potential bad state where the state was being stored as a string. Only insiders users should have hit this
2020-07-16 16:27:42 -07:00
Matt Bierner
00a0a77785 Cleaning up ts server logic
Getting ready to have worker based TS servers instead of ones that use a process

- Use standard error handler instead of having separate reader error
- Move all process based server logic into own file (`serverProcess`)
2020-07-16 16:05:20 -07:00
Rachel Macfarlane
a155fcf762 Address feedback on auth provider API 2020-07-16 16:03:17 -07:00
Rachel Macfarlane
0d1933a322 Add webworker support for microsoft authentication extension 2020-07-16 15:21:23 -07:00
Matt Bierner
ed028cfd96 Add ClientCapabilities class 2020-07-16 14:37:58 -07:00
Matt Bierner
0857489caf Add the concept of client capabilities for TypeScript
For serverless, we will only be able to run the TypeScript syntax server which does not support all features. This change makes this possible by adding the concept of client capabilities. Providers such as rename will only be registered when the client has semantic capabilities
2020-07-16 12:32:27 -07:00
Matt Bierner
16c6b81b3e Flatten conditional registration
This allows us to pass a precomputed, flat list of requirements when registering a language feature
2020-07-16 12:32:27 -07:00
Jason Williams
9a12a5abed
fix paragraphs inside of <ul>'s which are too spaced apart. (#102719)
* * paragraphs inside of <ul>'s were too spaced apart.
* It looks odd because markdown converts list items to <p>s

* li > p should be even better
2020-07-16 11:20:38 -07:00
rebornix
1710c92d5f fix #102460 2020-07-16 10:20:42 -07:00
rebornix
be44e409b2 avoid conflict between new and legacy kernel 2020-07-16 09:55:05 -07:00
Martin Aeschlimann
b031ea7879 Built-in XSLT extension has 'brackets' setting that prevents bracket-matching for embedded XPath 1.0-3.1 Fixes #102584 2020-07-16 15:25:42 +02:00
Alex Ross
5e5fa3edde
Tasks without a registered definition should run (#102696)
Fixes #102684
2020-07-16 14:42:02 +02:00
João Moreno
f3fed74a92 fixes #98931 2020-07-16 12:48:33 +02:00
James Lave
9074d576bb
Add GitHub public repo option (#102406) 2020-07-16 11:19:39 +02:00
Martin Aeschlimann
717272507d fix extension editing main 2020-07-16 11:09:53 +02:00
Alex Ross
a05390d952 Disable failing tasks test to get build 2020-07-16 10:45:17 +02:00
Alex Ross
ad720d6a63 Update log grammar
Fixes #102598
2020-07-16 10:15:58 +02:00
Alex Ross
eb4a91f7ee Add when property to tasks definition
Part of #102477
2020-07-15 17:19:15 +02:00
João Moreno
cf2dda567b Merge branch 'joao/fork-repo' 2020-07-15 15:57:10 +02:00
João Moreno
413e660e53 github: PushErrorHandler, fork and pr
fixes #102393
2020-07-15 15:56:44 +02:00