aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src/input.rs
Commit message (Collapse)AuthorAgeFilesLines
* Apply the reviews suggestionsKirill Bulatov2020-02-051-13/+24
|
* Normalize dashes in crate namesKirill Bulatov2020-02-051-8/+33
|
* Remove the Default impl for SourceRootMichal Terepeta2020-01-081-4/+4
| | | | | | | | | Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]>
* Run rustfmt with respect to Cargo.toml editionVincent Rouillé2019-12-041-0/+9
|
* ReorderAleksey Kladov2019-11-221-37/+37
|
* Cleanup errorsAleksey Kladov2019-11-221-18/+28
|
* Add support for environment to CrateGraphAleksey Kladov2019-11-221-10/+24
|
* Fix unused importMetabaron2019-11-121-1/+1
|
* return Error instead of panicking in from_cargo_metadataMetabaron2019-11-121-3/+8
|
* Implement FromStr for enum EditionMetabaron2019-11-121-5/+7
|
* Reexport relative_path from ra_dbAleksey Kladov2019-11-031-1/+2
|
* move crate_def_map tests to hir_defAleksey Kladov2019-11-031-0/+1
|
* Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-141-1/+1
|
* reduce visibilityAleksey Kladov2019-10-111-3/+3
|
* Enable CfgOptions `test` for workspace cratesuHOOCCOOHu2019-10-021-12/+16
|
* Introduce ra_cfg to parse and evaluate CfgExpruHOOCCOOHu2019-10-021-1/+8
|
* 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
|