aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge #478bors[bot]2019-01-108-48/+87
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 478: WIP: implement cancelation via unwinding r=matklad a=matklad This uses https://github.com/salsa-rs/salsa/pull/107 to implement cancellation. Now we can get rid of `Cancelable` wrapper from everywhere except the top-level analyzer library. Co-authored-by: Aleksey Kladov <[email protected]>
| * | upgrade salsaAleksey Kladov2019-01-101-1/+1
| | |
| * | explain why we use resume_unwindAleksey Kladov2019-01-101-0/+2
| | |
| * | implement RefUnwindSafeAleksey Kladov2019-01-104-6/+16
| | |
| * | use unwinding for cancelationAleksey Kladov2019-01-106-43/+61
| | |
| * | unwind on cancelAleksey Kladov2019-01-093-11/+20
| |/
* | Merge #477bors[bot]2019-01-101-4/+127
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | 477: Extend selection for list items r=matklad a=hban First PR, criticism welcome! There are a few things I'm not so sure about: * There is now a not-so-small list of "list-like kinds" in extend selection source which maybe should belong somewhere else. * Preferring left comma doesn't seem right IMO for one reason - trailing commas are usually on the right. For example, when array values are broken across multiple lines extending selected value will cover right trailing comma (because it's the only comma on the same line), but when all values are on the same line it will pick left comma. Anyway, currently with this PR it will pick always extend to left comma when possible since that's what issue specified 😃. Closes: #444 Co-authored-by: Hrvoje Ban <[email protected]>
| * Extend selection for list itemsHrvoje Ban2019-01-091-4/+127
|/
* Merge #476bors[bot]2019-01-095-15/+21
|\ | | | | | | | | | | | | | | 476: nicer trailing comma handling in types r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * nicer trailing comma handling in typesAleksey Kladov2019-01-095-15/+21
|/
* Merge #474bors[bot]2019-01-092-4/+4
|\ | | | | | | | | | | | | | | 474: Fix rev to deleted branch r=matklad a=weiznich Co-authored-by: Georg Semmler <[email protected]>
| * Fix rev to deleted branchGeorg Semmler2019-01-092-4/+4
|/
* Merge #473bors[bot]2019-01-0928-112/+171
|\ | | | | | | | | | | | | | | 473: Partial typo fix r=matklad a=marcusklaas This fixes some typos. Mostly in documentation, but also some code is affected (`defenition` was used in a few method names). Co-authored-by: Marcus Klaas de Vries <[email protected]>
| * Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-0923-91/+150
| | | | | | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
| * Fix typo defenition -> definitionMarcus Klaas de Vries2019-01-088-21/+21
| |
* | Merge #472bors[bot]2019-01-083-93/+103
|\ \ | |/ |/| | | | | | | | | | | 472: Stupidly simple idea to make DefIds more stable r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fuzz-lockfileAleksey Kladov2019-01-081-32/+9
| |
| * more stable DefIds via bfs tree walkingAleksey Kladov2019-01-082-7/+31
| |
| * one more invalidation testAleksey Kladov2019-01-081-1/+32
| |
| * fix test namingAleksey Kladov2019-01-081-22/+22
| |
| * remove duplication in testsAleksey Kladov2019-01-081-55/+33
|/
* Merge #471bors[bot]2019-01-0852-104/+132
|\ | | | | | | | | | | | | | | 471: rename crates to match reality r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fix the docsAleksey Kladov2019-01-083-29/+40
| |
| * fix usages after renameAleksey Kladov2019-01-0830-31/+4280
| |
| * rename ra_analysis -> ra_ide_apiAleksey Kladov2019-01-0823-4249/+0
| |
| * fix usages after renameAleksey Kladov2019-01-0810-45/+62
| |
| * rename ra_editor -> ra_ide_api_lightAleksey Kladov2019-01-0818-0/+0
|/
* Merge #469bors[bot]2019-01-0812-63/+33
|\ | | | | | | | | | | | | | | 469: kill text utils r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * kill text utilsAleksey Kladov2019-01-084-19/+13
| |
| * upstream text-utils to text_unitAleksey Kladov2019-01-0810-44/+20
|/
* Merge #468bors[bot]2019-01-0821-51/+60
|\ | | | | | | | | | | | | | | 468: decouple ra_editor from other stuff r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * ra_db is independent from editorAleksey Kladov2019-01-087-23/+27
| |
| * add commentAleksey Kladov2019-01-081-0/+9
| |
| * ra_hir does not depend on ra_editorAleksey Kladov2019-01-082-2/+0
| |
| * move node at offset to aglo alreadyAleksey Kladov2019-01-0811-22/+19
| |
| * dont depend on ra_editor directlyAleksey Kladov2019-01-084-4/+5
|/
* Merge #467bors[bot]2019-01-089-144/+153
|\ | | | | | | | | | | | | | | 467: move function to code_model_api r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * move function to code_model_apiAleksey Kladov2019-01-089-144/+153
|/
* Merge #466bors[bot]2019-01-083-15/+13
|\ | | | | | | | | | | | | | | | | | | 466: switch to newer cargo-metadata r=matklad a=matklad This handles renames closes https://github.com/rust-analyzer/rust-analyzer/issues/464 Co-authored-by: Aleksey Kladov <[email protected]>
| * switch to newer cargo-metadataAleksey Kladov2019-01-083-15/+13
|/
* Merge #462bors[bot]2019-01-087-522/+482
|\ | | | | | | | | | | | | | | 462: Remove UI-ish FnSignatureInfo from hir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * simplifyAleksey Kladov2019-01-081-33/+33
| |
| * simplifyAleksey Kladov2019-01-081-43/+37
| |
| * kill FnSignatureInfoAleksey Kladov2019-01-081-35/+11
| |
| * remove FnSignatureInfo from hirAleksey Kladov2019-01-084-137/+115
| |
| * move testsAleksey Kladov2019-01-082-260/+250
| |
| * introduce CallInfoAleksey Kladov2019-01-083-23/+33
| |
| * move call-info to a separate fileAleksey Kladov2019-01-083-118/+130
|/
* Merge #460bors[bot]2019-01-084-20/+203
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 460: Name resolution fixes r=flodiebold a=flodiebold Found two problems: - use tree desugaring lost the prefix if the path had just one segment (e.g. in `use foo::{bar, baz}`) - when resolving imports across source roots, it actually used the name of the segment from the other source root... so e.g. in `use ra_syntax::foo` it'd map `ra_syntax` to the import instead of `foo` :smile: Both of these are one-line fixes, most of this is making it possible to write tests with multiple source roots. I also left in debug logs for the name resolution, in case it turns out there's still more to fix ;) Co-authored-by: Florian Diebold <[email protected]>
| * Fix name resolution across source rootsFlorian Diebold2019-01-083-19/+173
| | | | | | | | It was using the wrong name in that case.