aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* better change visibility assistAleksey Kladov2019-01-101-10/+59
| | | | | * don't add visibility before #derive * suggest changing pub(crate) into pub
* Merge #482bors[bot]2019-01-105-507/+510
|\ | | | | | | | | | | | | | | 482: fix code duplication r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fix code duplicationAleksey Kladov2019-01-104-68/+55
| |
| * move join_lines to a separate moduleAleksey Kladov2019-01-103-487/+503
| |
* | Merge #481bors[bot]2019-01-104-1/+118
|\ \ | |/ |/| | | | | | | | | | | 481: introduce marking infrastructure for maintainable tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * introduce marking infrastructure for maintainable testsAleksey Kladov2019-01-104-1/+118
|/ | | | This also fixes a particular edge case in name resolution.
* Merge #475bors[bot]2019-01-106-59/+99
|\ | | | | | | | | | | | | | | | | | | | | 475: Show types of fields in completion r=matklad a=matklad ![image](https://user-images.githubusercontent.com/1711539/50910524-0f146200-143f-11e9-84d6-0ba80761cd89.png) r? @flodiebold Co-authored-by: Aleksey Kladov <[email protected]>
| * show field types in completionAleksey Kladov2019-01-095-61/+88
| |
| * add completion detailAleksey Kladov2019-01-092-0/+13
| |
* | 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]>