aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | 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
| | | | | |
| * | | | | ItemTree: Make clonable and add AST accessJonas Schievink2020-06-241-15/+69
| | | | | |
| * | | | | Lower genericsJonas Schievink2020-06-243-26/+83
| | | | | |
| * | | | | ItemTree: use a newtyped IDJonas Schievink2020-06-243-53/+130
| | | | | |
| * | | | | Move ItemTree lowering into its own moduleJonas Schievink2020-06-242-505/+513
| | | | | |
| * | | | | Remove now-broken incremental testJonas Schievink2020-06-241-38/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ItemTree tracks impl and trait items, so the CrateDefMap now needs recomputing when those change
| * | | | | Remove raw item queryJonas Schievink2020-06-245-491/+3
| | | | | |
| * | | | | Fix testJonas Schievink2020-06-242-3/+10
| | | | | |
| * | | | | Move collectorJonas Schievink2020-06-241-108/+193
| | | | | |
| * | | | | Draw the rest of the owlJonas Schievink2020-06-241-27/+108
| | | | | |
| * | | | | collector changes WIPJonas Schievink2020-06-243-29/+34
| | | | | |
| * | | | | lower traitsJonas Schievink2020-06-243-29/+208
| | | | | |
| * | | | | Hook up query, add impls, lower moarJonas Schievink2020-06-243-41/+128
| | | | | |
| * | | | | Start item treeAleksey Kladov2020-06-243-3/+517
|/ / / / /
* | | | | Merge #5034bors[bot]2020-06-2416-182/+179
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5034: Cleanup project.json deserialization r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Cleanup project.json deserializationAleksey Kladov2020-06-2415-141/+138
| | | | | |
| * | | | | Rename json_project -> project_jsonAleksey Kladov2020-06-243-14/+14
|/ / / / /
| | | | |
| \ \ \ \
| \ \ \ \
| \ \ \ \
*---. \ \ \ \ Merge #5015 #5027 #5028bors[bot]2020-06-245-20/+86
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5015: Account for updated module ids when determining whether a resolution is changed r=matklad a=Nashenas88 Fixes #4943 5027: Make Debug less verbose for VfsPath and use Display in analysis-stats r=matklad a=lnicola 5028: Remove namedExports config r=matklad a=lnicola Fixes a warning: ``` (!) Plugin commonjs: The namedExports option from "@rollup/plugin-commonjs" is deprecated. Named exports are now handled automatically. ``` Co-authored-by: Paul Daniel Faria <[email protected]> Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| | | * | | | | Remove namedExports configLaurențiu Nicola2020-06-241-6/+1
| | | | | | | |
| | * | | | | | Make Debug less verbose for VfsPath and use Display in analysis-statsLaurențiu Nicola2020-06-242-3/+18
| | |/ / / / /
| * | | | | | Fix formatting issue with glob shadow testPaul Daniel Faria2020-06-241-17/+17
| | | | | | |
| * | | | | | Use a macro in push_res to simplify code, simplify glob_shadowed_def assertionPaul Daniel Faria2020-06-242-160/+47
| | | | | | |
| * | | | | | Account for updated module ids when determining whether a resolution is ↵Paul Daniel Faria2020-06-242-9/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "changed"
* | | | | | | Merge #5029bors[bot]2020-06-2411-94/+126
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5029: Be more explicit about absolute paths at various places r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | Be more explicit about absolute paths at various placesAleksey Kladov2020-06-2411-94/+126
|/ / / / / /
* | | | | | Merge #5023bors[bot]2020-06-242-13/+77
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5023: Fix string literal inference in match r=flodiebold a=lnicola Fixes #5020 r? @flodiebold Co-authored-by: LaurenČ›iu Nicola <[email protected]>