aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Merge #662bors[bot]2019-01-274-27/+65
|\ | | | | | | | | | | | | | | 662: Preserve indentation in doc comments r=matklad a=kjeremy Fixes #502 Co-authored-by: Jeremy Kolb <[email protected]>
| * Make doc comments optionalJeremy Kolb2019-01-264-19/+27
| |
| * Do not unconditionally trim commentsJeremy Kolb2019-01-261-2/+1
| |
| * Preserve indentation in doc commentsJeremy Kolb2019-01-261-9/+40
| |
* | Merge #687bors[bot]2019-01-265-177/+123
|\ \ | | | | | | | | | | | | | | | | | | | | | 687: fix verificatio on ci r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix verification on CIAleksey Kladov2019-01-265-177/+123
| | | | | | | | | | | | remove `--verify` flag from the binaries: we have tests for this!
* | | Add marksFlorian Diebold2019-01-263-0/+11
| | |
* | | Handle cycles in type varsFlorian Diebold2019-01-264-9/+86
|/ / | | | | | | This might be the cause of #587.
* | Merge #683bors[bot]2019-01-266-5/+112
|\ \ | | | | | | | | | | | | | | | | | | | | | 683: fix AST for if expressions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix AST for if expressionsAleksey Kladov2019-01-266-5/+112
| | | | | | | | | | | | then is not always a block...
* | | fix panic in call infoAleksey Kladov2019-01-262-2/+21
| | | | | | | | | | | | | | | closes #317 closes #675
* | | Merge #681bors[bot]2019-01-262-11/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 681: Use the correct working directory for cargo metadata and rustfmt r=matklad a=DJMcNab Fixes maybe #670. @bjorn3, is that true? (Awkward wording due to GitHub's eager 'fixes' finding) Co-authored-by: DJMcNab <[email protected]>
| * | | Don't use the reserved error codeDJMcNab2019-01-261-1/+1
| | | |
| * | | Return an lsp errorDJMcNab2019-01-261-5/+8
| | | |
| * | | Use the correct working directory for cargo metadata and rustfmtDJMcNab2019-01-262-7/+20
| | | |
* | | | remove Option<SourceFileItemId> hackAleksey Kladov2019-01-268-83/+86
| | | |
* | | | store syntax ptr in FileItemsAleksey Kladov2019-01-262-21/+15
| | | | | | | | | | | | | | | | we cache the tree in file_item query anyway
* | | | remove dead codeAleksey Kladov2019-01-261-4/+0
| |/ / |/| |
* | | Merge #680bors[bot]2019-01-263-1/+118
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 680: Struct literals should not be a `BlockLike::Block` r=DJMcNab a=DJMcNab Fix #674. Co-authored-by: DJMcNab <[email protected]>
| * | | Struct literals should not be a `BlockLike::Block`DJMcNab2019-01-263-1/+118
| |/ /
* / / :arrow_up: salsaAleksey Kladov2019-01-261-1/+1
|/ /
* | :arrow_up: rowanAleksey Kladov2019-01-261-1/+1
| | | | | | | | | | | | The new rowan uses arena allocator for red nodes which helps slightly (5% on std completion test) with performance but should help quite a bit with avoiding memory fragmentation.
* | Merge #671bors[bot]2019-01-263-336/+281
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 671: Makre VFS slightly less super obscure r=vemoo a=matklad I've decided to better understand what we do in VFS, and this turns out to be really hard. Jugling threads and channels is one of the most unfortunately arcane bits of rust... I had some success though by flattenning the structure so that all channel & thread creation routines are on one screen. r? @vemoo Co-authored-by: Aleksey Kladov <[email protected]>
| * remove watcher ctxAleksey Kladov2019-01-261-65/+77
| |
| * remove mutexesAleksey Kladov2019-01-261-14/+10
| |
| * handle all the reads on the "main" watcher threadAleksey Kladov2019-01-261-48/+75
| |
| * cleanup: add result aliasAleksey Kladov2019-01-261-9/+7
| |
| * consolidate error handlingAleksey Kladov2019-01-261-14/+17
| |
| * refactor-fvsAleksey Kladov2019-01-263-333/+242
| |
* | minor cleanupsAleksey Kladov2019-01-261-22/+5
|/
* Merge #659bors[bot]2019-01-262-1/+64
|\ | | | | | | | | | | | | | | | | | | 659: Fold blocks of mod items r=matklad a=eulerdisk Fixes #572 As requested, we ignore `mod`s with a visibility specifier. Co-authored-by: Andrea Pretto <[email protected]>
| * Better visibility check.Andrea Pretto2019-01-261-1/+5
| |
| * Fold blocks of mod items.Andrea Pretto2019-01-252-1/+60
| | | | | | | | Fixes #572
* | dont overwrite memfiesAleksey Kladov2019-01-262-1/+15
| |
* | Merge #660bors[bot]2019-01-263-1/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | 660: Support macro calls in type position r=matklad a=regiontog A [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=fdc6dd4ddaece92a72fa2a292b75e27c) demonstrating the syntax in question. Co-authored-by: Erlend Tobiassen <[email protected]>
| * | Support macro calls in type positionErlend Tobiassen2019-01-253-1/+68
| | |
* | | Merge #666bors[bot]2019-01-2619-47/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 666: rename source_file -> parse r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | rename source_file -> parseAleksey Kladov2019-01-2619-47/+41
| | | |
* | | | use entry file_type, improve testBernardo2019-01-263-11/+16
| | | |
* | | | use `Roots` in watcherBernardo2019-01-264-330/+274
| | | |
* | | | extract `Roots` structBernardo2019-01-261-21/+52
| | | |
* | | | review fixesBernardo2019-01-263-22/+10
| | | |
* | | | use released `notifiy` version, add TODO commentBernardo2019-01-262-3/+2
| | | |
* | | | better test, avoid duplicated eventsBernardo2019-01-263-22/+30
| | | |
* | | | hardcode ".git" and "node_modules" alsoBernardo2019-01-262-2/+10
| | | |
* | | | simplify and optimize `RootFilter`by determining if is contained firstBernardo2019-01-261-24/+11
| | | |
* | | | fix recursive watchBernardo2019-01-261-3/+8
| | | |
* | | | avoid boxingBernardo2019-01-263-34/+44
| | | |
* | | | move watcher to io moduleBernardo2019-01-263-31/+29
| | | |
* | | | do not emit create for directory againBernardo2019-01-263-8/+6
| | | |