Commit graph

9365 commits

Author SHA1 Message Date
rebornix 1a2e3fa16c re #102899. 2020-07-21 08:38:34 -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
João Moreno 1ab3137674 git: PushErrorHandler 2020-07-15 15:52:31 +02:00
Matt Bierner 599f3b60e2 Skip mac copy test for now
Failing in CI
2020-07-14 13:04:26 -07:00
Matt Bierner a7285b471c
Enable webview tests on remote as well (#102444)
* Enable webview tests on remote as well

* Delete conditional test type
2020-07-14 11:28:06 -07:00
Jason Williams 3ef3c105e6
h1 bottom margin is too much (#102520) 2020-07-14 11:21:45 -07:00
João Moreno 8b531a2246 update git.d.ts 2020-07-14 18:55:12 +02:00
Matt Bierner 2a8c8def27 Re-enable markdown document link tests
Fixes #102364
2020-07-14 09:23:39 -07:00
João Moreno c85718eb81 git: remote source provider picker command
fixes #102394
2020-07-14 13:57:01 +00:00
Benjamin Pasero ab1d1ad588 Web: integration test failures in workspace events (fix #102365) 2020-07-14 15:14:23 +02:00
Matt Bierner c828a5339b Fix indentation style 2020-07-13 18:01:07 -07:00
Jason Williams b8e773ebed
fix styling to improve heading spacing fixes #102036 (#102427)
* updating styling to make headings look better

* be consistent and use em
2020-07-13 17:40:38 -07:00
Matt Bierner f4d766ca55 Fix one of the webview integration tests 2020-07-13 17:15:00 -07:00
Matt Bierner 731a788e0e Use joinPath instead of node path.join 2020-07-13 17:15:00 -07:00
Matt Bierner 3926674c39 Skip document link tests
These currently do not work on web

Skipping while investigating this
2020-07-13 14:07:29 -07:00
rebornix b73b7469cd fix #102423. 2020-07-13 13:26:03 -07:00
rebornix dd2a6005d5 💄 2020-07-13 11:58:58 -07:00
Connor Peet add05e385e
debug: always clear out any js-debug state 2020-07-13 11:34:32 -07:00
Connor Peet 24cff71f25
debug: use previous node debug for the July release 2020-07-13 11:34:24 -07:00
rebornix b2c8b2ac00 fix #102411. 2020-07-13 11:24:18 -07:00
Matt Bierner 1cfd3a1b28 Use own version of toJson
This avoids having the uri transformed unexpectedly
2020-07-13 10:56:21 -07:00
rebornix 5e96337121 re #93070. test for command arguments. 2020-07-13 10:52:57 -07:00
Martin Aeschlimann 4c99db1a05 file extensins: put primary first. For #102100 2020-07-11 17:36:19 +02:00
Matt Bierner a8853acf76 Updating colorization fixtures 2020-07-10 13:52:02 -07:00
Matt Bierner fdf23dc5f9 Working on supporting markdown links in serverless+web
For #101203
2020-07-10 13:25:55 -07:00
Matt Bierner 362d345448 Adding tests for opening markdown document links 2020-07-10 13:25:55 -07:00
Matt Bierner eb29e868de Use uri 2020-07-10 13:25:16 -07:00
Matt Bierner ef02845561 Convert to async 2020-07-10 13:25:16 -07:00
Matt Bierner 1cd126f9af Update markdown grammar 2020-07-10 13:25:16 -07:00
Rachel Macfarlane 40324ee577 Auth provider tweaks, change types of change events 2020-07-10 10:49:10 -07:00
Peng Lyu 6a4866acd2
Reposition Editor Reopen With action. (#101936)
* Reposition Editor Reopen With action.
* 1_open

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-07-10 09:04:15 -07:00
Benjamin Pasero 3b1bedd626 notebook - skip failing test 2020-07-10 12:03:08 +02:00
Eric Amodio 561f5b6d26 Remove eslint disable -- #101978 2020-07-09 22:47:42 -04:00
rebornix 6c67fecb32 💂 test for join cells. 2020-07-09 16:54:54 -07:00
rebornix fcfb0dd32e notebookCellListFocus 2020-07-09 16:09:24 -07:00
Matt Bierner a1967ddf13 Remove eslint disable
For #101978
2020-07-09 09:25:47 -07:00
Martin Aeschlimann 9b1773e013 emmet serverless 2020-07-09 17:23:16 +02:00
Rob Lourens ab497b9464 Remove notebook cell shadow 2020-07-08 14:58:42 -07:00
Matt Bierner 76471bdb74 Add slight delay to test
For #101922

I can't repo this locally but suspect it may be timing related
2020-07-08 11:43:48 -07:00
Matt Bierner dee0511b58 Remove duplicated test 2020-07-08 11:43:48 -07:00
Rachel Macfarlane 0a30c7a64d Add GDPR comments for auth provider telemetry 2020-07-08 11:22:21 -07:00
Benjamin Pasero 0e96426609 🆙 iconv-lite-umd@0.6.8 (fix #101905) 2020-07-08 17:29:59 +02:00
Matt Bierner 46c2494cb0
Enable ts tests on ./test-integration.sh (#101826)
* Enable ts tests on ./test-integration.sh

* Fix join lines for windows

* Fixing more tests for windows

Make sure we use the correct new line character

* Update test-ingration scripts
2020-07-07 17:38:03 -07:00
Matt Bierner a877e0528e Remove special grammar rules for console in js/ts
Fixes #101802

These can be better handled by semantic highlighting
2020-07-07 13:24:23 -07:00
Miguel Solorio 931c1c0940 Fix color token for notebook focused cell bg (fixes #101867) 2020-07-07 10:46:30 -07:00
Benjamin Pasero d95b65443d Encoding euckr does not exist anymore (fix #101847) 2020-07-07 14:03:23 +02:00
João Moreno 10a3aefcd6 fixes #100468 2020-07-07 11:10:46 +02:00
Johannes Rieken 1261e43fc1 don't run focus-dependent test on build machines, https://github.com/microsoft/vscode/issues/100828 2020-07-07 10:21:52 +02:00
Rachel Macfarlane 348e2b4c6e displayName -> label, use providerIds in favor of getProviderIds, #100993 2020-07-06 18:23:12 -07:00
Matt Bierner bc462053d6 Making TS tests more reliable 2020-07-06 16:52:35 -07:00
Matt Bierner 4f9ebc3205 Sort implement abstract above remove unused
Fixes #101486
2020-07-06 15:41:10 -07:00
Matt Bierner 3a54cd7ca3 Disable markdown commands when in markdown cells in notebooks
Fixes #101514
2020-07-06 14:59:29 -07:00
Rachel Macfarlane ab7a5ec3ad Address part of feedback for #100993 2020-07-06 08:51:24 -07:00
Alexander Fadeev fdf62a024c
Add new Makefile test case for upgraded syntax rules (#101719) 2020-07-06 15:19:43 +02:00
Martin Aeschlimann db0d3f089d add stripped-down serverless extension editing 2020-07-06 14:12:16 +02:00
Alex Ross 0b1d1bc464 Update grammars 2020-07-06 13:43:31 +02:00