aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src
Commit message (Collapse)AuthorAgeFilesLines
* Add an ImportMapJonas Schievink2020-06-041-2/+2
|
* Fix some clippy perf warningsJeremy Kolb2020-05-251-2/+2
|
* Merge pull request #4495 from vsrs/fixture_metaAleksey Kladov2020-05-242-49/+36
|\ | | | | Test fixtures parsing improvements
| * Propogate fixture meta to AnalysisHostvsrs2020-05-162-8/+17
| | | | | | | | Except crate name.
| * Remove temporary FixtureEntry parsed_meta field.vsrs2020-05-161-2/+2
| |
| * Reimplement ra_db::fixture::ParsedMetavsrs2020-05-161-48/+26
| | | | | | | | in terms of test_utils::FixtureMeta
* | Expand fixture documentation a littleTimo Freiberg2020-05-101-3/+17
|/
* Add fixture doc commentTimo Freiberg2020-05-061-1/+45
|
* Convert code to text-sizeAleksey Kladov2020-04-251-2/+2
|
* Some clippy fixesJeremy Kolb2020-04-192-2/+2
|
* Merge #3727bors[bot]2020-03-263-1/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3727: Introduce ra_proc_macro r=matklad a=edwin0cheng This PR implemented: 1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained. 2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander. 3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process. Co-authored-by: Edwin Cheng <[email protected]>
| * Remove deps on tt_mbeEdwin Cheng2020-03-262-4/+20
| |
| * Add ProcMacroClientEdwin Cheng2020-03-253-1/+21
| |
* | Minor incremental tests cleanupAleksey Kladov2020-03-261-2/+2
|/
* Support loading OUT_DIR from cargo check at launchEmil Lauridsen2020-03-171-10/+11
|
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-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 methodKirill Bulatov2020-03-161-2/+5
|
* Fix crate display name dashesKirill Bulatov2020-03-162-4/+11
|
* Add extern sourceEdwin Cheng2020-03-113-7/+33
|
* Add resolve_extern_path in DBEdwin Cheng2020-03-101-1/+17
|
* Add ExternSourceId and env functionsEdwin Cheng2020-03-101-0/+27
|
* Add fixture meta for single file fixtureEdwin Cheng2020-03-102-15/+48
|
* SimplifyAleksey Kladov2020-03-091-7/+1
|
* 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
|