Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | update salsa | Aleksey Kladov | 2018-11-01 | 3 | -33/+43 | |
| | ||||||
* | Some docs | Aleksey Kladov | 2018-11-01 | 1 | -0/+12 | |
| | ||||||
* | Add inline source | Aleksey Kladov | 2018-11-01 | 5 | -46/+93 | |
| | ||||||
* | Introduce ModuleSource | Aleksey Kladov | 2018-11-01 | 3 | -11/+40 | |
| | ||||||
* | Use From to get an owned AST | Aleksey Kladov | 2018-11-01 | 1 | -2/+1 | |
| | ||||||
* | remove SyntaxPtrDatabase | Aleksey Kladov | 2018-11-01 | 4 | -19/+12 | |
| | ||||||
* | Fix test | Aleksey Kladov | 2018-10-31 | 1 | -0/+1 | |
| | ||||||
* | Speedup fmt | Aleksey Kladov | 2018-10-31 | 1 | -6/+1 | |
| | ||||||
* | RemoveDeadCode | Aleksey Kladov | 2018-10-31 | 1 | -17/+0 | |
| | ||||||
* | Reformat all | Aleksey Kladov | 2018-10-31 | 16 | -230/+278 | |
| | ||||||
* | Simplify find_all_refs by always resolving a ast::BindPat | Jeremy A. Kolb | 2018-10-31 | 1 | -32/+16 | |
| | ||||||
* | Add DeclarationDescriptor and ReferenceDescriptor | Jeremy A. Kolb | 2018-10-31 | 3 | -4/+77 | |
| | | | | | Fixes #142 Fixes #146 | |||||
* | Merge #167 | bors[bot] | 2018-10-31 | 2 | -3/+204 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 167: Attempt to extract useful comments from function signatures r=matklad a=kjeremy I'm trying to extract useful function comments for signature info. This will also be useful for hover. This is a WIP (and actually works pretty well!) but I don't think it's the right approach long term so some guidance would be appreciated so that we could also get comments for say types and variable instances etc. Currently `test_fn_signature_with_simple_doc` fails due to a bug in `extend` but we probably shouldn't use this approach anyway. Maybe comments should be attached to nodes somehow? I'm also thinking that maybe the markdown bits should live in the language server. Thoughts? Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Useful comments from function signatures | Jeremy A. Kolb | 2018-10-31 | 2 | -3/+204 | |
| | | ||||||
* | | Add MockAnalysis to make testing easier | Aleksey Kladov | 2018-10-31 | 6 | -71/+146 | |
| | | ||||||
* | | Prevent panic by initializing LibrariesQuery | Jeremy A. Kolb | 2018-10-31 | 1 | -0/+2 | |
|/ | ||||||
* | Merge #177 | bors[bot] | 2018-10-31 | 3 | -3/+3 | |
|\ | | | | | | | | | | | | | | | 177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Fix typo | Jeremy A. Kolb | 2018-10-31 | 3 | -3/+3 | |
| | | ||||||
* | | Merge #176 | bors[bot] | 2018-10-31 | 14 | -161/+1340 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_analysis | Aleksey Kladov | 2018-10-31 | 6 | -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 name | Aleksey Kladov | 2018-10-31 | 4 | -11/+29 | |
| | | | ||||||
| * | | Move FnDescriptors to analyzer | Aleksey Kladov | 2018-10-31 | 12 | -97/+610 | |
| |/ | ||||||
* / | Fix typos | Jeremy A. Kolb | 2018-10-31 | 1 | -2/+2 | |
|/ | ||||||
* | Merge #171 | bors[bot] | 2018-10-30 | 6 | -22/+215 | |
|\ | | | | | | | | | | | | | | | 171: Query-based module scopes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Add ModuleScope as a query | Aleksey Kladov | 2018-10-30 | 6 | -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: salsa | Aleksey Kladov | 2018-10-30 | 3 | -5/+10 | |
|/ | ||||||
* | Merge #168 | bors[bot] | 2018-10-30 | 1 | -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 number | Jeremy A. Kolb | 2018-10-30 | 1 | -1/+1 | |
| | | ||||||
* | | switch to TextRange::subrange | Aleksey Kladov | 2018-10-30 | 1 | -2/+1 | |
| | | ||||||
* | | introduce syntax-ptr | Aleksey Kladov | 2018-10-30 | 2 | -0/+68 | |
|/ | ||||||
* | gc syntax trees | Aleksey Kladov | 2018-10-29 | 1 | -2/+3 | |
| | ||||||
* | Index files in parallel | Aleksey Kladov | 2018-10-29 | 1 | -9/+13 | |
| | ||||||
* | restore symbols filtering | Aleksey Kladov | 2018-10-25 | 1 | -5/+8 | |
| | ||||||
* | Move input to top-level | Aleksey Kladov | 2018-10-25 | 8 | -59/+64 | |
| | ||||||
* | Remove unneded Hash | Aleksey Kladov | 2018-10-25 | 1 | -14/+1 | |
| | ||||||
* | dead code | Aleksey Kladov | 2018-10-25 | 1 | -116/+0 | |
| | ||||||
* | dead code | Aleksey Kladov | 2018-10-25 | 1 | -22/+0 | |
| | ||||||
* | Encapsulate CrateGraph a bit | Aleksey Kladov | 2018-10-25 | 3 | -12/+21 | |
| | ||||||
* | re-enable cancelation | Aleksey Kladov | 2018-10-25 | 2 | -9/+7 | |
| | ||||||
* | use correct file when resolving callables | Aleksey Kladov | 2018-10-25 | 1 | -2/+3 | |
| | ||||||
* | disable cancelation | Aleksey Kladov | 2018-10-25 | 1 | -6/+8 | |
| | ||||||
* | Improve logging | Aleksey Kladov | 2018-10-25 | 4 | -11/+20 | |
| | ||||||
* | Store all the data in the Salsa Database | Aleksey Kladov | 2018-10-25 | 9 | -172/+281 | |
| | ||||||
* | Complete crate:: paths | Aleksey Kladov | 2018-10-24 | 5 | -6/+98 | |
| | ||||||
* | simplify roots | Aleksey Kladov | 2018-10-24 | 4 | -38/+18 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2018-10-24 | 1 | -3/+3 | |
| | ||||||
* | make indexing parallel again | Aleksey Kladov | 2018-10-24 | 2 | -4/+5 | |
| | ||||||
* | revive the test | Aleksey Kladov | 2018-10-24 | 1 | -6/+6 | |
| | ||||||
* | Merge #157 | bors[bot] | 2018-10-23 | 10 | -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 ModuleId | Aleksey Kladov | 2018-10-23 | 10 | -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. |