Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | introduce FromSource trait | Ekaterina Babshukova | 2019-09-19 | 1 | -1/+5 |
| | |||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 1 | -2/+23 |
| | | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph | ||||
* | make source_root API more abstract | Aleksey Kladov | 2019-09-06 | 1 | -1/+1 |
| | |||||
* | :arrow_up: insta | Aleksey Kladov | 2019-08-29 | 1 | -1/+1 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -4/+3 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | make sure that CrateDefMap is independent from syntax | Aleksey Kladov | 2019-06-26 | 1 | -0/+1 |
| | |||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 1 | -1/+6 |
| | |||||
* | fix odrer-of-iteration bug in tests | Aleksey Kladov | 2019-05-21 | 1 | -3/+3 |
| | |||||
* | migrate to salsas interning | Aleksey Kladov | 2019-04-09 | 1 | -10/+1 |
| | |||||
* | tweak diagnostics API | Aleksey Kladov | 2019-03-25 | 1 | -4/+2 |
| | |||||
* | test diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -1/+19 |
| | |||||
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 1 | -5/+1 |
| | |||||
* | Make edition handling a bit nicer and allow specifying edition in ↵ | Florian Diebold | 2019-02-13 | 1 | -6/+9 |
| | | | | crate_graph macro | ||||
* | Keep track of crate edition | Florian Diebold | 2019-02-13 | 1 | -2/+3 |
| | |||||
* | add graph fixture | Aleksey Kladov | 2019-02-11 | 1 | -0/+35 |
| | |||||
* | Handle SourceRoots automatically in fixtures | Aleksey Kladov | 2019-02-11 | 1 | -27/+55 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -4/+1 |
| | |||||
* | move assists to a separate crate | Aleksey Kladov | 2019-02-06 | 1 | -6/+6 |
| | |||||
* | make HirDatabase object-safe | Aleksey Kladov | 2019-02-03 | 1 | -3/+1 |
| | |||||
* | split HirDatabase api | csmoe | 2019-02-01 | 1 | -1/+5 |
| | |||||
* | rename FilesDatabase -> SourceDatabase | Aleksey Kladov | 2019-01-26 | 1 | -2/+2 |
| | |||||
* | move ide queries to ide db | Aleksey Kladov | 2019-01-26 | 1 | -2/+0 |
| | |||||
* | fold syntax database into files database | Aleksey Kladov | 2019-01-26 | 1 | -7/+3 |
| | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-01-25 | 1 | -2/+6 |
| | |||||
* | use set methods | Aleksey Kladov | 2019-01-25 | 1 | -23/+10 |
| | |||||
* | :arrow_up salsa | Aleksey Kladov | 2019-01-25 | 1 | -45/+5 |
| | |||||
* | pack enum variants into arena | Aleksey Kladov | 2019-01-25 | 1 | -1/+0 |
| | |||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -4/+9 |
| | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids | ||||
* | encapsulate hir locations | Aleksey Kladov | 2019-01-24 | 1 | -19/+8 |
| | |||||
* | Generics -> GenericParams | Florian Diebold | 2019-01-19 | 1 | -1/+1 |
| | |||||
* | Implement beginnings of generics | Florian Diebold | 2019-01-19 | 1 | -0/+1 |
| | | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions | ||||
* | fix the test | Aleksey Kladov | 2019-01-19 | 1 | -1/+3 |
| | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-01-17 | 1 | -4/+6 |
| | |||||
* | Implement basic inherent method resolution | Florian Diebold | 2019-01-12 | 1 | -0/+1 |
| | |||||
* | Implement type inference for enum variants | Marcus Klaas de Vries | 2019-01-10 | 1 | -0/+1 |
| | |||||
* | implement RefUnwindSafe | Aleksey Kladov | 2019-01-10 | 1 | -1/+3 |
| | |||||
* | ra_db is independent from editor | Aleksey Kladov | 2019-01-08 | 1 | -1/+0 |
| | |||||
* | Fix name resolution across source roots | Florian Diebold | 2019-01-08 | 1 | -11/+36 |
| | | | | It was using the wrong name in that case. | ||||
* | Add fn signature query | Florian Diebold | 2019-01-06 | 1 | -0/+1 |
| | |||||
* | Add HIR Expr machinery | Florian Diebold | 2019-01-05 | 1 | -0/+2 |
| | |||||
* | Rename ImplsInCrateQuery as well | Florian Diebold | 2019-01-04 | 1 | -1/+1 |
| | |||||
* | Type the self parameter | Florian Diebold | 2019-01-04 | 1 | -0/+4 |
| | |||||
* | Add HIR for impl blocks | Florian Diebold | 2019-01-04 | 1 | -0/+1 |
| | | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it. | ||||
* | rename MFileId -> HirFileId | Aleksey Kladov | 2019-01-01 | 1 | -1/+1 |
| | |||||
* | fix tests | Aleksey Kladov | 2019-01-01 | 1 | -0/+1 |
| | |||||
* | fix tests | Aleksey Kladov | 2019-01-01 | 1 | -1/+8 |
| | |||||
* | remove FnId | Aleksey Kladov | 2018-12-27 | 1 | -1/+0 |
| | |||||
* | Resolve field types lazily | Florian Diebold | 2018-12-25 | 1 | -0/+1 |
| | | | | I.e. not already when getting the HIR for the struct. |