Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix off by one in onEnter | Laurențiu Nicola | 2020-02-20 | 1 | -1/+14 | |
| | ||||||
* | Merge #3215 | bors[bot] | 2020-02-19 | 2 | -6/+34 | |
|\ | | | | | | | | | | | | | | | | | | | 3215: Exclude methods from non-parameter types introduced by generic constraints r=flodiebold a=lnicola Fixes #3184. r? @flodiebold Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | Exclude methods from non-parameter types introduced by generic constraints | Laurențiu Nicola | 2020-02-19 | 2 | -6/+34 | |
| | | ||||||
* | | Fill missing fields of enum variants | Aleksey Kladov | 2020-02-19 | 2 | -7/+40 | |
| | | ||||||
* | | Merge pull request #3239 from matklad/opt-backtrace | Aleksey Kladov | 2020-02-19 | 2 | -1/+2 | |
|\ \ | | | | | | | Make backtrace optional | |||||
| * | | Make backtrace optional | Aleksey Kladov | 2020-02-19 | 2 | -1/+2 | |
| | | | ||||||
* | | | Bump lsp-types | kjeremy | 2020-02-19 | 1 | -0/+1 | |
|/ / | ||||||
* | | Merge #3236 | bors[bot] | 2020-02-19 | 8 | -119/+91 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3236: Merge NameDefinition and NameKind r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Merge NameDefinition and NameKind | Aleksey Kladov | 2020-02-19 | 8 | -119/+91 | |
| | | | ||||||
* | | | Merge #3235 | bors[bot] | 2020-02-19 | 3 | -53/+55 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3235: Derive visibility as well r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Derive visibility as well | Aleksey Kladov | 2020-02-19 | 3 | -53/+55 | |
| | | | ||||||
* | | | Merge #3234 | bors[bot] | 2020-02-19 | 4 | -60/+84 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3234: Don't store deriveable Module info in NameDefinition r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Don't store deriveable Module info in NameDefinition | Aleksey Kladov | 2020-02-19 | 4 | -60/+84 | |
| | | | ||||||
* | | | Extend selection handles commas in tuple pats | Aleksey Kladov | 2020-02-19 | 1 | -0/+27 | |
|/ / | ||||||
* | | Merge #3231 | bors[bot] | 2020-02-19 | 3 | -0/+51 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3231: Add `remove_mut` assist r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Add `remove_mut` assist | Aleksey Kladov | 2020-02-19 | 3 | -0/+51 | |
| | | | ||||||
* | | | Merge #3228 | bors[bot] | 2020-02-19 | 1 | -9/+17 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3228: Use proper range for hover on macro arguments r=matklad a=edwin0cheng This PR use `original_range` to remap the range of found syntax node in `hover` and thus it should return the proper text range now. fixed #3000 fixed #3135 Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | Use proper range for hover on macro arguments | Edwin Cheng | 2020-02-19 | 1 | -9/+17 | |
| |/ | ||||||
* | | Cleanup | Shotaro Yamada | 2020-02-19 | 3 | -7/+3 | |
| | | ||||||
* | | Fix a crash with non-ascii whitespace in doc-comments | Shotaro Yamada | 2020-02-19 | 2 | -2/+19 | |
|/ | ||||||
* | Cleanup imports | Aleksey Kladov | 2020-02-18 | 1 | -22/+18 | |
| | ||||||
* | Minor simplification | Aleksey Kladov | 2020-02-18 | 1 | -6/+3 | |
| | ||||||
* | Update versions | Kirill Bulatov | 2020-02-18 | 19 | -80/+85 | |
| | ||||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 31 | -154/+137 | |
| | ||||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 48 | -149/+132 | |
| | ||||||
* | Merge #3218 | bors[bot] | 2020-02-18 | 3 | -12/+13 | |
|\ | | | | | | | | | | | | | | | 3218: Cut some deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Remove unicase dependency | Aleksey Kladov | 2020-02-18 | 2 | -8/+13 | |
| | | ||||||
| * | Drop extra deps | Aleksey Kladov | 2020-02-18 | 1 | -4/+0 | |
| | | ||||||
* | | Remove dat FIXME | Veetaha | 2020-02-18 | 1 | -1/+0 | |
| | | ||||||
* | | Merge #3026 | bors[bot] | 2020-02-18 | 56 | -650/+452 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3026: ra_syntax: reshape SyntaxError for the sake of removing redundancy r=matklad a=Veetaha Followup of #2911, also puts some crosses to the todo list of #223. **AHTUNG!** A big part of the diff of this PR are test data files changes. Simplified `SyntaxError` that was `SyntaxError { kind: { /* big enum */ }, location: Location }` to `SyntaxError(String, TextRange)`. I am not sure whether the tuple struct here is best fit, I am inclined to add names to the fields, because I already provide getters `SyntaxError::message()`, `SyntaxError::range()`. I also removed `Location` altogether ... This is currently WIP, because the following is not done: - [ ] ~~Add tests to `test_data` dir for unescape errors *// I don't know where to put these errors in particular, because they are out of the scope of the lexer and parser. However, I have an idea in mind that we move all validators we have right now to parsing stage, but this is up to discussion...*~~ **[UPD]** I came to a conclusion that tree validation logic, which unescape errors are a part of, should be rethought of, we currently have no tests and no place to put tests for tree validations. So I'd like to extract potential redesign (maybe move of tree validation to ra_parser) and adding tests for this into a separate task. Co-authored-by: Veetaha <[email protected]> Co-authored-by: Veetaha <[email protected]> | |||||
| * | ra_syntax: fix reparsing merging errors, also now reparse_token() reports errors | Veetaha | 2020-02-18 | 1 | -7/+50 | |
| | | ||||||
| * | ra_syntax: migrate test data to 0-length text-range of SyntaxError when ↵ | Veetaha | 2020-02-17 | 46 | -242/+242 | |
| | | | | | | | | constructed from TextUnit | |||||
| * | ra_syntax: remove message() method and use only Display trait in SyntaxError ↵ | Veetaha | 2020-02-17 | 2 | -4/+1 | |
| | | | | | | | | as per matklad | |||||
| * | ra_syntax: change module-level documentation for syntax_error to "see X" as ↵ | Veetaha | 2020-02-17 | 1 | -1/+1 | |
| | | | | | | | | per matklad | |||||
| * | ra_syntax: followup fix for making SyntaxError::range() to return by value | Veetaha | 2020-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | ra_syntax: SyntaxError::range() now returns by value | Veetaha | 2020-02-17 | 4 | -12/+6 | |
| | | ||||||
| * | ra_syntax: moved reexport declaration after imports as per matklad | Veetaha | 2020-02-17 | 1 | -1/+2 | |
| | | ||||||
| * | ra_syntax: Apply Aleksei Kladov suggestion about TextRange of TextUnit | Veetaha | 2020-02-17 | 1 | -1/+1 | |
| | | | | | | Co-Authored-By: Aleksey Kladov <[email protected]> | |||||
| * | Change semmantical analyzis to tree validation as per @matklad | Veetaha | 2020-02-17 | 1 | -1/+1 | |
| | | | | | | Co-Authored-By: Aleksey Kladov <[email protected]> | |||||
| * | ra_syntax: reshape SyntaxError for the sake of removing redundancy | Veetaha | 2020-02-17 | 55 | -637/+404 | |
| | | ||||||
* | | Rename folder | Aleksey Kladov | 2020-02-18 | 25 | -0/+0 | |
| | | ||||||
* | | Rename the binary to rust-analyzer | Aleksey Kladov | 2020-02-18 | 11 | -22/+22 | |
| | | ||||||
* | | Fully document ra_lsp_server | Aleksey Kladov | 2020-02-18 | 8 | -11/+20 | |
| | | ||||||
* | | Refactor | Aleksey Kladov | 2020-02-18 | 2 | -52/+52 | |
| | | ||||||
* | | Reduce visibility | Aleksey Kladov | 2020-02-18 | 1 | -6/+9 | |
| | | ||||||
* | | Refactor | Aleksey Kladov | 2020-02-18 | 2 | -4/+3 | |
| | | ||||||
* | | Some docs | Aleksey Kladov | 2020-02-18 | 7 | -15/+23 | |
| | | ||||||
* | | Better folder structure | Aleksey Kladov | 2020-02-18 | 3 | -0/+5 | |
| | | ||||||
* | | Simplify the command execution | Kirill Bulatov | 2020-02-17 | 1 | -34/+28 | |
| | | ||||||
* | | Simplify the code further | Kirill Bulatov | 2020-02-17 | 1 | -45/+35 | |
| | |