Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-11-26 | 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 |
| | |||||
* | Disable doctests | Aleksey Kladov | 2019-11-17 | 1 | -0/+3 |
| | |||||
* | 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 | 3 | -1/+43 |
| | | | | 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 | ||||
* | relative-path 1.0 | kjeremy | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -1/+9 |
| | |||||
* | 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 |
| | |||||
* | implement durability | Aleksey Kladov | 2019-08-15 | 1 | -1/+1 |
| | |||||
* | make Parse generic | Aleksey Kladov | 2019-07-18 | 1 | -3/+3 |
| | |||||
* | Remove unused dependencies | Shotaro Yamada | 2019-07-08 | 1 | -2/+0 |
| | |||||
* | 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 |
| | |||||
* | use salsa's LRU for syntax trees | Aleksey Kladov | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | switch to upstream salsa | Aleksey Kladov | 2019-05-30 | 1 | -1/+1 |
| | |||||
* | :arrow_up: parking_lot | Aleksey Kladov | 2019-05-30 | 1 | -1/+0 |
| | |||||
* | 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 | 2 | -1/+5 |
| | |||||
* | 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 |
| | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-04-04 | 1 | -1/+1 |
| | |||||
* | update salsa some more | Aleksey Kladov | 2019-03-27 | 1 | -1/+1 |
| | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-03-27 | 1 | -1/+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 |