aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move `non_trivia_sibling` to `ra_syntax::algo`Ville Penttinen2019-02-214-15/+13
|
* Simplify adding a comma after match armVille Penttinen2019-02-211-28/+18
|
* Fix join_lines not adding a comma after join_single_expr_block in match armVille Penttinen2019-02-211-2/+147
| | | | | | | | | | | | | | | | | | | | | | We will also remove optional whitespace between the expression and the comma. e.g. ```rust fn foo() { let x = (<|>{ 4 } ,); // NOTE: whitespace } ``` becomes ```rust fn foo() { let x = (<|>4,); } ```
* Merge #872bors[bot]2019-02-2110-175/+168
|\ | | | | | | | | | | | | | | 872: simplify trait bounds r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * simplify trait boundsAleksey Kladov2019-02-211-12/+18
| |
| * rearrange methodsAleksey Kladov2019-02-211-67/+67
| |
| * kill utils moduleAleksey Kladov2019-02-2110-114/+101
|/
* Merge #871bors[bot]2019-02-212-521/+1
|\ | | | | | | | | | | | | | | 871: Ignore lockfile in fuzz r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Ignore lockfile in fuzzAleksey Kladov2019-02-212-521/+1
| | | | | | | | It's too much trouble maintaining it
* | Merge #870bors[bot]2019-02-2111-98/+143
|\| | | | | | | | | | | | | | | 870: docs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * docsAleksey Kladov2019-02-2111-98/+143
|/
* add failing testAleksey Kladov2019-02-211-0/+23
|
* Merge #867bors[bot]2019-02-2132-74/+127
|\ | | | | | | | | | | | | | | 867: This moves the parser to separate crate r=matklad a=matklad That makes parser independent form both the token and the tree representation. Co-authored-by: Aleksey Kladov <[email protected]>
| * fix the testAleksey Kladov2019-02-212-4/+4
| |
| * fix compilationAleksey Kladov2019-02-219-59/+39
| |
| * move parser to a separate crateAleksey Kladov2019-02-2124-18/+91
|/
* Merge #865bors[bot]2019-02-216-203/+178
|\ | | | | | | | | | | | | | | 865: Parser decoupling r=matklad a=matklad More work on making parser independent from text Co-authored-by: Aleksey Kladov <[email protected]>
| * make grammar independent of syntax treeAleksey Kladov2019-02-212-14/+18
| |
| * minorAleksey Kladov2019-02-211-1/+1
| |
| * move whitespace handling to tree builderAleksey Kladov2019-02-214-188/+159
|/
* Merge #863bors[bot]2019-02-2010-358/+245
|\ | | | | | | | | | | | | | | 863: Token source r=matklad a=matklad Some reshuffling of parser's API with the eye towards extracting parse **without** syntax tree into a separate crate, to be used with macro expansion Co-authored-by: Aleksey Kladov <[email protected]>
| * move syntax error to parserAleksey Kladov2019-02-206-25/+24
| |
| * simplifyAleksey Kladov2019-02-205-29/+4
| |
| * remove TokenPosAleksey Kladov2019-02-203-49/+28
| |
| * flattern module structureAleksey Kladov2019-02-205-14/+30
| |
| * merge parse_impl and parser_apiAleksey Kladov2019-02-202-171/+102
| |
| * fix off by one errorAleksey Kladov2019-02-201-1/+1
| |
| * move abstract traits to topAleksey Kladov2019-02-204-65/+59
| |
| * switch to dynamic dispatch for TokenSourceAleksey Kladov2019-02-202-9/+7
| | | | | | | | | | | | | | | | | | | | | | Benchmarks show no difference. This is probably because we are bottlenecked on memory allocations, and we should fix that, but we are not optimizing for performance just yet. changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch token-source # Changes to be committed: # modified: crates/ra_syntax/src/parsing/parser_api.rs # modified: crates/ra_syntax/src/parsing/parser_impl.rs #
| * route parsing via TokenSource traitAleksey Kladov2019-02-203-64/+59
| |
| * rename Sink -> TreeSinkAleksey Kladov2019-02-203-8/+8
|/
* Merge #861bors[bot]2019-02-2041-140/+174
|\ | | | | | | | | | | | | | | 861: Move parsing to a separate module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fix testsAleksey Kladov2019-02-203-5/+8
| |
| * rearrange modules in a suggestd reading orderAleksey Kladov2019-02-202-9/+10
| |
| * flatten modulesAleksey Kladov2019-02-2015-40/+37
| |
| * move reparsers to grammarAleksey Kladov2019-02-202-33/+27
| |
| * tighten visibilityAleksey Kladov2019-02-201-3/+3
| |
| * move all parsing related bits to a separate moduleAleksey Kladov2019-02-2031-47/+78
| |
| * slightly better nameAleksey Kladov2019-02-203-12/+20
| |
| * make stuff privateAleksey Kladov2019-02-201-2/+2
|/
* Merge #859bors[bot]2019-02-194-50/+3
|\ | | | | | | | | | | | | | | 859: remove ignored macro tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove ignored macro testsAleksey Kladov2019-02-194-50/+3
|/ | | | | we need to significantly reengineer macros, so the tests as they exist are useless
* Merge #858bors[bot]2019-02-191-29/+2
|\ | | | | | | | | | | | | | | 858: Use named multiline Problem Matcher r=matklad a=kjeremy Now that https://github.com/Microsoft/vscode/pull/65840 is in the latest release we can use the first commit from https://github.com/rust-analyzer/rust-analyzer/pull/408 Co-authored-by: kjeremy <[email protected]>
| * Use named multiline Problem Matcherkjeremy2019-02-181-29/+2
|/ | | | | Now that https://github.com/Microsoft/vscode/pull/65840 is in the latest release we can use the first commit from https://github.com/rust-analyzer/rust-analyzer/pull/408
* Merge #857bors[bot]2019-02-188-936/+6
|\ | | | | | | | | | | | | | | 857: remove local-vfs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove local-vfsAleksey Kladov2019-02-186-934/+4
| |
| * switch to crates.io vfsAleksey Kladov2019-02-182-2/+2
|/
* Merge #856bors[bot]2019-02-185-126/+178
|\ | | | | | | | | | | | | | | 856: Reduce dependnecies of ra_vfs r=pnkfelix a=matklad In preparation for moving `ra_vfs` to a separate repo with extensive cross-platform CI, remove dependency on `ra_thread_workder` and `ra_arena`. Co-authored-by: Aleksey Kladov <[email protected]>
| * better commentsAleksey Kladov2019-02-181-2/+8
| |
| * drop dependency on thread_workerAleksey Kladov2019-02-184-67/+99
| |