aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #177bors[bot]2018-10-313-3/+3
|\ | | | | | | | | | | | | | | 177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Fix typoJeremy A. Kolb2018-10-313-3/+3
| |
* | Merge #176bors[bot]2018-10-3113-111/+1334
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 176: Move completio to ra_analysis r=matklad a=matklad While we should handle completion for isolated file, it's better achieved by using empty Analysis, rather than working only with &File: we need memoization for type inference even inside a single file. Co-authored-by: Aleksey Kladov <[email protected]>
| * | Move completion to ra_analysisAleksey Kladov2018-10-315-13/+705
| | | | | | | | | | | | | | | | | | While we should handle completion for isolated file, it's better achieved by using empty Analysis, rather than working only with &File: we need memoization for type inference even inside a single file.
| * | move resolve local nameAleksey Kladov2018-10-314-11/+29
| | |
| * | Move FnDescriptors to analyzerAleksey Kladov2018-10-3112-97/+610
| |/
* / Fix typosJeremy A. Kolb2018-10-311-2/+2
|/
* Merge #171bors[bot]2018-10-306-22/+215
|\ | | | | | | | | | | | | | | 171: Query-based module scopes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Add ModuleScope as a queryAleksey Kladov2018-10-306-22/+215
| | | | | | | | | | | | | | 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.
* | :arrow_up: salsaAleksey Kladov2018-10-302-4/+9
|/
* Merge #168bors[bot]2018-10-301-1/+1
|\ | | | | | | | | | | | | | | 168: Fix param number r=matklad a=kjeremy Fixes the parameter number if we are not in a method Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Fix param numberJeremy A. Kolb2018-10-301-1/+1
| |
* | switch to TextRange::subrangeAleksey Kladov2018-10-301-2/+1
| |
* | introduce syntax-ptrAleksey Kladov2018-10-302-0/+68
|/
* gc syntax treesAleksey Kladov2018-10-291-2/+3
|
* Index files in parallelAleksey Kladov2018-10-291-9/+13
|
* restore symbols filteringAleksey Kladov2018-10-251-5/+8
|
* Move input to top-levelAleksey Kladov2018-10-257-58/+63
|
* Remove unneded HashAleksey Kladov2018-10-251-14/+1
|
* dead codeAleksey Kladov2018-10-251-116/+0
|
* dead codeAleksey Kladov2018-10-251-22/+0
|
* Encapsulate CrateGraph a bitAleksey Kladov2018-10-251-3/+15
|
* re-enable cancelationAleksey Kladov2018-10-251-8/+6
|
* use correct file when resolving callablesAleksey Kladov2018-10-251-2/+3
|
* disable cancelationAleksey Kladov2018-10-251-6/+8
|
* Improve loggingAleksey Kladov2018-10-253-11/+19
|
* Store all the data in the Salsa DatabaseAleksey Kladov2018-10-258-165/+268
|
* Complete crate:: pathsAleksey Kladov2018-10-244-6/+84
|
* simplify rootsAleksey Kladov2018-10-243-35/+18
|
* SimplifyAleksey Kladov2018-10-241-3/+3
|
* make indexing parallel againAleksey Kladov2018-10-242-4/+5
|
* Introduce ModuleIdAleksey Kladov2018-10-239-437/+487
| | | | | | | 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-223-6/+11
|\ | | | | | | | | | | | | | | | | | | | | | | 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]>
| * Revert "clippy: Fix new_ret_no_self"Alan Du2018-10-203-3/+3
| | | | | | | | This reverts commit 2ae9dfa812ccf18867373f77a106161378a6d91d.
| * Fix function callsAlan Du2018-10-182-3/+2
| |
| * clippy: needless_lifetimesAlan Du2018-10-181-1/+1
| |
| * clippy: Fix new_ret_no_selfAlan Du2018-10-183-3/+3
| |
| * Silence clippy::derive_hash_xor_eqAlan Du2018-10-181-1/+7
| | | | | | | | Manually implement PartialEq
| * Clippy lint: single-character string constantAlan Du2018-10-181-1/+1
| |
* | cleanupAleksey Kladov2018-10-201-1/+0
| |
* | Remove job handleAleksey Kladov2018-10-202-57/+0
| |
* | use pythonic import orderAleksey Kladov2018-10-203-8/+11
| | | | | | | | | | | | | | | | use std // blank line use extern crates // blank line use crate::{}
* | actually check for cancelationAleksey Kladov2018-10-203-7/+20
| |
* | make file-symbols query cancelableAleksey Kladov2018-10-204-40/+48
| |
* | mark module queries as cacelableAleksey Kladov2018-10-204-29/+31
| |
* | make more things cancelableAleksey Kladov2018-10-202-15/+14
| |
* | remove job tokensAleksey Kladov2018-10-203-35/+30
| |
* | make parent module cancelableAleksey Kladov2018-10-202-5/+15
| |
* | introduce cancelableAleksey Kladov2018-10-201-0/+5
| |
* | update salsaAleksey Kladov2018-10-203-10/+10
| |