aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge #514bors[bot]2019-01-134-9/+16
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 514: npm fix run r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | npm fix runJeremy Kolb2019-01-124-9/+16
| |/
* | Merge #515bors[bot]2019-01-131-2/+2
|\ \ | |/ |/| | | | | | | | | | | 515: Fix typos r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * Fix typosJeremy Kolb2019-01-131-2/+2
|/
* Merge #505bors[bot]2019-01-1216-47/+398
|\ | | | | | | | | | | | | | | | | | | 505: Inherent methods r=matklad a=flodiebold This adds resolution, type checking and completion for inherent methods. The main open question here is the caching, I think. I'm not sure whether we should be caching method resolutions in a more fine grained way (currently we just build a hash map of types -> impl blocks, and iterate through all potential impl blocks when looking for a method). Co-authored-by: Florian Diebold <[email protected]>
| * args -> paramsFlorian Diebold2019-01-128-37/+37
| |
| * Small improvements from review commentsFlorian Diebold2019-01-123-20/+20
| |
| * Complete inherent methodsFlorian Diebold2019-01-123-4/+63
| |
| * Implement basic inherent method resolutionFlorian Diebold2019-01-1211-17/+309
| |
* | Merge #500bors[bot]2019-01-128-99/+173
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 500: Code lens support for running tests r=matklad a=kjeremy Supports running individual and mod tests. I feel like this kind of abuses the `Runnables` infrastructure but it works. Maybe later on down the line we should introduce a struct that is really just a tuple of binary, arguments, and environment and pass that back to the client instead. `run_single.ts` is just a paired down version of `runnables.ts` and there is duplication because I think run_single will probably change independent of runnables. Co-authored-by: Jeremy A. Kolb <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>
| * | Move run_single into runnablesJeremy Kolb2019-01-124-66/+17
| | |
| * | Move `CargoTargetSpec` and friends to cargo_target_spec moduleJeremy Kolb2019-01-123-90/+102
| | |
| * | Code lens support for running testsJeremy A. Kolb2019-01-117-85/+196
| | |
* | | Do not recommend fetching whole repo for end usersPaweł Zmarzły2019-01-121-1/+1
| | | | | | | | | `--depth 1` will make a shallow clone, of master branch only.
* | | Merge #507bors[bot]2019-01-123-0/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 507: Fix handling of attributes in positional field lists r=matklad a=DJMcNab First reported by @max-frai. This allows us to properly handle crates using e.g. `#[Derive(fail)]` with `#[fail(cause)]`, among other cases. Co-authored-by: DJMcNab <[email protected]>
| * | | Fix handling of attributes in positional field listsDJMcNab2019-01-123-0/+53
| | |/ | |/|
* | | Merge #506bors[bot]2019-01-121-2/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 506: Use --force when installing the VSIX. r=DJMcNab a=DJMcNab This might fix the extension installation, or it might not. https://github.com/Microsoft/vscode/issues/65897#issuecomment-451749900 says we need to increase the version on every install, but I can't work out why exactly. @egamma, can you give us some more insight? bors r+ - It can't do any harm anyway :). Co-authored-by: DJMcNab <[email protected]>
| * | Use --force when installing the VSIX.DJMcNab2019-01-121-2/+2
|/ /
* | Merge #501bors[bot]2019-01-121-2/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 501: Switch hover to use MarkupContent r=matklad a=kjeremy MarkedString is deprecated Co-authored-by: Jeremy Kolb <[email protected]>
| * | Switch hover to use MarkupContentJeremy Kolb2019-01-121-2/+5
|/ / | | | | | | MarkedString is deprecated
* | Merge #491bors[bot]2019-01-113-7/+50
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 491: Fix assertion error in unification (hopefully) r=flodiebold a=flodiebold Currently, all types that we handle during inference need to be resolved as far as possible at the time. It's maybe too brittle of an invariant; I need to think how we can do this better. This should fix #484 though, I hope (if it's the same case as I managed to reproduce). Co-authored-by: Florian Diebold <[email protected]>
| * | Fix assertion error in unification (hopefully)Florian Diebold2019-01-113-7/+50
|/ / | | | | | | | | | | | | Currently, all types that we handle during inference need to be resolved as far as possible at the time. It's maybe too brittle of an invariant; I need to think how we can do this better. This should fix #484 though, I hope (if it's the same case as I managed to reproduce).
* / warn louder on mising sysrootAleksey Kladov2019-01-112-1/+9
|/
* Merge #498bors[bot]2019-01-119-48/+168
|\ | | | | | | | | | | | | | | 498: actually produce missing def kinds r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * actually produce missing def kindsAleksey Kladov2019-01-117-8/+122
| |
| * uncopypaste def sourcesAleksey Kladov2019-01-113-40/+26
| |
| * add missing def kindsAleksey Kladov2019-01-111-0/+20
|/
* rename TreePtr -> TreeArcAleksey Kladov2019-01-1125-197/+197
| | | | This is much clearer about the semantics
* Merge #496bors[bot]2019-01-1112-248/+294
|\ | | | | | | | | | | | | | | 496: Include two element ranges into the nav. r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * kill NavTarget ptrAleksey Kladov2019-01-111-6/+2
| |
| * fix testsAleksey Kladov2019-01-118-98/+108
| |
| * use location link in goto defAleksey Kladov2019-01-112-12/+25
| |
| * return ref ranges from gotodefAleksey Kladov2019-01-114-10/+24
| |
| * envapsulate navigation target betterAleksey Kladov2019-01-118-96/+102
| |
| * simplifyAleksey Kladov2019-01-111-5/+2
| |
| * reshuffle nonesAleksey Kladov2019-01-111-21/+10
| |
| * refactor nav targetAleksey Kladov2019-01-111-20/+29
| |
| * Make from_syntax privateAleksey Kladov2019-01-112-14/+11
| |
| * move nav to a separate fileAleksey Kladov2019-01-112-73/+88
| |
| * group feature modulesAleksey Kladov2019-01-111-3/+3
| |
* | Merge #497bors[bot]2019-01-111-4/+15
|\ \ | |/ |/| | | | | | | | | | | 497: prioritize event handing over indexing r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * prioritize event handing over indexingAleksey Kladov2019-01-111-4/+15
|/ | | | | | If we index gazillion libraries simultaneously, we fill the threadpool and so the main loop fails to turn, although there isn't really any significant blocking inside the loop itself.
* Merge #495bors[bot]2019-01-114-178/+174
|\ | | | | | | | | | | | | | | 495: Fix on type handlers r=matklad a=matklad Looks like our on type handlers didn't actually worked, this shoud fix that! Co-authored-by: Aleksey Kladov <[email protected]>
| * fine grained on typed testsAleksey Kladov2019-01-111-43/+48
| |
| * fix on-type offsetAleksey Kladov2019-01-111-26/+21
| |
| * make on dot typed actually workAleksey Kladov2019-01-113-125/+121
|/
* Merge #493bors[bot]2019-01-114-11/+26
|\ | | | | | | | | | | | | | | 493: force serde in ra_syntax r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * force serde in ra_syntaxAleksey Kladov2019-01-114-11/+26
|/
* Merge #489bors[bot]2019-01-109-204/+448
|\ | | | | | | | | | | | | | | 489: support std r=matklad a=matklad closes #465 Co-authored-by: Aleksey Kladov <[email protected]>
| * install rust-src component on CIAleksey Kladov2019-01-101-0/+1
| |