Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -0/+4 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Use Display instead of a custom method | Kirill Bulatov | 2020-03-16 | 1 | -2/+5 |
| | |||||
* | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 2 | -4/+11 |
| | |||||
* | Add extern source | Edwin Cheng | 2020-03-11 | 3 | -7/+33 |
| | |||||
* | Add resolve_extern_path in DB | Edwin Cheng | 2020-03-10 | 1 | -1/+17 |
| | |||||
* | Add ExternSourceId and env functions | Edwin Cheng | 2020-03-10 | 1 | -0/+27 |
| | |||||
* | Add fixture meta for single file fixture | Edwin Cheng | 2020-03-10 | 2 | -15/+48 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-03-09 | 1 | -7/+1 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-03-09 | 1 | -18/+8 |
| | |||||
* | Minimize API | Aleksey Kladov | 2020-03-09 | 1 | -6/+2 |
| | |||||
* | Use `Index` for CrateGraph | Aleksey Kladov | 2020-03-09 | 1 | -7/+10 |
| | |||||
* | Less abstract CrateData api | Kirill Bulatov | 2020-03-09 | 1 | -33/+27 |
| | |||||
* | Consider crate declaration names | Kirill Bulatov | 2020-03-08 | 2 | -23/+87 |
| | |||||
* | Source map returns a result | Aleksey Kladov | 2020-03-06 | 1 | -2/+2 |
| | | | | cc #2236 | ||||
* | ra_db: removed a couple of explicit lifetimes | Veetaha | 2020-02-22 | 1 | -5/+2 |
| | |||||
* | 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 |
| |