Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename ra_syntax -> syntax | Aleksey Kladov | 2020-08-12 | 6 | -8/+8 |
| | |||||
* | Rename ra_text_edit -> text_edit | Aleksey Kladov | 2020-08-12 | 2 | -2/+2 |
| | |||||
* | Rename ra_prof -> profile | Aleksey Kladov | 2020-08-12 | 6 | -17/+13 |
| | |||||
* | Remove Option<...> from result of Crate::root_module | Paul Daniel Faria | 2020-08-09 | 1 | -12/+10 |
| | | | | | There doesn't seem to be any need for it, and removing it simplies several paths of code that depend on it. | ||||
* | Add support for extern crate | Paul Daniel Faria | 2020-08-08 | 2 | -42/+60 |
| | | | | | This adds syntax highlighting, hover and goto def functionality for extern crate | ||||
* | Merge #5664 | bors[bot] | 2020-08-05 | 1 | -3/+22 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5664: Fix renamed self module. r=jonas-schievink a=Nashenas88 Fixes #5663 Now `inner_mod` below is properly marked as a `module`. ```rust use crate::inner::{self as inner_mod}; mod inner {} ``` Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | When resolving a rename, fallback to the name higher in the use tree if the ↵ | Paul Daniel Faria | 2020-08-04 | 1 | -3/+22 |
| | | | | | | | | path segment is `self` | ||||
* | | Use salsa's purge to account for all memory | Aleksey Kladov | 2020-08-05 | 1 | -1/+23 |
|/ | |||||
* | Rename BindPat -> IdentPat | Aleksey Kladov | 2020-07-31 | 1 | -2/+2 |
| | |||||
* | Allign RecordPat with RecordExpr | Aleksey Kladov | 2020-07-31 | 1 | -2/+2 |
| | |||||
* | Finalize Trait grammar | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 |
| | |||||
* | Finalize const&static grammar | Aleksey Kladov | 2020-07-30 | 2 | -4/+4 |
| | |||||
* | Rename EnumVariant -> Variant | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename EnumDef -> Enum | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 |
| | |||||
* | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 |
| | |||||
* | Finalize union grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 2 | -2/+2 |
| | |||||
* | Rename TypeAliasDef -> TypeAlias | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 2 | -2/+2 |
| | |||||
* | Rename Rename | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | SSR: Use Definition::find_usages to speed up matching. | David Lattimore | 2020-07-24 | 2 | -15/+24 |
| | | | | When the search pattern contains a path, this substantially speeds up finding matches, especially if the path references a private item. | ||||
* | Merge #5503 | bors[bot] | 2020-07-23 | 2 | -5/+6 |
|\ | | | | | | | | | | | | | | | | | | | | | 5503: Replace superslice with API on path to stabilization r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Replace superslice with API on path to stabilization | Aleksey Kladov | 2020-07-23 | 2 | -5/+6 |
| | | |||||
* | | Store macro invocation parameters as text instead of tt | Laurențiu Nicola | 2020-07-22 | 1 | -2/+2 |
|/ | |||||
* | Correctly resolve assoc. types in path bindings | Jonas Schievink | 2020-07-17 | 1 | -0/+22 |
| | |||||
* | Remove TypeCtor interning | Florian Diebold | 2020-07-15 | 1 | -1/+0 |
| | | | | Our TypeCtor and Chalk's TypeName match now! | ||||
* | Use Chalk closure support | Florian Diebold | 2020-07-15 | 1 | -2/+0 |
| | |||||
* | Fix classify_name_ref on multi-path macro calls | Jonas Schievink | 2020-07-14 | 1 | -2/+8 |
| | |||||
* | Add a license field to all the crates | Yuki Okushi | 2020-07-14 | 1 | -0/+1 |
| | |||||
* | Remove relative_path dependency | Aleksey Kladov | 2020-07-08 | 1 | -4/+3 |
| | |||||
* | Merge #5244 | bors[bot] | 2020-07-07 | 1 | -0/+9 |
|\ | | | | | | | | | | | | | | | | | | | 5244: Add a command to compute memory usage statistics r=matklad a=jonas-schievink This allows inspecting memory usage on a live rust-analyzer instance after it has been used interactively. This will only work with `--features jemalloc`, so maybe it should print something more useful when that's not available? Right now it will just print 0 Bytes for every query. Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Add a command to compute memory usage statistics | Jonas Schievink | 2020-07-07 | 1 | -0/+9 |
| | | |||||
* | | Merge #5245 | bors[bot] | 2020-07-07 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | 5245: Refactor AssistBuilder to manage a SourceChange r=matklad a=theduke `AssistBuilder` now managaes a full `SourceChange` instead of a `Vec<SourceFileEdit>`. This prepares AssistBuilder to handle creation of new files. Co-authored-by: Christoph Herzog <[email protected]> | ||||
| * | Refactor AssistBuilder to manage a SourceChange | Christoph Herzog | 2020-07-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | `AssistBuilder`` now managaes a full `SourceChange` instead of a Vec<SourceFileEdit>. This prepares AssistBuilder to handle creation of new files. | ||||
* | | Switch to fully dynamically dispatched salsa | Aleksey Kladov | 2020-07-07 | 3 | -33/+30 |
|/ | | | | This improves compile times quite a bit | ||||
* | Fix memory usage accounting for interned queries | Jonas Schievink | 2020-07-03 | 1 | -17/+30 |
| | |||||
* | Merge #5175 | bors[bot] | 2020-07-01 | 1 | -2/+3 |
|\ | | | | | | | | | | | | | | | 5175: More memory-efficient impl collection r=matklad a=jonas-schievink This saves roughly 90 MB in `ImplsFromDepsQuery`, which used to copy the list of all impls from libcore into *every* crate in the graph. It also stops collecting inherent impls from dependencies entirely, as those can only be located within the crate defining the self type. Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Split `CrateImplDefs` in inherent and trait impls | Jonas Schievink | 2020-07-01 | 1 | -2/+3 |
| | | | | | | | | | | | | This makes the intention of inherent vs. trait impls somewhat more clear and also fixes (?) an issue where trait impls with an unresolved trait were added as inherent impls instead (hence the test changes). | ||||
* | | Reuse Semantics instances | Laurențiu Nicola | 2020-07-01 | 1 | -8/+4 |
|/ | |||||
* | Try to reduce Semantics monomorphisations | Laurențiu Nicola | 2020-07-01 | 1 | -1/+7 |
| | |||||
* | Use the existing Semantics in auto_import | Laurențiu Nicola | 2020-07-01 | 1 | -46/+42 |
| | |||||
* | Simlify with matches!() | Veetaha | 2020-06-28 | 1 | -4/+1 |
| | |||||
* | Measure ItemTree query memory usage | Jonas Schievink | 2020-06-24 | 1 | -0/+1 |
| | |||||
* | Remove raw item query | Jonas Schievink | 2020-06-24 | 1 | -1/+0 |
| | |||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 3 | -69/+30 |
| | |||||
* | Add new query to stats | Jonas Schievink | 2020-06-19 | 1 | -0/+1 |
| | |||||
* | Replace `impls_in_trait` with `CrateImplDefs` | Jonas Schievink | 2020-06-19 | 1 | -1/+0 |
| | |||||
* | Remove special casing for library symbols | Aleksey Kladov | 2020-06-18 | 2 | -122/+47 |
| | | | | | | | | We might as well handle them internally, via queries. I am not sure, but it looks like the current LibraryData setup might even predate salsa? It's not really needed and creates a bunch of complexity. | ||||
* | Anchor file-system operations to the file, and not to the source root. | Aleksey Kladov | 2020-06-16 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Anchoring to the SourceRoot wont' work if the path is absolute: #[path = "/tmp/foo.rs"] mod foo; Anchoring to a file will. However, we *should* anchor, instead of just producing an abs path. I can imagine a situation where, for example, rust-analyzer processes crates from different machines (or, for example, from in-memory git branch), where the same absolute path in different crates might refer to different files in the end! |