aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src/input.rs
Commit message (Collapse)AuthorAgeFilesLines
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-7/+8
| | | | #1856
* introduce hir debugging infraAleksey Kladov2019-09-091-3/+13
| | | | | | | | | | | | 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 abstractAleksey Kladov2019-09-061-2/+14
|
* Clippy changesJeremy Kolb2019-07-051-1/+2
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-2/+2
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-1/+1
| | | | | | 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
* Add SourceRoot::is_library, in preparation for salsa's durabilityAleksey Kladov2019-06-241-0/+14
|
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|
* add skeleton for macro-aware name resolutionsAleksey Kladov2019-03-171-0/+4
|
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-131-0/+9
| | | | crate_graph macro
* Resolve 2015 style importsFlorian Diebold2019-02-131-0/+4
|
* Keep track of crate editionFlorian Diebold2019-02-131-12/+19
|
* Add an ra_cli command that analyses all crates in the current workspaceFlorian Diebold2019-02-101-0/+1
| | | | ... and prints various stats about how many expressions have a type etc.
* Move crate graph generation to ra_project_modelFlorian Diebold2019-02-091-0/+19
|
* reformat the worldAleksey Kladov2019-02-081-23/+7
|
* :arrow_up salsaAleksey Kladov2019-01-251-42/+0
|
* Change ids strategyAleksey Kladov2019-01-241-0/+12
| | | | | | | 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
* :arrow_up: salsaAleksey Kladov2019-01-171-40/+25
|
* gracefully handle cycles in crate graphAleksey Kladov2019-01-131-34/+48
| | | | | rust-lang/rust has absolutely weird setup with rustc-workspace-shim, which leads to real cycles.
* Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-091-11/+11
| | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* Merge #310bors[bot]2018-12-221-5/+54
|\ | | | | | | | | | | | | | | 310: When constructing a crate graph, detect and forbid cycles. r=matklad a=gfreezy fixed #300 Co-authored-by: gfreezy <[email protected]>
| * mark as visited on entry instead of leftgfreezy2018-12-221-2/+2
| |
| * not visit the same crateId only oncegfreezy2018-12-221-14/+16
| |
| * add #[cfg(test)]gfreezy2018-12-211-1/+2
| |
| * rename to dfs_findgfreezy2018-12-211-3/+3
| |
| * When constructing a crate graph, detect and forbid cycles.gfreezy2018-12-211-6/+52
| | | | | | | | fixed #300
* | hide empty changesAleksey Kladov2018-12-211-0/+3
|/
* extend commentAleksey Kladov2018-12-201-1/+5
|
* docs for input queriesAleksey Kladov2018-12-201-11/+45
|
* index all local cratesAleksey Kladov2018-12-201-4/+6
|
* switch analysis to vfsAleksey Kladov2018-12-201-15/+7
|
* make it compileAleksey Kladov2018-12-201-1/+1
|
* remove relpath from inputAleksey Kladov2018-12-201-3/+0
|
* use relpaths for module resolveAleksey Kladov2018-12-201-0/+14
|
* return dependencies with namesAleksey Kladov2018-12-091-2/+2
|
* thread info about dep namesAleksey Kladov2018-12-091-6/+7
|
* more crate boilerplateAleksey Kladov2018-12-091-4/+16
|
* propagate deps to CrateGraphAleksey Kladov2018-12-091-0/+3
|
* First step towards crate depsAleksey Kladov2018-12-051-8/+35
|
* make stuff privateAleksey Kladov2018-12-051-1/+1
|
* move db basics to ra_dbAleksey Kladov2018-11-281-0/+73
This should allow to move hir to a separate crate