aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge #5048bors[bot]2020-06-255-50/+66
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5048: Unify code style for worker threads r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Unify styleAleksey Kladov2020-06-254-19/+19
| | | |
| * | | Abstract over channelAleksey Kladov2020-06-253-30/+43
| | | |
| * | | Use Handle/Actor terminology for flycheckAleksey Kladov2020-06-252-13/+16
| | | |
* | | | Merge #5047bors[bot]2020-06-251-5/+22
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5047: matching brace works for | in lambdas r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | matching brace works for | in lambdasAleksey Kladov2020-06-251-5/+22
|/ / /
* | | Merge #5046bors[bot]2020-06-257-220/+134
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5046: Fix progress reporting for flycheck r=matklad a=matklad bors r+ Co-authored-by: veetaha <[email protected]> Co-authored-by: Veetaha <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Scale progress downAleksey Kladov2020-06-2511-354/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two reasons why we don't want a generic ra_progress crate just yet: *First*, it introduces a common interface between separate components, and that is usually undesirable (b/c components start to fit the interface, rather than doing what makes most sense for each particular component). *Second*, it introduces a separate async channel for progress, which makes it harder to correlate progress reports with the work done. Ie, when we see 100% progress, it's not blindly obvious that the work has actually finished, we might have some pending messages still.
| * | | Merge branch 'Veetaha-feat/sync-branch'Aleksey Kladov2020-06-2512-133/+299
|/| | |
| * | | Flatten Task enum ¯\_(ツ)_/¯Veetaha2020-06-181-5/+7
| | | |
| * | | Migrate flycheck to fully-lsp-compatible progress reports (introduce ↵veetaha2020-06-1816-362/+361
| | | | | | | | | | | | | | | | ra_progress crate)
| * | | Migrate flycheck to fully-lsp-compatible progress reports (introduce ↵veetaha2020-06-186-101/+225
| | | | | | | | | | | | | | | | ra_progress crate)
* | | | Merge #5044bors[bot]2020-06-257-207/+177
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5044: Tweak visibility r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Tweak visibilityAleksey Kladov2020-06-256-88/+84
| | | | |
| * | | | Reduce visibilityAleksey Kladov2020-06-253-40/+29
| | | | |
| * | | | Merge LoopState into GlobalStateAleksey Kladov2020-06-252-79/+64
| | | | |
* | | | | Merge #5025bors[bot]2020-06-241-57/+27
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5025: Don't mess with messy temp dir and just download into extension dir r=matklad a=Veetaha Temp dirs are messy. Dealing with them requires handling quite a bunch of edge cases. As proposed by lnicola this seems better to just put the temp files in the extension dir and not care much about suddenly leaving garbage. Instead we get shorter and less platform-caveat-y code. We will also assume users don't try to issue a download in different vscode windows simultaneously. Fixes #5019 Co-authored-by: Veetaha <[email protected]>
| * | | | Append 10 random hex chars to temp artifact filesVeetaha2020-06-241-1/+5
| | | | |
| * | | | Don't mess with messy temp dir and just download into extension dirVeetaha2020-06-241-57/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temp dirs are messy. Dealing with them requires handling quite a bunch of edge cases. As proposed by lnicola this seems better to just put the temp files in the extension dir and not care much about suddenly leaving garbage. Instead we get shorter and less platform-caveat-y code. We will also assume users don't try to issue a download in different vscode windows simultaneously
* | | | | Merge #5039bors[bot]2020-06-245-67/+68
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5039: Flatten module hierarchy r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Flatten module hierarchyAleksey Kladov2020-06-245-49/+50
| | | | | |
| * | | | | Cleanup visibilityAleksey Kladov2020-06-241-18/+18
|/ / / / /
* | | | | Merge #5038bors[bot]2020-06-241-56/+73
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5038: Make `iterate_method_candidates` non-generic r=jonas-schievink a=jonas-schievink Closes https://github.com/rust-analyzer/rust-analyzer/issues/4975 bors r+ :robot: ;) Co-authored-by: Jonas Schievink <[email protected]>
| * | | | | Make `iterate_method_candidates` non-genericJonas Schievink2020-06-241-56/+73
| | | | | |
| | | | | |
| \ \ \ \ \
*-. \ \ \ \ \ Merge #5035 #5037bors[bot]2020-06-244-22/+13
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5035: Less error-prone naming r=matklad a=matklad bors r+ 🤖 5037: Don't watch dirs if not asked to r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | | | | Don't watch dirs if not asked toAleksey Kladov2020-06-241-1/+1
| | | | | | |
| * | | | | | Less error-prone namingAleksey Kladov2020-06-244-21/+12
| | | | | | |
| * | | | | | Fix infinite cargo check bugAleksey Kladov2020-06-241-1/+1
| |/ / / / /
* | | | | | Merge #4990bors[bot]2020-06-2426-1050/+2594
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4990: Introduce an ItemTree layer to avoid reparsing files r=matklad a=jonas-schievink This reduces the latency of "go to definition" in a simple benchmark on rust-analyzer by around 30%. cc https://github.com/rust-analyzer/rust-analyzer/issues/1650 Closes https://github.com/rust-analyzer/rust-analyzer/issues/3485 Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> Co-authored-by: Jonas Schievink <[email protected]>
| * | | | | Reorder itemsJonas Schievink2020-06-241-76/+76
| | | | | |
| * | | | | Clean up and fix inner item collection a bitJonas Schievink2020-06-242-7/+38
| | | | | |
| * | | | | Use a HashMap instead of VecJonas Schievink2020-06-241-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer enforcing stack discipline, so a Vec isn't necessary or helpful
| * | | | | Remove unneeded HirFileId argumentJonas Schievink2020-06-242-7/+5
| | | | | |
| * | | | | Shrink arenas after building ItemTreeJonas Schievink2020-06-242-0/+49
| | | | | |
| * | | | | ItemTree: Use more boxed slicesJonas Schievink2020-06-244-15/+22
| | | | | |
| * | | | | Don't allocate empty genericsJonas Schievink2020-06-244-40/+78
| | | | | |
| * | | | | Don't allocate common visibilitiesJonas Schievink2020-06-245-75/+142
| | | | | |
| * | | | | Remove file id from item treeJonas Schievink2020-06-244-34/+28
| | | | | | | | | | | | | | | | | | | | | | | | It's not needed, and `source` is only used by tests anyways
| * | | | | Slightly reduce ItemTree memory footprintJonas Schievink2020-06-243-53/+68
| | | | | |
| * | | | | Merge item tree traitsJonas Schievink2020-06-243-21/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Source trait isn't needed anymore since we no longer merge extern crate items with use items.
| * | | | | Generate ModItem via macroJonas Schievink2020-06-241-105/+60
| | | | | |
| * | | | | Address more commentsJonas Schievink2020-06-242-5/+4
| | | | | |
| * | | | | if let else -> matchJonas Schievink2020-06-241-19/+21
| | | | | |
| * | | | | Unify and test attribute handlingJonas Schievink2020-06-245-33/+227
| | | | | |
| * | | | | Collect inner items in expression macrosJonas Schievink2020-06-244-14/+44
| | | | | |
| * | | | | Measure ItemTree query memory usageJonas Schievink2020-06-242-2/+3
| | | | | |
| * | | | | Make generics and attr queries use ItemTreeJonas Schievink2020-06-245-21/+79
| | | | | | | | | | | | | | | | | | | | | | | | Now it's fast
| * | | | | Record HirFileId's in profilerJonas Schievink2020-06-242-2/+2
| | | | | |
| * | | | | Make remaining item data queries use item treeJonas Schievink2020-06-245-152/+90
| | | | | |
| * | | | | draw the rest of the owlJonas Schievink2020-06-2413-409/+953
| | | | | |