aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src
Commit message (Collapse)AuthorAgeFilesLines
...
* SimplifyAleksey Kladov2020-03-091-18/+8
|
* Minimize APIAleksey Kladov2020-03-091-6/+2
|
* Use `Index` for CrateGraphAleksey Kladov2020-03-091-7/+10
|
* Less abstract CrateData apiKirill Bulatov2020-03-091-33/+27
|
* Consider crate declaration namesKirill Bulatov2020-03-082-23/+87
|
* Source map returns a resultAleksey Kladov2020-03-061-2/+2
| | | | cc #2236
* ra_db: removed a couple of explicit lifetimesVeetaha2020-02-221-5/+2
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-1/+1
|
* Rename the binary to rust-analyzerAleksey Kladov2020-02-181-1/+1
|
* Apply the reviews suggestionsKirill Bulatov2020-02-053-17/+30
|
* Normalize dashes in crate namesKirill Bulatov2020-02-051-8/+33
|
* Remove the Default impl for SourceRootMichal Terepeta2020-01-082-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 editionVincent Rouillé2019-12-041-0/+9
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-1/+1
|
* Pull macro upAleksey Kladov2019-11-241-0/+14
|
* ReorderAleksey Kladov2019-11-221-37/+37
|
* Cleanup errorsAleksey Kladov2019-11-221-18/+28
|
* Add support for environment to CrateGraphAleksey Kladov2019-11-223-15/+40
|
* Add convenience method for testingAleksey Kladov2019-11-151-2/+10
|
* 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-122-6/+9
|
* Reexport relative_path from ra_dbAleksey Kladov2019-11-031-1/+2
|
* move crate_def_map tests to hir_defAleksey Kladov2019-11-032-1/+148
|
* Introduce ra_db::fixture fixture moduleAleksey Kladov2019-11-032-1/+42
| | | | The goal here is to share more testing infrastructure between crates.
* remove relative_path_buf workaroundAleksey Kladov2019-10-271-4/+1
| | | | The upstream problem was fixed with the change to 1.0
* Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-142-35/+61
|
* reduce visibilityAleksey Kladov2019-10-111-3/+3
|
* remove last traces of source roots from hirAleksey Kladov2019-10-111-1/+25
|
* Enable CfgOptions `test` for workspace cratesuHOOCCOOHu2019-10-021-12/+16
|
* Introduce ra_cfg to parse and evaluate CfgExpruHOOCCOOHu2019-10-021-1/+8
|
* Merge branch 'master' into feature/issue/1856Alexander Andreev2019-09-301-3/+2
|\ | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs
| * replace horrible hack with a slightly less horrible oneAleksey Kladov2019-09-271-3/+2
| |
* | 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-062-5/+16
|
* make Parse genericAleksey Kladov2019-07-181-3/+3
|
* 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-042-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 durabilityAleksey Kladov2019-06-241-0/+14
|
* make LRU_CAP configurable for batch dbAleksey Kladov2019-06-121-0/+2
|
* fix syntax errors in testsAleksey Kladov2019-05-281-3/+3
|
* add profile calls to parsing/expansion routinesAleksey Kladov2019-05-221-1/+4
|
* Assert that DB is unwind-safe, instead of provingAleksey Kladov2019-05-181-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 infraAleksey Kladov2019-04-092-108/+1
|
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|
* Fixed typo in `Interner`’s name (`Intener`)Vincent Esche2019-03-202-6/+6
|
* 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