aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-303-5/+10
|/
* 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-304-10/+4
| |
* | introduce syntax-ptrAleksey Kladov2018-10-303-0/+69
|/
* 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-258-59/+64
|
* 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-255-15/+36
|
* Store all the data in the Salsa DatabaseAleksey Kladov2018-10-2511-199/+337
|
* 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
|
* Complete crate:: pathsAleksey Kladov2018-10-2410-21/+152
|
* simplify rootsAleksey Kladov2018-10-244-38/+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.
* | Merge #156bors[bot]2018-10-232-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 156: Cargo Update run r=kjeremy a=kjeremy Bump relative-path to 0.4.0 Failure 0.1.3 to fix leak with downcast Updated everything else too Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Cargo Update runJeremy A. Kolb2018-10-232-2/+2
| | | | | | | | | | | | | | Bump relative-path to 0.4.0 Failure 0.1.3 to fix leak with downcast Updated everything else too
* | complete pub(crate)Aleksey Kladov2018-10-231-2/+8
|/
* Merge #153bors[bot]2018-10-231-6/+97
|\ | | | | | | | | | | | | | | 153: Restore folding import groups r=matklad a=aochagavia Closes #133 Co-authored-by: Adolfo OchagavĂ­a <[email protected]>
| * Restore folding import groupsAdolfo OchagavĂ­a2018-10-231-6/+97
| |
* | Merge #151bors[bot]2018-10-234-4/+24
|\ \ | |/ |/| | | | | | | | | | | 151: Add LspError to explicity return errors from LSP handlers r=matklad a=kjeremy Fixes #145 Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Add LspError to explicity return errors from LSP handlersJeremy A. Kolb2018-10-224-4/+24
| | | | | | | | Fixes #145
* | Merge #152bors[bot]2018-10-221-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 152: Fix typo r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * | Fix typoJeremy A. Kolb2018-10-221-2/+2
| |/
* | Merge #138bors[bot]2018-10-2226-68/+67
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 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]>
| * Rename new to new_item (to match new_impl)Alan Du2018-10-221-9/+9
| |
| * Revert "clippy: Fix new_ret_no_self"Alan Du2018-10-207-17/+17
| | | | | | | | This reverts commit 2ae9dfa812ccf18867373f77a106161378a6d91d.
| * clippy: cast_losslessAlan Du2018-10-181-2/+2
| |
| * Fix function callsAlan Du2018-10-1810-12/+9
| |
| * clippy: type_complexityAlan Du2018-10-182-8/+11
| |