Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 1 | -13/+24 |
| | |||||
* | Normalize dashes in crate names | Kirill Bulatov | 2020-02-05 | 1 | -8/+33 |
| | |||||
* | Remove the Default impl for SourceRoot | Michal Terepeta | 2020-01-08 | 1 | -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 edition | Vincent Rouillé | 2019-12-04 | 1 | -0/+9 |
| | |||||
* | Reorder | Aleksey Kladov | 2019-11-22 | 1 | -37/+37 |
| | |||||
* | Cleanup errors | Aleksey Kladov | 2019-11-22 | 1 | -18/+28 |
| | |||||
* | Add support for environment to CrateGraph | Aleksey Kladov | 2019-11-22 | 1 | -10/+24 |
| | |||||
* | Fix unused import | Metabaron | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | return Error instead of panicking in from_cargo_metadata | Metabaron | 2019-11-12 | 1 | -3/+8 |
| | |||||
* | Implement FromStr for enum Edition | Metabaron | 2019-11-12 | 1 | -5/+7 |
| | |||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 1 | -1/+2 |
| | |||||
* | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -0/+1 |
| | |||||
* | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 1 | -1/+1 |
| | |||||
* | reduce visibility | Aleksey Kladov | 2019-10-11 | 1 | -3/+3 |
| | |||||
* | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 1 | -12/+16 |
| | |||||
* | Introduce ra_cfg to parse and evaluate CfgExpr | uHOOCCOOHu | 2019-10-02 | 1 | -1/+8 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -7/+8 |
| | | | | #1856 | ||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 1 | -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 abstract | Aleksey Kladov | 2019-09-06 | 1 | -2/+14 |
| | |||||
* | Clippy changes | Jeremy Kolb | 2019-07-05 | 1 | -1/+2 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -2/+2 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -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 durability | Aleksey Kladov | 2019-06-24 | 1 | -0/+14 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | add skeleton for macro-aware name resolutions | Aleksey Kladov | 2019-03-17 | 1 | -0/+4 |
| | |||||
* | Make edition handling a bit nicer and allow specifying edition in ↵ | Florian Diebold | 2019-02-13 | 1 | -0/+9 |
| | | | | crate_graph macro | ||||
* | Resolve 2015 style imports | Florian Diebold | 2019-02-13 | 1 | -0/+4 |
| | |||||
* | Keep track of crate edition | Florian Diebold | 2019-02-13 | 1 | -12/+19 |
| | |||||
* | Add an ra_cli command that analyses all crates in the current workspace | Florian Diebold | 2019-02-10 | 1 | -0/+1 |
| | | | | ... and prints various stats about how many expressions have a type etc. | ||||
* | Move crate graph generation to ra_project_model | Florian Diebold | 2019-02-09 | 1 | -0/+19 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -23/+7 |
| | |||||
* | :arrow_up salsa | Aleksey Kladov | 2019-01-25 | 1 | -42/+0 |
| | |||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -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: salsa | Aleksey Kladov | 2019-01-17 | 1 | -40/+25 |
| | |||||
* | gracefully handle cycles in crate graph | Aleksey Kladov | 2019-01-13 | 1 | -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 crates | Marcus Klaas de Vries | 2019-01-09 | 1 | -11/+11 |
| | | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir | ||||
* | Merge #310 | bors[bot] | 2018-12-22 | 1 | -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 left | gfreezy | 2018-12-22 | 1 | -2/+2 |
| | | |||||
| * | not visit the same crateId only once | gfreezy | 2018-12-22 | 1 | -14/+16 |
| | | |||||
| * | add #[cfg(test)] | gfreezy | 2018-12-21 | 1 | -1/+2 |
| | | |||||
| * | rename to dfs_find | gfreezy | 2018-12-21 | 1 | -3/+3 |
| | | |||||
| * | When constructing a crate graph, detect and forbid cycles. | gfreezy | 2018-12-21 | 1 | -6/+52 |
| | | | | | | | | fixed #300 | ||||
* | | hide empty changes | Aleksey Kladov | 2018-12-21 | 1 | -0/+3 |
|/ | |||||
* | extend comment | Aleksey Kladov | 2018-12-20 | 1 | -1/+5 |
| | |||||
* | docs for input queries | Aleksey Kladov | 2018-12-20 | 1 | -11/+45 |
| | |||||
* | index all local crates | Aleksey Kladov | 2018-12-20 | 1 | -4/+6 |
| | |||||
* | switch analysis to vfs | Aleksey Kladov | 2018-12-20 | 1 | -15/+7 |
| | |||||
* | make it compile | Aleksey Kladov | 2018-12-20 | 1 | -1/+1 |
| | |||||
* | remove relpath from input | Aleksey Kladov | 2018-12-20 | 1 | -3/+0 |
| | |||||
* | use relpaths for module resolve | Aleksey Kladov | 2018-12-20 | 1 | -0/+14 |
| |