Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Tweak visibility | Aleksey Kladov | 2020-06-25 | 6 | -88/+84 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2020-06-25 | 3 | -40/+29 | |
| | ||||||
* | Merge LoopState into GlobalState | Aleksey Kladov | 2020-06-25 | 2 | -79/+64 | |
| | ||||||
* | Merge #5039 | bors[bot] | 2020-06-24 | 5 | -67/+68 | |
|\ | | | | | | | | | | | | | | | | | | | | | 5039: Flatten module hierarchy r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Flatten module hierarchy | Aleksey Kladov | 2020-06-24 | 5 | -49/+50 | |
| | | ||||||
| * | Cleanup visibility | Aleksey Kladov | 2020-06-24 | 1 | -18/+18 | |
|/ | ||||||
* | Merge #5038 | bors[bot] | 2020-06-24 | 1 | -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-generic | Jonas Schievink | 2020-06-24 | 1 | -56/+73 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #5035 #5037 | bors[bot] | 2020-06-24 | 4 | -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 to | Aleksey Kladov | 2020-06-24 | 1 | -1/+1 | |
| | | | ||||||
| * | | Less error-prone naming | Aleksey Kladov | 2020-06-24 | 4 | -21/+12 | |
| | | | ||||||
| * | | Fix infinite cargo check bug | Aleksey Kladov | 2020-06-24 | 1 | -1/+1 | |
| |/ | ||||||
* | | Merge #4990 | bors[bot] | 2020-06-24 | 26 | -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 items | Jonas Schievink | 2020-06-24 | 1 | -76/+76 | |
| | | ||||||
| * | Clean up and fix inner item collection a bit | Jonas Schievink | 2020-06-24 | 2 | -7/+38 | |
| | | ||||||
| * | Use a HashMap instead of Vec | Jonas Schievink | 2020-06-24 | 1 | -8/+9 | |
| | | | | | | | | | | This is no longer enforcing stack discipline, so a Vec isn't necessary or helpful | |||||
| * | Remove unneeded HirFileId argument | Jonas Schievink | 2020-06-24 | 2 | -7/+5 | |
| | | ||||||
| * | Shrink arenas after building ItemTree | Jonas Schievink | 2020-06-24 | 2 | -0/+49 | |
| | | ||||||
| * | ItemTree: Use more boxed slices | Jonas Schievink | 2020-06-24 | 4 | -15/+22 | |
| | | ||||||
| * | Don't allocate empty generics | Jonas Schievink | 2020-06-24 | 4 | -40/+78 | |
| | | ||||||
| * | Don't allocate common visibilities | Jonas Schievink | 2020-06-24 | 5 | -75/+142 | |
| | | ||||||
| * | Remove file id from item tree | Jonas Schievink | 2020-06-24 | 4 | -34/+28 | |
| | | | | | | | | It's not needed, and `source` is only used by tests anyways | |||||
| * | Slightly reduce ItemTree memory footprint | Jonas Schievink | 2020-06-24 | 3 | -53/+68 | |
| | | ||||||
| * | Merge item tree traits | Jonas Schievink | 2020-06-24 | 3 | -21/+16 | |
| | | | | | | | | | | The Source trait isn't needed anymore since we no longer merge extern crate items with use items. | |||||
| * | Generate ModItem via macro | Jonas Schievink | 2020-06-24 | 1 | -105/+60 | |
| | | ||||||
| * | Address more comments | Jonas Schievink | 2020-06-24 | 2 | -5/+4 | |
| | | ||||||
| * | if let else -> match | Jonas Schievink | 2020-06-24 | 1 | -19/+21 | |
| | | ||||||
| * | Unify and test attribute handling | Jonas Schievink | 2020-06-24 | 5 | -33/+227 | |
| | | ||||||
| * | Collect inner items in expression macros | Jonas Schievink | 2020-06-24 | 4 | -14/+44 | |
| | | ||||||
| * | Measure ItemTree query memory usage | Jonas Schievink | 2020-06-24 | 2 | -2/+3 | |
| | | ||||||
| * | Make generics and attr queries use ItemTree | Jonas Schievink | 2020-06-24 | 5 | -21/+79 | |
| | | | | | | | | Now it's fast | |||||
| * | Record HirFileId's in profiler | Jonas Schievink | 2020-06-24 | 2 | -2/+2 | |
| | | ||||||
| * | Make remaining item data queries use item tree | Jonas Schievink | 2020-06-24 | 5 | -152/+90 | |
| | | ||||||
| * | draw the rest of the owl | Jonas Schievink | 2020-06-24 | 13 | -409/+953 | |
| | | ||||||
| * | ItemTree: Make clonable and add AST access | Jonas Schievink | 2020-06-24 | 1 | -15/+69 | |
| | | ||||||
| * | Lower generics | Jonas Schievink | 2020-06-24 | 3 | -26/+83 | |
| | | ||||||
| * | ItemTree: use a newtyped ID | Jonas Schievink | 2020-06-24 | 3 | -53/+130 | |
| | | ||||||
| * | Move ItemTree lowering into its own module | Jonas Schievink | 2020-06-24 | 2 | -505/+513 | |
| | | ||||||
| * | Remove now-broken incremental test | Jonas Schievink | 2020-06-24 | 1 | -38/+0 | |
| | | | | | | | | | | The ItemTree tracks impl and trait items, so the CrateDefMap now needs recomputing when those change | |||||
| * | Remove raw item query | Jonas Schievink | 2020-06-24 | 5 | -491/+3 | |
| | | ||||||
| * | Fix test | Jonas Schievink | 2020-06-24 | 2 | -3/+10 | |
| | | ||||||
| * | Move collector | Jonas Schievink | 2020-06-24 | 1 | -108/+193 | |
| | | ||||||
| * | Draw the rest of the owl | Jonas Schievink | 2020-06-24 | 1 | -27/+108 | |
| | | ||||||
| * | collector changes WIP | Jonas Schievink | 2020-06-24 | 3 | -29/+34 | |
| | | ||||||
| * | lower traits | Jonas Schievink | 2020-06-24 | 3 | -29/+208 | |
| | | ||||||
| * | Hook up query, add impls, lower moar | Jonas Schievink | 2020-06-24 | 3 | -41/+128 | |
| | | ||||||
| * | Start item tree | Aleksey Kladov | 2020-06-24 | 3 | -3/+517 | |
|/ | ||||||
* | Merge #5034 | bors[bot] | 2020-06-24 | 16 | -182/+179 | |
|\ | | | | | | | | | | | | | | | | | | | | | 5034: Cleanup project.json deserialization r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Cleanup project.json deserialization | Aleksey Kladov | 2020-06-24 | 15 | -141/+138 | |
| | | ||||||
| * | Rename json_project -> project_json | Aleksey Kladov | 2020-06-24 | 3 | -14/+14 | |
|/ |