aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Update lsp-types moreAleksey Kladov2019-12-112-4/+4
| | |
| * | Revert "Revert "Support LSP 3.15""Aleksey Kladov2019-12-116-8/+36
|/ / | | | | | | This reverts commit 1e0bf205eff81f04c0e1e6c208c3489327520c3f.
* | Revert "Support LSP 3.15"Aleksey Kladov2019-12-116-36/+8
| | | | | | | | This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1.
* | Merge #2528bors[bot]2019-12-110-0/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2528: Revert "Support LSP 3.15" r=matklad a=matklad Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * | Revert "Support LSP 3.15"Aleksey Kladov2019-12-116-36/+8
| | | | | | | | | | | | | | | | | | This reverts commit fcccf8ec59420d20edc53f7d787f2412e297f5fe. This causes rust-analyzer die immediatelly after startup
| * | Support LSP 3.15Jeremy Kolb2019-12-116-8/+36
| |/ | | | | | | This merely upgrades our protocol support. It does not add any of the new features.
* | Merge #2527bors[bot]2019-12-118-16/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 2527: Enable tsc builtin lint options for vscode/extension r=matklad a=saneyuki * These options are not enabled by `--strict` option and these options make a code more solid. * https://www.typescriptlang.org/docs/handbook/compiler-options.html * For `noUnusedParameters` , we need to tweak tslint option to allow `_bar` style. Co-authored-by: Tetsuharu OHZEKI <[email protected]>
| * | Enable noFallthroughCasesInSwitch option for vscode extensionTetsuharu OHZEKI2019-12-111-1/+2
| | |
| * | Enable noImplicitReturns option for vscode extensionTetsuharu OHZEKI2019-12-115-12/+20
| | |
| * | Enable noUnusedParameters option for vscode extensionTetsuharu OHZEKI2019-12-115-5/+8
|/ /
* | Merge #2525bors[bot]2019-12-111-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2525: Use ES2018 for vscode extension r=matklad a=saneyuki Today's latest vscode v1.40 (Node.jsv12.4/V8 v7.6) supports ES2018 features natively. We don't have to transform codes to ES6. Co-authored-by: Tetsuharu OHZEKI <[email protected]>
| * | Use ES2018 for vscode extensionTetsuharu OHZEKI2019-12-111-2/+2
| |/ | | | | | | | | | | | | Today's latest vscode v1.40 (Node.jsv12.4/V8 v7.6) supports ES2018 features natively. We don't have to transform codes to ES6.
* | Merge #2526bors[bot]2019-12-116-8/+36
|\ \ | |/ |/| | | | | | | | | | | 2526: Support LSP 3.15 r=matklad a=kjeremy This merely upgrades our protocol support. It does not add any of the new features. Co-authored-by: Jeremy Kolb <[email protected]>
| * Support LSP 3.15Jeremy Kolb2019-12-116-8/+36
|/ | | | This merely upgrades our protocol support. It does not add any of the new features.
* Merge #2523bors[bot]2019-12-111-12/+66
|\ | | | | | | | | | | | | | | | | | | | | | | 2523: Fixed #2250 r=matklad a=gab-umich Bugfix Debriefing: 1. Tuple in type annotation expands correctly; 2. Expansion will prefer the following delimiter when possible. This involves modification of previous test cases to match current behaviour. 3. New regression tests added to verify the consistency between tuple expansion in type annotation and tuple expansion in rvalue. Both should behave exactly the same. Co-authored-by: Gabriel Luo <[email protected]>
| * Fixed #2250Gabriel Luo2019-12-111-12/+66
|/ | | | | Tuple in type annotation expands correctly; Expansion will prefer the following delimiter when possible. New regression tests added to verify the consistency between tuple expansion in type annotation and tuple expansion in rvalue.
* Merge #2519bors[bot]2019-12-101-14/+4
|\ | | | | | | | | | | | | | | 2519: Build correct SourceAnalyzer for traits r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Build correct SourceAnalyzer for traitsAleksey Kladov2019-12-101-14/+4
|/
* Merge #2516bors[bot]2019-12-092-70/+47
|\ | | | | | | | | | | | | | | 2516: chore: bump deps and use mainline chalk r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * chore: bump deps and use mainline chalkLaurențiu Nicola2019-12-092-70/+47
|/
* Merge #2514bors[bot]2019-12-0931-232/+233
|\ | | | | | | | | | | | | | | 2514: Code: enable prettier trailing commas r=matklad a=lnicola See #2512. Co-authored-by: Laurențiu Nicola <[email protected]>
| * Code: enable prettier trailing commasLaurențiu Nicola2019-12-0931-232/+233
|/
* Merge #2513bors[bot]2019-12-093-10/+14
|\ | | | | | | | | | | | | | | 2513: Report correct original range in goto_definition r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Report correct original range in goto_definitionAleksey Kladov2019-12-091-9/+7
| |
| * Allow disabling sysrootAleksey Kladov2019-12-092-1/+7
|/ | | | Might be helpful for debugging
* Merge #2511bors[bot]2019-12-092-1/+32
|\ | | | | | | | | | | | | | | 2511: Implement `ra_lsp_server --version` r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Implement `ra_lsp_server --version`Aleksey Kladov2019-12-092-1/+32
|/
* Merge #2510bors[bot]2019-12-094-1/+58
|\ | | | | | | | | | | | | | | 2510: Add sourcemap for rollup and fix launch.json outfiles r=matklad a=edwin0cheng Fix #2509 Co-authored-by: Edwin Cheng <[email protected]>
| * Add rollup sourcemap and fix launch.jsonEdwin Cheng2019-12-084-1/+58
|/
* Merge #2508bors[bot]2019-12-081-5/+9
|\ | | | | | | | | | | | | | | | | | | | | | | 2508: Code: don't check for ra_lsp_server on Windows r=matklad a=lnicola Workaround for https://github.com/rust-analyzer/rust-analyzer/pull/2503#issuecomment-562980020. ~~(not yet tested on Windows)~~ We can't run `ra_lsp_server --version` right now because the server doesn't seem to handle arguments (so it hangs). Co-authored-by: Laurențiu Nicola <[email protected]>
| * Code: don't check for ra_lsp_server on WindowsLaurențiu Nicola2019-12-081-5/+9
| |
* | Merge #2507bors[bot]2019-12-084-418/+253
|\ \ | |/ |/| | | | | | | | | | | 2507: Code: bump deps r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * Code: bump depsLaurențiu Nicola2019-12-084-418/+253
|/
*---. Merge #2500 #2505 #2506bors[bot]2019-12-0812-140/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2500: Fix format_args expansion & go to definition r=matklad a=flodiebold The expansion of format_args wasn't yet correct enough to type-check. Also make macros in statement position expand to expressions for now, since it's not handled correctly in HIR lowering yet. This finally fixes go to definition within print macros, I think :slightly_smiling_face: 2505: Remove more dead code r=matklad a=matklad 2506: Remove one more Ty r=matklad a=matklad Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| | | * Remove one more TyAleksey Kladov2019-12-083-8/+3
| | |/
| | * Remove more dead codeAleksey Kladov2019-12-084-111/+1
| | |
| | * Cleanup module structureAleksey Kladov2019-12-083-8/+7
| | |
| * | Expand macros in blocks to expressions for nowFlorian Diebold2019-12-082-5/+6
| | | | | | | | | | | | Expanding to statements isn't handled properly yet and breaks things.
| * | Fix range in goto_through_format testFlorian Diebold2019-12-081-1/+1
| | |
| * | Fix expansion of format_argsFlorian Diebold2019-12-082-7/+13
| | |
| | |
| \ \
| \ \
| \ \
*---. \ \ Merge #2501 #2502 #2503bors[bot]2019-12-089-158/+140
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2501: Fix coercion from &Foo to an inference variable in a reference r=matklad a=flodiebold We didn't try to unify within the reference, but we should. 2502: Delay legacy macro expansion r=matklad a=edwin0cheng This PR make the following changes: * Delay legacy macro expansion such that we concentrated all item collecting macro expansion in one place. * Add `MacroDirective` to replace 3-tuples * After this refactoring, no macro is expanded recursively, hence we can remove the `MacroStackMonitor` and we handle the expansion limit by the fix-point loop count. 2503: Code: check whether the LSP binary is in PATH r=matklad a=lnicola I'm not really sure about the TS changes. I just made a couple of functions async and it seems to work. Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Edwin Cheng <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]>
| | | * | Code: check whether the LSP binary is in PATHLaurențiu Nicola2019-12-086-8/+41
| | | | |
| | * | | Delay legacy macro expansionEdwin Cheng2019-12-081-149/+57
| | |/ /
| * | / Fix coercion from &Foo to an inference variable in a referenceFlorian Diebold2019-12-082-1/+42
| | |/ | |/| | | | | | | We didn't try to unify within the reference, but we should.
* | | Merge #2504bors[bot]2019-12-081-2/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2504: Use rustup toolchain install instead of rustup install r=matklad a=edwin0cheng `rustup install` and `rustup uninstall` are going to be deprecated in rustup 1.21.0 See https://github.com/rust-lang/rustup/issues/2148 and https://www.reddit.com/r/rust/comments/e7rer9/we_need_your_help_before_rustup_1210_can_be/ Co-authored-by: Edwin Cheng <[email protected]>
| * | Use rustup toolchain instead of rustup installEdwin Cheng2019-12-081-2/+2
| |/
* | Merge #2499bors[bot]2019-12-089-110/+54
|\ \ | | | | | | | | | | | | | | | | | | | | | 2499: Remove ty from code_model r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove dead codeAleksey Kladov2019-12-081-33/+0
| | |
| * | Remove ty from code_modelAleksey Kladov2019-12-089-55/+53
| | |
| * | Remove bodies from code_modelAleksey Kladov2019-12-081-9/+0
| | |