aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Re-enable IDE features for incomplete impl blocsAleksey Kladov2020-07-093-3/+21
| | | |
* | | | Merge #5279bors[bot]2020-07-092-32/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5279: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | SimplifyAleksey Kladov2020-07-092-32/+20
|/ / /
* | | Merge #5278bors[bot]2020-07-095-40/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5278: expect should be a dev dep r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | expect should be a dev depAleksey Kladov2020-07-091-1/+1
| | | |
| * | | Unify testsAleksey Kladov2020-07-094-39/+26
| | | |
* | | | Merge #5276bors[bot]2020-07-094-163/+114
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5276: Streamline r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | No blank indentAleksey Kladov2020-07-091-1/+1
| | | |
| * | | Prettier renderingAleksey Kladov2020-07-091-43/+43
| | | |
| * | | StreamlineAleksey Kladov2020-07-093-50/+36
| | | |
| * | | Reduce APIAleksey Kladov2020-07-092-13/+8
| | | |
| * | | CleanupAleksey Kladov2020-07-091-21/+15
| | | |
| * | | Reduce APIAleksey Kladov2020-07-091-19/+5
| | | |
| * | | RenameAleksey Kladov2020-07-091-22/+12
|/ / /
* | | Merge #5273bors[bot]2020-07-087-1632/+1682
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5273: Refactor hover tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Refactor hover testsAleksey Kladov2020-07-081-1582/+1615
| | | |
| * | | Simplify testsAleksey Kladov2020-07-081-59/+55
| | | |
| * | | better languageAleksey Kladov2020-07-082-11/+12
| | | |
| * | | Add Markup typeAleksey Kladov2020-07-085-59/+79
| | | |
* | | | Merge #5272bors[bot]2020-07-081-6/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5272: :arrow_up: deps r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | :arrow_up: depsAleksey Kladov2020-07-081-6/+6
|/ / /
* | | Merge #5271bors[bot]2020-07-081-51/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5271: Tidyup hover r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | simplifyAleksey Kladov2020-07-081-9/+11
| | | |
| * | | Minimize APIAleksey Kladov2020-07-081-6/+4
| | | |
| * | | Dead codeAleksey Kladov2020-07-081-31/+19
| | | |
| * | | Reduce visibilityAleksey Kladov2020-07-081-9/+7
| | | |
* | | | Merge #5266bors[bot]2020-07-0812-61/+108
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5266: Remove relative_path dependency r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Remove relative_path dependencyAleksey Kladov2020-07-085-42/+90
| | | |
| * | | Remove unwanted dependencyAleksey Kladov2020-07-088-16/+15
| | | |
| * | | Document failed refactorAleksey Kladov2020-07-081-3/+3
|/ / /
* | | Merge #5263bors[bot]2020-07-083-4/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5263: Fix some clippy perf warnings r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | Clippy perf warningskjeremy2020-07-083-4/+3
|/ / /
* | | Merge #5262bors[bot]2020-07-081-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5262: Workaround rollup messing up default imports r=matklad a=Veetaha Tackles https://github.com/rust-analyzer/rust-analyzer/issues/5257#issuecomment-655435271 Related: https://github.com/rollup/plugins/issues/491 Co-authored-by: Veetaha <[email protected]>
| * | | Workaround rollup messing up default importsVeetaha2020-07-081-1/+4
|/ / /
* | | Merge #5255bors[bot]2020-07-075-57/+82
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5255: Replace ad hocery with science r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Replace ad hocery with scienceAleksey Kladov2020-07-075-57/+82
| | | |
* | | | Merge #4972bors[bot]2020-07-076-24/+68
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4972: Gzip artifacts r=Veetaha a=Veetaha [Here is the test release](https://github.com/Veetaha/rust-analyzer/releases/tag/2020-06-21) Change in size: `~ 25 MB -> ~ 8 MB (gzipped)` The time to gzip during the dist build takes a somewhat considerable amount of time tho. Having already compiled artifacts this takes in debug mode: ``` ~/dev/rust-analyzer (feat/gzip-binaries) $ time cargo xtask dist Finished dev [unoptimized] target(s) in 0.06s Running `target/debug/xtask dist` > cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release Finished release [optimized] target(s) in 0.05s > strip ./target/release/rust-analyzer real 0m34.331s user 0m34.245s sys 0m0.078s ``` In release mode this is much faster: ``` ~/dev/rust-analyzer (feat/gzip-binaries) $ time cargo run -p xtask --release -- dist Finished release [optimized] target(s) in 0.04s Running `target/release/xtask dist` > cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release Finished release [optimized] target(s) in 0.06s > strip ./target/release/rust-analyzer real 0m2.401s ``` **[UPD]** adding a profile override for `miniz_oxide` does the thing to ensure good performrance We might need to notify all other ra plugins' maintainers about the change in our GH releases if we merge this PR, or we could leave uncompressed files along with gzipped for a while until everyone migrates. Co-authored-by: Veetaha <[email protected]>
| * | | Gzip artifactsVeetaha2020-07-076-24/+68
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: bjorn3 <[email protected]> Override miniz_oxide to build it with optimizations Building this crate with optimizations decreases the gzipping part of `cargo xtask dist` from `30-40s` down to `3s`, the overhead for `rustc` to apply optimizations is miserable on this background
* | | Merge #5253bors[bot]2020-07-073-3/+47
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5253: Automate rust-analyzer promotion r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Automate rust-analyzer promotionAleksey Kladov2020-07-072-4/+30
| | | |
| * | | .Aleksey Kladov2020-07-072-1/+19
|/ / /
* | | Merge #5252bors[bot]2020-07-071-19/+90
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5252: Fix symbol search in salsa r=matklad a=matklad Previous solution for binning paths into disjoint directories was simple and fast -- just a single binary search. Unfortunatelly, it wasn't coorrect: if the ditr are /d /d/a /d/c then partitioning the file /d/b/lib.rs won't pick /d as a correct directory. The correct solution here is a trie, but it requires exposing path components. So, we use a poor man's substitution -- a *vector* of sorted paths, such that each bucket is prefix-free closes #5246 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Fix symbol search in salsaAleksey Kladov2020-07-071-19/+90
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous solution for binning paths into disjoint directories was simple and fast -- just a single binary search. Unfortunatelly, it wasn't coorrect: if the ditr are /d /d/a /d/c then partitioning the file /d/b/lib.rs won't pick /d as a correct directory. The correct solution here is a trie, but it requires exposing path components. So, we use a poor man's substitution -- a *vector* of sorted paths, such that each bucket is prefix-free closes #5246
* | | Merge #5250bors[bot]2020-07-071-12/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5250: :arrow_up: backtrace r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | :arrow_up: backtraceAleksey Kladov2020-07-071-12/+12
|/ / /
* | | Merge pull request #5249 from matklad/ciAleksey Kladov2020-07-072-5/+7
|\ \ \ | | | | | | | | check cargo.lock
| * | | check cargo.lockAleksey Kladov2020-07-071-1/+1
| | | |
| * | | Upstream salsaAleksey Kladov2020-07-071-4/+6
|/ / /
* | | Merge #5248bors[bot]2020-07-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5248: Upstream salsa r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Upstream salsaAleksey Kladov2020-07-071-1/+1
|/ / /