aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* :arrow_up: salsaAleksey Kladov2019-11-261-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
|
* Disable doctestsAleksey Kladov2019-11-171-0/+3
|
* 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-033-1/+43
| | | | 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
* relative-path 1.0kjeremy2019-10-171-1/+1
|
* 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-022-1/+9
|
* 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
|
* implement durabilityAleksey Kladov2019-08-151-1/+1
|
* make Parse genericAleksey Kladov2019-07-181-3/+3
|
* Remove unused dependenciesShotaro Yamada2019-07-081-2/+0
|
* 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
|
* use salsa's LRU for syntax treesAleksey Kladov2019-06-121-1/+1
|
* switch to upstream salsaAleksey Kladov2019-05-301-1/+1
|
* :arrow_up: parking_lotAleksey Kladov2019-05-301-1/+0
|
* fix syntax errors in testsAleksey Kladov2019-05-281-3/+3
|
* add profile calls to parsing/expansion routinesAleksey Kladov2019-05-222-1/+5
|
* 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
|
* :arrow_up: salsaAleksey Kladov2019-04-041-1/+1
|
* update salsa some moreAleksey Kladov2019-03-271-1/+1
|
* :arrow_up: salsaAleksey Kladov2019-03-271-1/+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