Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #63 | bors[bot] | 2018-09-08 | 3 | -0/+38 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63: Add trivial fuzzer for parser r=matklad a=killercup As described in #61, fuzz testing some parts of this would be ~~fun~~ helpful. So, I started with the most trivial fuzzer I could think of: Put random stuff into File::parse and see what happens. To speed things up, I also did cp src/**/*.rs fuzz/corpus/parser/ in the `crates/libsyntax2/` directory (running the fuzzer once will generate the necessary directories). Co-authored-by: Pascal Hertleif <[email protected]> | ||||
| * | Add trivial fuzzer for parser | Pascal Hertleif | 2018-09-08 | 3 | -0/+38 |
|/ | | | | | | | | | | | | | As described in #61, fuzz testing some parts of this would be ~~fun~~ helpful. So, I started with the most trivial fuzzer I could think of: Put random stuff into File::parse and see what happens. To speed things up, I also did cp src/**/*.rs fuzz/corpus/parser/ in the `crates/libsyntax2/` directory (running the fuzzer once will generate the necessary directories). | ||||
* | Don't overflow when limiting symbol search | Aleksey Kladov | 2018-09-08 | 1 | -3/+2 |
| | |||||
* | Some abstraction around workers | Aleksey Kladov | 2018-09-08 | 5 | -74/+92 |
| | |||||
* | Deal with deadlocks in a more principaled way | Aleksey Kladov | 2018-09-08 | 6 | -27/+39 |
| | |||||
* | fix deadlock | Aleksey Kladov | 2018-09-08 | 1 | -14/+18 |
| | |||||
* | Fix block structure in enums | Aleksey Kladov | 2018-09-08 | 5 | -25/+274 |
| | |||||
* | simplify | Aleksey Kladov | 2018-09-08 | 5 | -9/+14 |
| | |||||
* | Don't get stuck in tuple exprs | Aleksey Kladov | 2018-09-08 | 4 | -96/+484 |
| | |||||
* | Don't get stuck in macros | Aleksey Kladov | 2018-09-08 | 3 | -1/+54 |
| | |||||
* | fix stuck parser | Aleksey Kladov | 2018-09-08 | 7 | -2/+719 |
| | |||||
* | fix labled expressions | Aleksey Kladov | 2018-09-08 | 9 | -14/+313 |
| | |||||
* | nested mod completion | Aleksey Kladov | 2018-09-07 | 5 | -46/+68 |
| | |||||
* | Remove dyn dispatch | Aleksey Kladov | 2018-09-07 | 3 | -21/+65 |
| | |||||
* | Separete API from IMPL | Aleksey Kladov | 2018-09-07 | 1 | -14/+14 |
| | | | | | | Looks like there's a rule of thumb: don't call API functions from an implementation! In this case, following this rule of thumb saves us an Arc-bump! | ||||
* | Merge #59 | bors[bot] | 2018-09-06 | 4 | -37/+41 |
|\ | | | | | | | | | | | | | | | 59: Moved TokenSet into it's own file. r=matklad a=Plasticcaz As discussed in Issue #11, the only thing left in that issue that hasn't been fixed appears to be that TokenSet is not in it's own file. This pull request pulls TokenSet, it's macros and it's test into it's own file. Co-authored-by: Zac Winter <[email protected]> | ||||
| * | Moved TokenSet into it's own file. | Zac Winter | 2018-09-06 | 4 | -37/+41 |
|/ | |||||
* | better introduce | Aleksey Kladov | 2018-09-05 | 1 | -8/+26 |
| | |||||
* | introduce variable | Aleksey Kladov | 2018-09-05 | 6 | -10/+72 |
| | |||||
* | use correct workdir for the server | Aleksey Kladov | 2018-09-05 | 2 | -10/+19 |
| | |||||
* | Merge #58 | bors[bot] | 2018-09-05 | 1 | -18/+16 |
|\ | | | | | | | | | | | | | | | 58: even less hacks r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | even less hacks | Aleksey Kladov | 2018-09-05 | 1 | -18/+16 |
|/ | |||||
* | Merge #57 | bors[bot] | 2018-09-05 | 1 | -12/+9 |
|\ | | | | | | | | | | | | | | | 57: less hacky paths r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | less hacky paths | Aleksey Kladov | 2018-09-05 | 1 | -12/+9 |
|/ | |||||
* | Merge #56 | bors[bot] | 2018-09-05 | 5 | -45/+137 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56: Unify lookahead naming between parser and lexer. r=matklad a=zachlute Resolves Issue #26. I wanted to play around with libsyntax2, and fixing a random issue seemed like a good way to mess around in the code. This PR mostly does what's suggested in that issue. I elected to go with `at` and `at_str` instead of trying to do any fancy overloading shenanigans, because...uh, well, frankly I don't really know how to do any fancy overloading shenanigans. The only really questionable bit is `nth_is_p`, which could also have potentially been named `nth_at_p`, but `is` seemed more apropos. I also added simple tests for `Ptr` so I could be less terrified I broke something. Comments and criticisms very welcome. I'm still pretty new to Rust. Co-authored-by: Zach Lute <[email protected]> | ||||
| * | Added tests for Ptr. | Zach Lute | 2018-09-05 | 1 | -0/+78 |
| | | |||||
| * | Updated Ptr methods to better match Parser method names. | Zach Lute | 2018-09-05 | 5 | -45/+59 |
| | | |||||
* | | fix tests on windows | Aleksey Kladov | 2018-09-05 | 1 | -4/+11 |
|/ | |||||
* | switch to rayon threadpool | Aleksey Kladov | 2018-09-04 | 3 | -8/+10 |
| | |||||
* | simplify | Aleksey Kladov | 2018-09-04 | 1 | -5/+5 |
| | |||||
* | better extend selection | Aleksey Kladov | 2018-09-04 | 1 | -24/+59 |
| | |||||
* | for types in bounds | Aleksey Kladov | 2018-09-04 | 17 | -192/+311 |
| | |||||
* | dont change readonly files | Aleksey Kladov | 2018-09-04 | 2 | -22/+34 |
| | |||||
* | micro-optimize | Aleksey Kladov | 2018-09-04 | 1 | -2/+3 |
| | |||||
* | accidentally quadratic | Aleksey Kladov | 2018-09-04 | 1 | -16/+35 |
| | |||||
* | work | Aleksey Kladov | 2018-09-04 | 4 | -12/+15 |
| | |||||
* | extern blocks | Aleksey Kladov | 2018-09-03 | 8 | -8/+1032 |
| | |||||
* | switch to internal feedback | Aleksey Kladov | 2018-09-03 | 6 | -79/+35 |
| | |||||
* | fix the test | Aleksey Kladov | 2018-09-03 | 1 | -2/+2 |
| | |||||
* | faster text len | Aleksey Kladov | 2018-09-03 | 2 | -2/+2 |
| | |||||
* | index libraies off the main thread | Aleksey Kladov | 2018-09-03 | 5 | -13/+39 |
| | |||||
* | Index deps | Aleksey Kladov | 2018-09-03 | 7 | -78/+122 |
| | |||||
* | dispatch acros roots | Aleksey Kladov | 2018-09-03 | 5 | -75/+180 |
| | |||||
* | completion for trait params | Aleksey Kladov | 2018-09-03 | 3 | -10/+33 |
| | |||||
* | Complete params | Aleksey Kladov | 2018-09-03 | 10 | -237/+326 |
| | |||||
* | method call scope | Aleksey Kladov | 2018-09-03 | 4 | -11/+44 |
| | |||||
* | improve test | Aleksey Kladov | 2018-09-02 | 1 | -2/+2 |
| | |||||
* | match scope | Aleksey Kladov | 2018-09-02 | 3 | -20/+63 |
| | |||||
* | store file id inside symbol | Aleksey Kladov | 2018-09-02 | 2 | -14/+27 |
| | |||||
* | Store symbols separately from file data | Aleksey Kladov | 2018-09-02 | 2 | -14/+11 |
| |