aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite auto-updateAleksey Kladov2020-03-1913-691/+265
| | | | | | | | | | | | | | Everything now happens in main.ts, in the bootstrap family of functions. The current flow is: * check everything only on extension installation. * if the user is on nightly channel, try to download the nightly extension and reload. * when we install nightly extension, we persist its release id, so that we can check if the current release is different. * if server binary was not downloaded by the current version of the extension, redownload it (we persist the version of ext that downloaded the server).
* Merge #3634bors[bot]2020-03-181-12/+29
|\ | | | | | | | | | | | | | | | | | | | | 3634: Make xtask dist more reliable r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Make xtask dist more reliableAleksey Kladov2020-03-181-12/+29
|/
* Merge #3630bors[bot]2020-03-181-1/+0
|\ | | | | | | | | | | | | | | 3630: Feature: remove dat fixme r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]>
| * ra_hir_def: remove dat fixmeveetaha2020-03-181-1/+0
| |
* | Don't filter release by forkAleksey Kladov2020-03-181-1/+0
|/ | | | | | This syntax does not work for some reason https://github.com/rust-analyzer/rust-analyzer/runs/515231288?check_suite_focus=true
* Disable npm audit, as it blocks unrelated PR without a way to fixAleksey Kladov2020-03-171-2/+2
| | | | https://github.com/rust-analyzer/rust-analyzer/pull/3582#issuecomment-600107117
* Merge pull request #3582 from kiljacken/out-dir-from-checkAleksey Kladov2020-03-1718-176/+315
|\ | | | | Update OUT_DIR based on `cargo check` output
| * Use dyn-ref instead of impl to impact compile times the leastEmil Lauridsen2020-03-172-3/+3
| |
| * Slight readablity improvementEmil Lauridsen2020-03-171-1/+1
| |
| * Remove outDirOverridesEmil Lauridsen2020-03-173-15/+0
| |
| * Support loading OUT_DIR for CLI runsEmil Lauridsen2020-03-175-48/+81
| |
| * Remove unused config from VSCode extEmil Lauridsen2020-03-171-1/+0
| |
| * Support specifying OUT_DIR in json projectEmil Lauridsen2020-03-172-3/+22
| |
| * Change existing OUT_DIR override config to make use of new infrastructureEmil Lauridsen2020-03-178-57/+26
| |
| * Support loading OUT_DIR from cargo check at launchEmil Lauridsen2020-03-1710-114/+248
|/
* Merge #3626bors[bot]2020-03-176-127/+142
|\ | | | | | | | | | | | | | | | | | | | | | | | | 3626: Check that no file contains trailing ws r=matklad a=matklad rustfmt allows trailing spaces in string literals unfortunately. bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Check that no file contains trailing wsAleksey Kladov2020-03-176-127/+142
|/ | | | rustfmt allows trailing spaces in string literals unfortunately.
* Merge #3625bors[bot]2020-03-171-2/+2
|\ | | | | | | | | | | | | | | 3625: Fix typo r=flodiebold a=phynalle It doesn't need any description! I just fixed a typo. haha Co-authored-by: phynalle <[email protected]>
| * Fix typophynalle2020-03-171-2/+2
| |
* | Merge pull request #3613 from bjorn3/patch-1Aleksey Kladov2020-03-171-0/+3
|\ \ | |/ |/| Fix cargo registry caching for builds
| * Fix cargo registry caching for buildsbjorn32020-03-161-0/+3
| |
* | Merge #3580bors[bot]2020-03-1714-181/+471
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3580: More error-resilient MBE expansion r=matklad a=flodiebold This is the beginning of an attempt to make macro-by-example expansion more resilient, so that we still get an expansion even if no rule exactly matches, with the goal to make completion work better in macro calls. The general idea is to make everything return `(T, Option<ExpandError>)` instead of `Result<T, ExpandError>`; and then to try each macro arm in turn, and somehow choose the 'best' matching rule if none matches without errors. Finding that 'best' match isn't done yet; I'm currently counting how many tokens were consumed from the args before an error, but it also needs to take into account whether there were further patterns that had nothing to match. I'll continue this later, but I'm interested whether you think this is the right path, @matklad & @edwin0cheng. Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Florian Diebold <[email protected]>
| * | Small fixesFlorian Diebold2020-03-161-4/+2
| | |
| * | Some more refactoringFlorian Diebold2020-03-162-58/+76
| | |
| * | Some cleanupFlorian Diebold2020-03-161-5/+7
| | |
| * | Turn ExpandResult into structFlorian Diebold2020-03-166-43/+63
| | |
| * | Fix remaining test failureFlorian Diebold2020-03-162-9/+11
| | |
| * | Fix performance problemFlorian Diebold2020-03-162-32/+37
| | |
| * | Better fix for stuck parser?Florian Diebold2020-03-161-3/+3
| | |
| * | Add test, remove printlnsFlorian Diebold2020-03-164-3/+53
| | |
| * | Get tests workingFlorian Diebold2020-03-165-7/+19
| | |
| * | wipFlorian Diebold2020-03-165-94/+160
| | |
| * | Attempt to implement ranking of rules when none matches perfectly (wip)Florian Diebold2020-03-163-11/+51
| | |
| * | Make MBE expansion more resilient (WIP)Florian Diebold2020-03-1610-91/+168
| |/
* | Merge #3624bors[bot]2020-03-173-131/+145
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3624: Tidier tidy checks r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Tidier tidy checksAleksey Kladov2020-03-173-131/+145
|/ /
* | Merge pull request #3618 from swarnimarun/patch-1Aleksey Kladov2020-03-171-0/+1
|\ \ | | | | | | Gate release action to rust-analyzer owner
| * | Update .github/workflows/release.yamlAleksey Kladov2020-03-171-1/+1
| | | | | | | | | Co-Authored-By: Florian Diebold <[email protected]>
| * | Gate release action to rust-analyzer ownerSwarnim Arun2020-03-161-0/+1
| | |
* | | Merge #3616bors[bot]2020-03-171-16/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 3616: Update dependencies, removing rustc_version r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | Update dependencies, removing rustc_versionkjeremy2020-03-161-16/+7
| |/
* | Merge #3614bors[bot]2020-03-167-65/+80
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 3614: Separate persistent mutable state from config r=matklad a=matklad That way, we clearly see which things are not change, and we also clearly see which things are persistent. r? @Veetaha Co-authored-by: Aleksey Kladov <[email protected]>
| * Separate persistent mutable state from configAleksey Kladov2020-03-167-65/+80
| | | | | | | | | | That way, we clearly see which things are not change, and we also clearly see which things are persistent.
| * Fix audit caching betterAleksey Kladov2020-03-161-1/+2
| |
* | Merge pull request #3612 from matklad/audit5Aleksey Kladov2020-03-161-1/+2
|\ \ | |/ |/| Fix audit caching better
| * Fix audit caching betterAleksey Kladov2020-03-161-1/+2
| |
* | Merge pull request #3611 from matklad/audit4Aleksey Kladov2020-03-161-1/+2
|\| | | | | Fix cargo audit caching
| * Fix cargo audit cachingAleksey Kladov2020-03-161-1/+2
|/ | | | | | See https://github.com/actions/cache/issues/133#issuecomment-599102035 for chown bit
* Merge pull request #3610 from matklad/audit3Aleksey Kladov2020-03-161-1/+14
|\ | | | | Cache cargo-audit on CI