Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Rename the binary to rust-analyzer | Aleksey Kladov | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 3 | -17/+30 |
| | |||||
* | Normalize dashes in crate names | Kirill Bulatov | 2020-02-05 | 1 | -8/+33 |
| | |||||
* | Remove the Default impl for SourceRoot | Michal Terepeta | 2020-01-08 | 2 | -7/+7 |
| | | | | | | | | | 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 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 |
| | |||||
* | Pull macro up | Aleksey Kladov | 2019-11-24 | 1 | -0/+14 |
| | |||||
* | 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 | 3 | -15/+40 |
| | |||||
* | Add convenience method for testing | Aleksey Kladov | 2019-11-15 | 1 | -2/+10 |
| | |||||
* | 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 | 2 | -6/+9 |
| | |||||
* | 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 | 2 | -1/+148 |
| | |||||
* | Introduce ra_db::fixture fixture module | Aleksey Kladov | 2019-11-03 | 2 | -1/+42 |
| | | | | The goal here is to share more testing infrastructure between crates. | ||||
* | remove relative_path_buf workaround | Aleksey Kladov | 2019-10-27 | 1 | -4/+1 |
| | | | | The upstream problem was fixed with the change to 1.0 | ||||
* | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 2 | -35/+61 |
| | |||||
* | reduce visibility | Aleksey Kladov | 2019-10-11 | 1 | -3/+3 |
| | |||||
* | remove last traces of source roots from hir | Aleksey Kladov | 2019-10-11 | 1 | -1/+25 |
| | |||||
* | 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 |
| | |||||
* | Merge branch 'master' into feature/issue/1856 | Alexander Andreev | 2019-09-30 | 1 | -3/+2 |
|\ | | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs | ||||
| * | replace horrible hack with a slightly less horrible one | Aleksey Kladov | 2019-09-27 | 1 | -3/+2 |
| | | |||||
* | | 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 | 2 | -5/+16 |
| | |||||
* | make Parse generic | Aleksey Kladov | 2019-07-18 | 1 | -3/+3 |
| | |||||
* | 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 | 2 | -7/+5 |
| | | | | | | 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 |
| | |||||
* | make LRU_CAP configurable for batch db | Aleksey Kladov | 2019-06-12 | 1 | -0/+2 |
| | |||||
* | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 1 | -3/+3 |
| | |||||
* | add profile calls to parsing/expansion routines | Aleksey Kladov | 2019-05-22 | 1 | -1/+4 |
| | |||||
* | Assert that DB is unwind-safe, instead of proving | Aleksey Kladov | 2019-05-18 | 1 | -3/+4 |
| | | | | | | | | | | | | | Unfortunately, that `: RefUnwindSafe` bound gives rustc a hard time, so let's remove it for know. See * https://github.com/rust-analyzer/rust-analyzer/issues/1283 * https://github.com/rust-lang/rust/pull/60444 * https://github.com/rust-lang/rust/issues/58291 closes #1283 | ||||
* | drop old interning infra | Aleksey Kladov | 2019-04-09 | 2 | -108/+1 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | Fixed typo in `Interner`’s name (`Intener`) | Vincent Esche | 2019-03-20 | 2 | -6/+6 |
| | |||||
* | 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 | 2 | -13/+20 |
| | |||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -1/+1 |
| | |||||
* | 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 | 3 | -35/+11 |
| | |||||
* | move assists to a separate crate | Aleksey Kladov | 2019-02-06 | 1 | -1/+1 |
| |