aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add MockAnalysis to make testing easierAleksey Kladov2018-10-317-76/+167
| |
* | Merge #178bors[bot]2018-10-311-0/+2
|\ \ | |/ |/| | | | | | | | | | | 178: Prevent panic by initializing LibrariesQuery r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Prevent panic by initializing LibrariesQueryJeremy A. Kolb2018-10-311-0/+2
|/
* extract fixture parsingAleksey Kladov2018-10-314-22/+51
|
* 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-3120-1066/+1066
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * | remove old completionAleksey Kladov2018-10-315-1100/+1
| | |
| * | Move completion to ra_analysisAleksey Kladov2018-10-316-63/+711
| | | | | | | | | | | | | | | | | | 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-317-94/+31
| | |
| * | Move FnDescriptors to analyzerAleksey Kladov2018-10-3115-198/+712
| |/
* / Fix typosJeremy A. Kolb2018-10-311-2/+2
|/
* Introduce owned ast nodesAleksey Kladov2018-10-312-2/+1303
| | | | ast::FooNode is an owned 'static counterpart to ast::Foo<'a>
* Merge #171bors[bot]2018-10-308-22/+223
|\ | | | | | | | | | | | | | | 171: Query-based module scopes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Add ModuleScope as a queryAleksey Kladov2018-10-308-22/+223
| | | | | | | | | | | | | | 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-304-35/+40
|/
* 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
| |
* | Merge #169bors[bot]2018-10-308-15/+79
|\ \ | |/ |/| | | | | | | | | | | 169: Syntax ptr r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * switch to TextRange::subrangeAleksey Kladov2018-10-304-10/+4
| |
| * introduce syntax-ptrAleksey Kladov2018-10-304-5/+75
|/
* gc syntax treesAleksey Kladov2018-10-292-36/+37
|
* Index files in parallelAleksey Kladov2018-10-291-9/+13
|
* Merge #164bors[bot]2018-10-281-2/+2
|\ | | | | | | | | | | | | | | 164: Move backtick after "use" r=matklad a=lvillani Co-authored-by: Lorenzo Villani <[email protected]>
| * Move backtick after "use"Lorenzo Villani2018-10-281-2/+2
|/
* Merge #162bors[bot]2018-10-2515-350/+384
|\ | | | | | | | | | | | | | | | | | | 162: Db everywhere r=matklad a=matklad This PR continues our switch to salsa. Now *all* state is handled by a single salsa database. Co-authored-by: Aleksey Kladov <[email protected]>
| * restore symbols filteringAleksey Kladov2018-10-251-5/+8
| |
| * Move input to top-levelAleksey Kladov2018-10-259-62/+67
| |
| * 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-254-18/+24
| |
| * re-enable cancelationAleksey Kladov2018-10-252-9/+7
| |
| * use correct file when resolving callablesAleksey Kladov2018-10-252-4/+14
| |
| * disable cancelationAleksey Kladov2018-10-251-6/+8
| |
| * Improve loggingAleksey Kladov2018-10-256-18/+41
| |
| * Store all the data in the Salsa DatabaseAleksey Kladov2018-10-2511-199/+337
|/
* Merge #161bors[bot]2018-10-251-17/+41
|\ | | | | | | | | | | | | | | 161: Fix the test r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Fix the testAleksey Kladov2018-10-251-17/+41
|/
* More informative lable for check runnableAleksey Kladov2018-10-251-3/+10
|
* specify package when running cargo checkAleksey Kladov2018-10-251-46/+65
|
* Always add cargo check as a runnableAleksey Kladov2018-10-251-0/+8
|
* Merge #158bors[bot]2018-10-2410-21/+152
|\ | | | | | | | | | | | | | | 158: Complete crate:: paths r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Complete crate:: pathsAleksey Kladov2018-10-2410-21/+152
|/
* simplify rootsAleksey Kladov2018-10-245-50/+18
|
* SimplifyAleksey Kladov2018-10-242-6/+4
|
* make indexing parallel againAleksey Kladov2018-10-242-4/+5
|
* revive the testAleksey Kladov2018-10-241-6/+6
|
* Merge #157bors[bot]2018-10-2310-443/+493
|\ | | | | | | | | | | | | | | | | | | | | 157: Introduce ModuleId r=matklad a=matklad 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. Co-authored-by: Aleksey Kladov <[email protected]>
| * Introduce ModuleIdAleksey Kladov2018-10-2310-443/+493
| | | | | | | | | | | | | | 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.