aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/db.rs
Commit message (Collapse)AuthorAgeFilesLines
* index all local cratesAleksey Kladov2018-12-201-4/+5
|
* switch analysis to vfsAleksey Kladov2018-12-201-2/+0
|
* make it compileAleksey Kladov2018-12-201-0/+3
|
* Add functions to DefIdAleksey Kladov2018-12-041-8/+1
|
* remove useless test hooksAleksey Kladov2018-11-281-43/+0
|
* Move hir to a separate crateAleksey Kladov2018-11-281-1/+1
|
* move ids to HIRAleksey Kladov2018-11-281-2/+7
|
* move db basics to ra_dbAleksey Kladov2018-11-281-53/+16
| | | | This should allow to move hir to a separate crate
* generalize location internerAleksey Kladov2018-11-271-3/+15
|
* rename file_syntax -> source_fileAleksey Kladov2018-11-271-4/+4
|
* introduce SymbolsDatabaseAleksey Kladov2018-11-271-17/+11
|
* remove syntax ptrAleksey Kladov2018-11-271-9/+1
|
* renameAleksey Kladov2018-11-271-1/+1
|
* check_canceled is a methodAleksey Kladov2018-11-271-11/+6
|
* move query definitionsAleksey Kladov2018-11-271-3/+10
|
* move hir dbAleksey Kladov2018-11-271-9/+9
|
* rename descriptorsdb -> hirdbAleksey Kladov2018-11-271-1/+1
|
* start descriptors -> hir renameAleksey Kladov2018-11-271-10/+10
|
* don't use volatile queriesAleksey Kladov2018-11-271-1/+1
| | | | | | "volatile" means "changes every time". That is, all transitive rev-deps of volatile queries will be executed every time. We actually need "dependencies".
* add file items queryAleksey Kladov2018-11-271-11/+10
|
* Codify Arena patternAleksey Kladov2018-11-251-1/+2
|
* add test loggin API to dbAleksey Kladov2018-11-211-0/+41
|
* switch completion to new scopeAleksey Kladov2018-11-211-2/+1
|
* simple test for item mapAleksey Kladov2018-11-211-1/+2
|
* add item map queryAleksey Kladov2018-11-201-2/+3
|
* Make some queries privateAleksey Kladov2018-11-201-2/+2
| | | | | Convention: we prefix private queries with `_` until salsa support real visibility.
* use loc2id for FnIdsAleksey Kladov2018-11-181-9/+11
|
* Add Loc2IdMapAleksey Kladov2018-11-181-0/+8
|
* Rename File -> SourceFileNodeAleksey Kladov2018-11-071-4/+4
|
* Use Default everywhereAleksey Kladov2018-11-041-2/+17
|
* update salsaAleksey Kladov2018-11-011-10/+4
|
* remove SyntaxPtrDatabaseAleksey Kladov2018-11-011-5/+9
|
* Reformat allAleksey Kladov2018-10-311-8/+5
|
* Merge #177bors[bot]2018-10-311-1/+1
|\ | | | | | | | | | | | | | | 177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Fix typoJeremy A. Kolb2018-10-311-1/+1
| |
* | Move FnDescriptors to analyzerAleksey Kladov2018-10-311-2/+7
|/
* Add ModuleScope as a queryAleksey Kladov2018-10-301-1/+6
| | | | | | | This is a first step towards queryifing completion and resolve. Some code currently duplicates ra_editor: the plan is to move all completion from ra_editor, but it'll take more than one commit.
* Move input to top-levelAleksey Kladov2018-10-251-0/+98
|
* Store all the data in the Salsa DatabaseAleksey Kladov2018-10-251-136/+0
|
* Introduce ModuleIdAleksey Kladov2018-10-231-2/+2
| | | | | | | Previously, module was synonym with a file, and so a module could have had several parents. This commit introduces a separate module concept, such that each module has only one parent, but a single file can correspond to different modules.
* Merge #138bors[bot]2018-10-221-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | 138: Fix some clippy lints r=matklad a=alanhdu I went ahead and fixed all the clippy lints (there were a couple I thought would be better unfixed and added `cfg` statements to allow them) and also re-enabled clippy and rustfmt in CI. They were disabled with `no time to explain, disable clippy checks`, so hopefully this won't go against whatever the reason at the time was :laughing:. One question about the CI though: right now, it's an allowed failure that runs against the latest nightly each time. Would it be better to pin it to a specific nightly (or use the `beta` versions) to lower the churn? Co-authored-by: Alan Du <[email protected]>
| * Silence clippy::derive_hash_xor_eqAlan Du2018-10-181-1/+7
| | | | | | | | Manually implement PartialEq
* | actually check for cancelationAleksey Kladov2018-10-201-1/+11
| |
* | make file-symbols query cancelableAleksey Kladov2018-10-201-11/+13
| |
* | update salsaAleksey Kladov2018-10-201-3/+3
|/
* Cargo FormatJeremy A. Kolb2018-10-161-10/+11
| | | | Run `cargo fmt` and ignore generated files
* make analysis syncAleksey Kladov2018-10-151-0/+14
|
* Drop dead codeAleksey Kladov2018-10-151-0/+103