Commit graph

9633 commits

Author SHA1 Message Date
Marvin A. Ruder 8d2ff254c1
Changed description of “Commit Signing” setting label to include X.509. 2020-08-22 21:52:04 +02:00
Connor Peet ad40702857
debug: bump js-debug and use its auto attach by default once more 2020-08-21 18:47:20 -07:00
Rob OLeary 0bb98bf686
Add more snippets for basic syntax (#105174) 2020-08-21 11:07:24 -07:00
Connor Peet d4f6fe3227
notebooks: deprecate viewType for renderers, prefer renderer ID 2020-08-21 10:09:04 -07:00
Connor Peet d20e086afc
Merge branch 'connor4312/rm-old-renderer-api' 2020-08-21 09:12:08 -07:00
Ladislau Szomoru 06730e3e29
Azure DevOps pipeline - generate unique test result names (#105148)
* Set suite name based on environment variable
2020-08-21 15:05:15 +02:00
Martin Aeschlimann fae07df7c3 onTypeRename: wordPattern (for #104823) 2020-08-21 13:54:43 +02:00
Martin Aeschlimann 7c314b0623 [css] property suggestions not correctly ordered. Fixes #105039 2020-08-21 10:44:45 +02:00
Matt Bierner c85c46579e Pick up TS 4.0.2 2020-08-20 16:45:45 -07:00
Connor Peet dc0150c61a
debug: make auto attach apply state transition in new workspaces
Previous there was a case:

1. Auto attach was enabled in user settings and workspace A was open
2. Switch to workspace B, and then turn auto attach off in user settings
3. Switching back to workspace A, environment variables were not cleared

Now, the last state is stored in the workspace settings so that
we can tear down the previous state if necessary.
2020-08-20 16:06:18 -07:00
Matt Bierner 61f799f53b
Add proposed webview view API (#104601)
Add proposed webview view API

For #46585

This adds a new `WebviewView` proposed api to VS Code that lets webview be used inside views. Webview views can be contributed using a contribution point such as :

```json
    "views": {
      "explorer": [
        {
          "type": "webview",
          "id": "cats.cat",
          "name": "Cats",
          "visibility": "visible"
        }
      ]
    },
```

* Use proper activation event

* Transparent background

* Fix resize observer

* Adding documentation

* Move webview view to new directory under workbench

* Remove resolver

By moving the webviews view into their own fodler, I was able to avoid the cycle the resolver was originally introduced for

* Use enum in more places

* Hook up title and visible properties for webview views

* Remove test view

* Prefer Thenable

* Add unknown view type error to collector
2020-08-20 13:59:22 -07:00
Matt Bierner 64d126cafb Add new TSS_REMOTE_DEBUG flags that are only active in remote cases
Fixes https://github.com/microsoft/vscode-remote-release/issues/3546
2020-08-19 17:07:13 -07:00
Connor Peet 24b712d7c2
notebooks: remove impure renderer API
This removes the initial notebook renderer API and keeps the 'pure'
renderer API described in #102644 and hacked-in previously.

Remaining work in this area, in no particular order:

- Add messaging context to postMessage as requested by Don (API proposal TBA)
- Cleanups around how state is managed internally in the backLayerWebView
- Deprecate the renderer `viewType` in favor of calling it the `id` or `rendererId`

Q: I kept around some of the "transform" functions since the mime type
picking happens there, not sure if there's a better place for this
to happen now, or whether these methods should simply be renamed.
2020-08-19 15:47:02 -07:00
Jack Works 5d9647d4bc
Improve typescript.code-snippets for async (#99544)
* Update typescript.code-snippets

* Update typescript.code-snippets

* Update typescript.code-snippets

* Update typescript.code-snippets
2020-08-19 12:07:13 -07:00
Alex Ross 893314330c Update grammars 2020-08-19 16:00:28 +02:00
Ladislau Szomoru b2efcbf687
Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Matt Bierner f694b07825 Make sure we do not enable JS/TS language features on live share clients
For #104180
2020-08-18 16:48:16 -07:00
Matt Bierner c709fd3aa2 Pick up new TS insiders 2020-08-18 16:28:55 -07:00
Jackson Kearl a14a7e0b61 Treat more extensions as C++
Reduce duplicated repository entries in search editor tmgrammar
Closes #104887.
2020-08-18 16:13:27 -07:00
Connor Peet bb284a4943
debug: enable opt-in js-debug auto attach 2020-08-18 12:31:31 -07:00
Benjamin Pasero 4491427ac7 web - move playground out of sources
We will consume the playground from https://github.com/microsoft/vscode-web-playground going forward.
2020-08-18 09:18:23 +02:00
Duc Nghiem Xuan 63c711deef
Don't include this function types in completeFunctionCalls (#104479) 2020-08-17 17:52:26 -07:00
Matt Bierner 650f7688f3 Add (loading...) prefix to hovers while TS Server is starting up
Fixes #104859
2020-08-17 17:48:26 -07:00
Rachel Macfarlane cc29a81447 Update github authentication extension kind 2020-08-14 10:12:59 -07:00
Martin Aeschlimann 6f5ebbaafb use vscode-emmet-helper isnetad of vscode-emmet-helper2 2020-08-14 13:56:34 +02:00
Alex Ross bb3c233e97 Fix when NPM view is shown
#104591
2020-08-14 11:33:53 +02:00
Matt Bierner d8463db6b9 Pick up TS insiders 2020-08-13 15:51:28 -07:00
Caio 6d520b812f remove .h++-specific icons 2020-08-13 08:04:42 -03:00
Johannes Rieken 4398a424d5 fix compile error 2020-08-13 12:49:55 +02:00
Benjamin Pasero ad415a08c6 web - remove shell_exec from php sample 2020-08-13 10:39:46 +02:00
Daniel Imms f7f05dee53 Don't require creationOptions to be the same object
Fixes #102950
2020-08-12 17:02:40 -07:00
Daniel Imms 9a2696d391 Don't fire onDidChangeTerminalDimensions when cols/rows is 0
Fixes #83778
2020-08-12 16:33:55 -07:00
Caio 2416082d2d revert seti-ui update but leave h++-specific icons 2020-08-12 19:41:41 -03:00
Eric Amodio 467f014634 Removes rogue onFileSystem activation 2020-08-12 16:57:40 -04:00
Martin Aeschlimann 57cb7024d7
Merge pull request #104468 from orionlee/theme_dimmed-monokai_markdown_styling
Dimmed Monokai theme - improve markdown support
2020-08-12 11:30:42 -07:00
Martin Aeschlimann edd867f141
Merge pull request #103677 from amagupta-collab/empty-line-wrap-fix
empty-line-wrap-fix
2020-08-12 08:59:13 -07:00
Martin Aeschlimann 4899592904 npm.fetchOnlinePackageInfo is not respected in latest build. Fixes #103540 2020-08-12 11:59:56 +02:00
Johannes Rieken a50209c882
Merge branch 'master' into joh/celldocs 2020-08-12 09:29:07 +02:00
orionlee 12ff038548 Dimmed Monokai theme - improve markdown support
- redner bold/italic , link title color
2020-08-11 21:01:51 -07:00
kieferrm c17b4c2488 fix GDPR annotations 2020-08-12 00:47:16 +00:00
kieferrm ce508a8214 fix GDPR annotation 2020-08-12 00:44:36 +00:00
Matt Bierner b84660fa86 Add more specific checks for being on TS 4.0.1
Fixes #104456
2020-08-11 15:23:56 -07:00
Martin Aeschlimann bfa257c1ac
Merge pull request #103560 from AlexxNB/patch-1
Add *.xht file extension
2020-08-11 23:23:10 +02:00
Martin Aeschlimann 14dabea7c2 playground/mem.fs: avoid windows defender warning 2020-08-11 12:59:36 +02:00
Johannes Rieken 0a03053724 Merge branch 'master' into joh/celldocs 2020-08-11 12:23:11 +02:00
Andrew Maust 2f61d0037c
fixes #104059 (#104193)
Co-authored-by: Andrew Maust <69081050+Andrew884@users.noreply.github.com>
2020-08-10 20:46:14 -07:00
Eric Piacentini 7e4fd71ad8
Removed lines requiring Typescript version < 3.0 (#104211) 2020-08-10 20:45:11 -07:00
Matt Bierner 3bcac20a69 Fix html folding test for TS bug 2020-08-10 20:10:17 -07:00
Matt Bierner 6d0ac47022 Fix RC version 2020-08-10 20:06:06 -07:00
Connor Peet 85b70cc872
npm: enable debugging all scripts
Fixes https://github.com/microsoft/vscode/issues/104403
Fixes https://github.com/microsoft/vscode/issues/102847
2020-08-10 16:24:39 -07:00
Matt Bierner a3e37dc103 Remove expect error 2020-08-10 14:33:10 -07:00
Matt Bierner d21ff5b1c3 Remove expect error for TS 4.0 2020-08-10 14:31:25 -07:00
Matt Bierner 7819af28ae Pick up TS 4.0 rc for insiders 2020-08-10 13:36:19 -07:00
Matt Bierner 6dd0a9a64d Remove any casts 2020-08-10 13:36:19 -07:00
Johannes Rieken 6458962368 update integration tests 2020-08-10 18:28:58 +02:00
Johannes Rieken 5fe144cf97 Merge branch 'master' into joh/celldocs 2020-08-10 18:24:01 +02:00
Caio 425da67728 treat .c++ & .h++ files as c++, & update icon theme 2020-08-09 19:05:57 -03:00
João Moreno 4d7ee02205
fixes #104248 2020-08-07 20:04:41 +02:00
Alex Ross 924ccf2b63 Include weird timestamp pattern in tsc-watch problem matcher
Fixes #104157
2020-08-07 11:00:41 +02:00
Milo Moisson d213eb2d07
Fix JS snippets trailing commas. (#104153)
Fix JS snippets trailing commas, introduced by #100657 and observed by #104141.
2020-08-06 11:42:47 -07:00
Daniel Rosenwasser 54a38a2ee9
Add check to ensure RC and forward use '--serverMode'. (#104123) 2020-08-05 15:26:59 -07:00
Rachel Macfarlane 1961260ef3 Update github token input prompt 2020-08-05 13:37:06 -07:00
Matt Bierner 4193455a6f Observe the new createAutoImportProviderProgramDurationMs property added by TS 4.0
Adds this property to our completion telemetry
2020-08-05 12:28:44 -07:00
Sandeep Somavarapu 530e947fe5 Fix #103970 2020-08-05 13:51:51 +02:00
João Moreno 2f2ba0d764
fixes #102455 2020-08-05 12:09:17 +02:00
João Moreno db514242e4
fixes #102303 2020-08-05 12:03:52 +02:00
João Moreno b18015d0f8
fixes #101795 2020-08-05 11:40:28 +02:00
Matt Bierner 4430401028 Include server id in telemetry and in user issue reports
From https://github.com/microsoft/TypeScript/issues/39795#issuecomment-668250348
2020-08-03 16:03:34 -07:00
Matt Bierner 358cc674a7 Add more exclaimation points 2020-08-03 16:03:34 -07:00
Matt Bierner 0009a0b424 Fallback to bundled version if selected TS version is invalid
Fixes #103213

This restores some logic that we removed during the web refactoring
2020-08-03 15:08:28 -07:00
Andrew Branch 4a206a33e5
Change includePackageJsonAutoImports options (#103732) 2020-08-03 14:16:28 -07:00
dependabot[bot] 0b773db915
Bump elliptic in /extensions/markdown-language-features (#103658)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 14:01:25 -07:00
Christof Marti ad2f35f020 Add userEnvProbe (microsoft/vscode-remote-release#3224) 2020-08-03 22:22:50 +02:00
Matt Bierner bd11c7f95a Don't use negative margins for spacing in markdown preview 2020-08-03 12:27:57 -07:00
Rob Lourens 518523fc7f let -> const, settings 2020-08-03 08:54:14 -07:00
Rob Lourens 635b397e2d let -> const, notebooks 2020-08-03 08:54:14 -07:00
João Moreno 532c7b1c78 cleaner git submenus 2020-08-03 14:11:14 +02:00
Alex Ross fe35d8c97a Add 'Gulpfile.js' as valid gulpfile name
Fixes #103794
2020-08-03 11:15:31 +02:00
Martin Aeschlimann d5327bca82 update css/json services 2020-08-02 21:53:34 +02:00
Eric Amodio 8d51d4a419 Hides timeline view if no providers registered
Helps first-run experience, see here:
https://github.com/microsoft/vscode/issues/98614#issuecomment-665693078
2020-07-31 18:37:15 -04:00
rebornix 98dd195b91 hook native undo/redo with notebook 2020-07-31 10:43:58 -07:00
João Moreno 22ff86bac3 fixes #102109 2020-07-31 15:38:16 +02:00
Alex Ross 2344987359 Add task test back in 2020-07-31 10:15:05 +02:00
Aman Gupta d9b4226acc empty-line-wrap-fix 2020-07-31 11:53:44 +05:30
adfnekc fd75556c52
fix unicode download url error (#103460)
unicode downloadurl change
2020-07-30 20:47:34 -07:00
Rob Lourens 4bd3ba6f33 Fix notebook smoke test
Fix #102113
2020-07-30 09:08:51 -07:00
Alex Ross ae245c9b1f Fix onDidStart and End task test 2020-07-30 16:19:22 +02:00
isidor 15ada625f2 skip moree tests 2020-07-30 16:11:05 +02:00
João Moreno 7f43164ae4 fixes #101404 2020-07-30 15:53:22 +02:00
isidor d7ed2f5382 skip more tests 2020-07-30 15:23:53 +02:00
isidor f3e4ff9196 skip failing tests 2020-07-30 14:39:52 +02:00
Alex Ross c8b5be4801 Add wait wait in tasks test for execute to return 2020-07-30 13:38:20 +02:00
Alex Ross e39d21e318 Remove hack in terminal task system to delay disposal
This is no longer needed because #92868 is fixed

This reverts commit d6354443f4.
2020-07-30 11:59:18 +02:00
João Moreno 211fe2fcff
Merge pull request #103326 from NotWearingPants/patch-2
Treat all files with `git{config,attributes,modules}`/`editorconfig` extensions as properties files
2020-07-30 10:46:15 +02:00
Sandeep Somavarapu cc20a1f02a #103544 Skip another failing test 2020-07-30 10:05:34 +02:00
Vitaliy Gulyy 3944e56699
Allow syntax highlighting for Dockerfile.*, Containerfile.* (fixes #102897)
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
2020-07-30 09:50:39 +02:00
Jackson Kearl 9c525f3cf2 Enable search-editor in serverless.
Closes microsoft/vscode-internalbacklog/issues/1208
2020-07-29 21:24:57 -07:00
Eric Amodio ea63321bc6 Removes internal gh browser & adds external 2020-07-29 23:49:17 -04:00
Jackson Kearl c2224dab6c Allow for non-file uri's in search editor 2020-07-29 17:08:41 -07:00
Jean Pierre f732547a3d
Fixes #103076 (#103578) 2020-07-29 15:31:50 -07:00
Matt Bierner e0f0cc4bf2 Skip another failing test 2020-07-29 15:05:49 -07:00
Matt Bierner 55ad57fc2a Skipping failing test 2020-07-29 14:06:12 -07:00
Matt Bierner bdd3721849 Add custom editor test extension
Adds a simple set of tests for custom editors in a new extension. This is currently not run during CI since we want more testing to make sure it is reliable
2020-07-29 14:05:44 -07:00
AlexxNB f40a29d680 xhtm->xht 2020-07-29 18:12:24 +03:00
Alexey Schebelev 1ea9bbf7d2
Add *.xhtm file extension
`xhtm` - is also valid file extension for XHTML files. It is like `htm` and `html` for HTML.
2020-07-29 16:57:21 +03:00
Sandeep Somavarapu a3f6ecc5eb #103544 comment out failing test 2020-07-29 11:01:37 +02:00
Rachel Macfarlane 12f63d9c66 Stabilize authentication consumer side, fixes #100993 2020-07-28 09:58:16 -07:00
Alex Dima f485d75605
Revert change that breaks integration tests 2020-07-28 12:04:57 +02:00
Matt Bierner 7493065766 Fix webview special paths for resources and re-enable test
Fixes #103419
2020-07-27 21:41:30 -07:00
Ye-hyoung Kang fcc2a4935e
Add filename patterns for jsconfig.json (#103360)
Add alternative filename patterns for jsconfig.json that will be recognized as JSONC when opened. This mirrors the accepted filename patterns for tsconfig.json.
2020-07-27 13:12:42 -07:00
Alex Dima 88e6416265
comment out failing web integration test 2020-07-27 17:50:47 +02:00
Alex Dima 6c99a9fca9
Fix that microsoft-authentication is a web extension 2020-07-27 14:23:10 +02:00
Rob Lourens 50652f8189 Fix findFiles integration tests after PR even more 2020-07-26 18:35:14 -07:00
NotWearingPants 05a8e34caa
Treat all files with git{config,attributes,modules}/editorconfig extensions as properties files 2020-07-25 22:29:05 +03:00
Rob Lourens e2de23c683 Fix integration tests 2020-07-25 09:21:27 -07:00
Jean Pierre 86c04f72be
Fixes regression: cannot open image with special characters '#', '?', '%' (#102189)
* Fixes #102188

* Add unit test for #102188
2020-07-24 13:58:54 -07:00
Matt Bierner 519ce367a3 Use asAbsolutePath instead of hardcoding path 2020-07-24 13:52:48 -07:00
Matt Bierner d43491b79d Reduce number of files copied for TS web build 2020-07-24 13:52:48 -07:00
Rachel Macfarlane 33659eda9f Add codeExchangeProxyEndpoints to web api 2020-07-24 12:46:15 -07:00
Rachel Macfarlane 3c96ef7d89 Update Microsoft auth callbacks 2020-07-24 09:11:50 -07:00
Alex Dima 91cdca1bdb
Do not ship unnecessary files with extensions 2020-07-24 13:57:51 +02:00
Alex Dima 2fa41fb23e
Add "web" as extensionKind to extensions which support this 2020-07-24 10:41:03 +02:00
Matt Bierner 731f9c2563 Prefer using data-href if it exists on a markdown preview link
Fixes #101203
2020-07-23 21:51:18 -07:00
Rachel Macfarlane 1522727940 Update Microsoft auth provider extension kind 2020-07-23 12:00:45 -07:00
Sandeep Somavarapu 080eae73cd fix #103009 2020-07-23 11:19:00 +02:00
Matt Bierner 8c426f9f3b Update built TS web version 2020-07-22 17:56:43 -07:00
Andrew Branch 2cf34eefdd
[typescript-language-features] Add telemetry for package.json auto imports (#103126)
* Add telemetry for package.json auto imports

* Change data classification

* Use string, boolean is not allowed in TelemetryProperties
2020-07-22 15:59:51 -07:00
Andrew Branch 1c8662b8bf
Add setting for package.json auto imports (#103037) 2020-07-22 15:28:22 -07:00
Matt Bierner fe47409531 Pick up TS 3.9.7 2020-07-22 15:22:40 -07:00
Matt Bierner 3f1206a355 Fix isWeb platform check
The new check should be safer
2020-07-22 14:52:38 -07:00
Matt Bierner 5b9fd525fa Minimize shipped tsserver
This takes the shipped size from 9Mb to 2.9mb
2020-07-22 14:52:38 -07:00
Matt Bierner ba6576d343 Move project status into host 2020-07-22 14:02:38 -07:00
Matt Bierner 8d6b507dfb Fix build error
watch didn't pick up on the file rename
2020-07-22 12:12:21 -07:00
Peng Lyu 0c7c7c3d73
Merge pull request #103054 from rebornix/rebornix/integration-test-notebook
💄 integration test notebook
2020-07-22 11:46:35 -07:00
Matt Bierner f9224c26cb Move command manager into commands folder 2020-07-22 11:31:08 -07:00
Matt Bierner 3b15049759 Rename files to mark them as browser or electron 2020-07-22 11:31:08 -07:00
Matt Bierner c6ce8f26cc Move fork impl into serverProcess 2020-07-22 11:31:08 -07:00
Matt Bierner 2f10b23958 Move buffer sync support into server folder 2020-07-22 11:31:08 -07:00
rebornix 3423d5c7ac no assert for initial state 2020-07-22 10:50:16 -07:00
rebornix 8f032b536c 💄 2020-07-22 09:32:59 -07:00
Peng Lyu bd70388d46
Merge branch 'master' into rebornix/integration-test-notebook 2020-07-22 09:32:48 -07:00
rebornix 86356398dd use tmp file for every test. 2020-07-22 09:01:02 -07:00
João Moreno be901d8db1 fixes #103053 2020-07-22 10:37:09 +02:00
João Moreno e4f2a0fa0b
Merge pull request #103044 from NotWearingPants/patch-1
Treat all files with `npmrc`/`npmignore`/`gitignore` extensions as properties/ignore files
2020-07-22 09:26:02 +02:00
Matt Bierner 0a7364f005 Use object parameter for services 2020-07-21 18:56:27 -07:00
Peng Lyu e67bc31c39
Merge branch 'master' into rebornix/integration-test-notebook 2020-07-21 18:14:51 -07:00
rebornix e83010a4aa silent fail when the documents events are wrong 2020-07-21 18:13:23 -07:00
Matt Bierner feadf5183d Move code lens files into own directory 2020-07-21 17:19:47 -07:00
Matt Bierner 5dfb77c313 Move task provider into own folder 2020-07-21 17:15:20 -07:00
Matt Bierner a4b0116978 Rename features -> langaugeFeatures 2020-07-21 17:12:19 -07:00
Matt Bierner 6649f4e296 Clean up extension activation 2020-07-21 17:06:24 -07:00
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
NotWearingPants e4824fa66a
Treat all files with an npmrc/npmignore extension as properties/ignore files 2020-07-22 00:22:10 +03:00
NotWearingPants 399d695f5f
Treat all files with a gitignore extension as ignore files 2020-07-22 00:18:54 +03: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
rebornix d5a65b5983 💄 2020-07-21 13:19:11 -07:00
rebornix 3dca69e729 close editors after untitled file creation. 2020-07-21 13:11:30 -07:00
rebornix 57d12629a8 wait for document close when finishing a test. 2020-07-21 13:09:39 -07:00
rebornix 9c467b969c lazy load webview if there is no webview outputs or not kernel dependencies 2020-07-21 11:06:53 -07:00
rebornix cf9d6d7667 re #102899. 2020-07-21 08:55:18 -07:00
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
Johannes Rieken c01b925533
Merge branch 'master' into joh/celldocs 2020-07-17 15:05:18 +02: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 b3f090d329 use getEventOncePromise-util 2020-07-17 11:18:35 +02:00
Johannes Rieken 04eef0779d add test that asserts cell document open are fired when the notebook is ready, not before 2020-07-17 11:16:38 +02:00
Johannes Rieken 00dea1c4ad create "real" TextDocument when opening a notebook or when adding cells, don't create them again when the renderer makes models 2020-07-17 11:02:08 +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