aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Fix coercion of &T to itselfFlorian Diebold2020-02-162-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autoderef coercion logic did not handle matching placeholders. This led to some type mismatches.
* | | | | | | | | Merge #3162bors[bot]2020-02-169-108/+179
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3162: Feature: vscode always downloads only the matching ra_lsp_server version r=matklad a=Veetaha I tried to separate logically connected changes into separate commits, so enjoy! Now TypeScript extension saves installed binary version in global state and always checks that the installed binary version equals the version of the TypeScript extension itself (to prevent version drifts). Also, changed `fetchLatestArtifactReleaseInfo()` to `fetchArtifactReleaseInfo()` that takes an optional release tag (when not specified fetches the latest release). The version without a release tag will be useful in the future when adding auto-checking for updates. I decided not to do `Download latest language server` command (I have stated the rationale for this in #3073) and let the extension itself decide which version of the binary it wants. This way the users will be able to get the latest `ra_lsp_server` binary after the approaching 2020-02-17 release, without having to manually delete the outdated one from `~/.config/Code/User/globalStorage/matklad.rust-analyzer`! Closes #3073 Co-authored-by: Veetaha <[email protected]>
| * | | | | | | | vscode: updated user docs vscode updates sectionVeetaha2020-02-161-4/+3
| | | | | | | | |
| * | | | | | | | vscode: save binary version when downloading and download only version that ↵Veetaha2020-02-161-96/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matches TypeScript extension version
| * | | | | | | | vscode: extract downloadArtifact() functionVeetaha2020-02-161-0/+58
| | | | | | | | |
| * | | | | | | | vscode: add release tag option to fetchArtifactReleaseInfo()Veetaha2020-02-161-5/+11
| | | | | | | | |
| * | | | | | | | vscode: add version and storage parameters to github binary sourceVeetaha2020-02-165-3/+35
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge pull request #3161 from Veetaha/feature/cicd-simplify-vsce-callAleksey Kladov2020-02-161-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | cicd: simplify vsce call
| * | | | | | | | cicd: simplify vsce callVeetaha2020-02-151-1/+1
| |/ / / / / / /
* | | | | | | | Merge #3163bors[bot]2020-02-161-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3163: vscode: fix the default value for withSysroot r=matklad a=Veetaha See [zulip](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/withSysroot.20is.20false.20.3F) cc @edwin0cheng Co-authored-by: Veetaha <[email protected]>
| * | | | | | | vscode: fix the default value for withSysrootVeetaha2020-02-161-1/+1
|/ / / / / / /
* | | | | | | Merge #3157bors[bot]2020-02-156-14/+103
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3157: Extend analysis-stats a bit r=matklad a=flodiebold This adds some tools helpful when debugging nondeterminism in analysis-stats: - a `--randomize` option that analyses everything in random order - a `-vv` option that prints even more detail Also add a debug log if Chalk fuel is exhausted (which would be a source of nondeterminism, but didn't happen in my tests). I found one source of nondeterminism (rust-lang/chalk#331), but there are still other cases remaining. Co-authored-by: Florian Diebold <[email protected]>
| * | | | | | | Extend analysis-stats a bitFlorian Diebold2020-02-156-14/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds some tools helpful when debugging nondeterminism in analysis-stats: - a `--randomize` option that analyses everything in random order - a `-vv` option that prints even more detail Also add a debug log if Chalk fuel is exhausted (which would be a source of nondeterminism, but didn't happen in my tests). I found one source of nondeterminism (rust-lang/chalk#331), but there are still other cases remaining.
* | | | | | | | Merge #3160bors[bot]2020-02-152-2/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3160: Remove extra dep r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | Remove extra depAleksey Kladov2020-02-152-2/+0
|/ / / / / / / /
* | | | | | | | Merge #3158bors[bot]2020-02-151-1/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3158: Disable rollup warning r=matklad a=edwin0cheng In https://rollupjs.org/guide/en/#output-exports ``` As with regular entry points, files that mix default and named exports will produce warnings. You can avoid the warnings by forcing all files to use named export mode via output.exports: "named". ``` This PR try added `output.exports: "named"` and disabe this warning. It is because vscode consume our plugins only by named functions such that it should be saved to disable it. cc @Veetaha Co-authored-by: Edwin Cheng <[email protected]>
| * | | | | | | Disable rollup warningEdwin Cheng2020-02-151-1/+2
|/ / / / / / /
* | | | | | | Merge #3152bors[bot]2020-02-145-28/+28
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3152: vscode: a couple of more intuitive names and shortening languageServer to langServer r=matklad a=Veetaha God, naming is so hard. I'd like to extract this change from upcomming "Download latest language server" command PR. Co-authored-by: Veetaha <[email protected]>
| * | | | | | vscode: renamed langServer to serverVeetaha2020-02-143-22/+22
| | | | | | |
| * | | | | | vscode: renmed ArtifactMetadata -> ArtifactReleaseInfo, languageServer -> ↵Veetaha2020-02-144-11/+11
|/ / / / / / | | | | | | | | | | | | | | | | | | langServer
* | | | | | Merge #3151bors[bot]2020-02-141-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3151: xtask: bump nodejs requirement r=matklad a=Veetaha Co-authored-by: Veetaha <[email protected]>
| * | | | | | xtask: bump nodejs requirement while we can!Veetaha2020-02-141-1/+1
| | | | | | |
* | | | | | | Merge #3150bors[bot]2020-02-141-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3150: Bump crate resolution limit for large projects r=matklad a=benbrittain Co-authored-by: Benjamin Brittain <[email protected]>
| * | | | | | Bump crate resolution limit for large projectsBenjamin Brittain2020-02-141-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Change-Id: Ie0221e5bcfd1779cd5e241f96b4489e5bd3854c1
* | | | | | Merge #3131bors[bot]2020-02-144-211/+96
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3131: vscode: simplified config and to removed one source of truth of default values r=matklad a=Veetaha Though not intended initially, the implementation of config design is alike [dart's one](https://github.com/Dart-Code/Dart-Code/blob/master/src/extension/config.ts) as pointed by @matklad in PM. Co-authored-by: Veetaha <[email protected]>
| * | | | | make onConfigChange handler privateVeetaha2020-02-141-1/+1
| | | | | |
| * | | | | vscode: moved to getters as per matkladVeetaha2020-02-145-39/+33
| | | | | |
| * | | | | vscode: reordered config constructor before methodsVeetaha2020-02-131-5/+6
| | | | | |
| * | | | | vscode: redesigned config with simplicity and Dart extension config ↵Veetaha2020-02-135-216/+96
| | | | | | | | | | | | | | | | | | | | | | | | implementation in mind
| * | | | | vscode: added more type safety to package.json configVeetaha2020-02-131-0/+10
| | | | | |
* | | | | | Merge #3147bors[bot]2020-02-143-0/+42
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3147: Check that impl self type matches up with expected self type in path mode r=matklad a=flodiebold Fixes #3144. Co-authored-by: Florian Diebold <[email protected]>
| * | | | | Check that impl self type matches up with expected self type in path modeFlorian Diebold2020-02-143-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #3144.
* | | | | | Merge #3145bors[bot]2020-02-144-9/+78
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3145: Make Self implement the trait inside trait default methods r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | | | | | Make Self implement the trait inside trait default methodsFlorian Diebold2020-02-144-9/+78
| | | | | | |
* | | | | | | Merge #3146bors[bot]2020-02-141-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3146: Typo r=flodiebold a=Veetaha typo Co-authored-by: Veetaha <[email protected]>
| * | | | | | TypoVeetaha2020-02-141-1/+1
|/ / / / / / | | | | | | | | | | | | typo
* | | | | | Merge #3143bors[bot]2020-02-141-2/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3143: Make AtomicX type resolve again r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | Make AtomicX type resolve againAleksey Kladov2020-02-141-2/+4
| | | | | | |
* | | | | | | Merge #3142bors[bot]2020-02-141-0/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3142: Ensure that the manual is self-improving r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | Ensure that the manual is self-improvingAleksey Kladov2020-02-141-0/+3
| |/ / / / /
* | | | | | Merge #3141bors[bot]2020-02-141-5/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3141: Simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | SimplifyAleksey Kladov2020-02-141-5/+2
| | | | | |
* | | | | | Merge #3140bors[bot]2020-02-145-299/+214
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3140: Start manual r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Move rm_rf to not-bashAleksey Kladov2020-02-142-9/+23
| | | | | |
| * | | | | Trim outputAleksey Kladov2020-02-141-1/+1
| | | | | |
| * | | | | Add fs2 module for better error messagesAleksey Kladov2020-02-142-5/+28
| | | | | |
| * | | | | Update the manual on releaseAleksey Kladov2020-02-141-1/+4
| | | | | |
| * | | | | Add dry run mode to xtask releaseAleksey Kladov2020-02-142-6/+9
| | | | | |
| * | | | | Start manualAleksey Kladov2020-02-142-280/+152
| | | | | |
* | | | | | Merge #3139bors[bot]2020-02-142-12/+12
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3139: Expect vscode 1.42 r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>