aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Add type aliasAleksey Kladov2018-12-202-4/+8
|
* vfs crate scaffoldAleksey Kladov2018-12-205-68/+87
|
* wipAleksey Kladov2018-12-205-1/+260
|
* Bump languageserver-types to 0.53.0 to support LSP 3.14.0Jeremy A. Kolb2018-12-193-4/+4
| | | | See: https://microsoft.github.io/language-server-protocol/specification#version_3_14_0
* Merge #273bors[bot]2018-12-1913-162/+418
|\ | | | | | | | | | | | | | | | | | | | | | | 273: Add a test to ensure that we can parse each file r=matklad a=DJMcNab Note that this has a non-spurious failure in ra_analysis/src/mock_analysis. Probably fixes #195. If my understanding is correct, fixes #214 and fixes #225. Co-authored-by: DJMcNab <[email protected]>
| * Add tests and only traverse in the crates directoryDJMcNab2018-12-197-94/+185
| |
| * Move is_block to lower in the call treeDJMcNab2018-12-194-115/+104
| |
| * Revert "Revert to f6f7c5"DJMcNab2018-12-193-22/+36
| | | | | | | | | | | | This approach is correct, but it needs an addition to Restrictions too This reverts commit ad00d0c8a5f64142e6636e8b048204c8f8982f4a.
| * Fix handling of structs in match armsDJMcNab2018-12-191-1/+1
| |
| * Revert to f6f7c5DJMcNab2018-12-193-36/+22
| |
| * Fix expression parsing by bailing out upon a macro block being foundDJMcNab2018-12-192-17/+12
| | | | | | | | | | | | TODO: Fix this when the block like macro is in expression position E.g. `test(test!{})` currently parses
| * Possibly fix #225DJMcNab2018-12-192-21/+40
| |
| * Actually fix at_ts doc comment (committed wrong file :P)DJMcNab2018-12-191-1/+1
| |
| * Fix at_ts doc commentDJMcNab2018-12-191-1/+1
| |
| * Fix parsing of inclusive ranges (#214)DJMcNab2018-12-196-37/+158
| | | | | | | | I'm not certain that this is correct, so extra eyes would be good
| * Add a test to ensure that we can parse each fileDJMcNab2018-12-191-2/+43
| | | | | | | | Note that this has a non-spurious failure in ra_analysis/src/mock_analysis
* | File module source does not depend on syntaxAleksey Kladov2018-12-186-17/+21
| |
* | disable gc for nowAleksey Kladov2018-12-181-1/+5
| |
* | Gc syntax trees after every modificationAleksey Kladov2018-12-182-8/+17
| |
* | Work around a bugAleksey Kladov2018-12-181-4/+7
| | | | | | | | cc #288
* | move thread worker to a separate crateAleksey Kladov2018-12-188-46/+52
| |
* | By default, log only to stderr, and not to disk.Andrew Chin2018-12-171-5/+5
|/ | | | | | | This fixes a common problem when running under VS Code, the user doesn't have permissions to create a `log` directory in the CWD. The old behavior can be re-enabled by setting RA_INTERNAL_MODE=1
* Fixed cast expression parsing in ra_syntax.Roland Ruckerbauer2018-12-174-15/+66
| | | | | | | | | | | | | | | | | | | | | | The cast expression expected any type via types::type_() function, but the language spec does only allow TypeNoBounds (types without direct extra bounds via `+`). **Example:** ```rust fn test() { 6i8 as i32 + 5; } ``` This fails, because the types::type_() function which should parse the type after the as keyword is greedy, and takes all plus sign after path types as extra. My proposed fix is to replace the not implemented `type_no_plus()` just calls (`type_()`) function, which is used at several places. The replacement is `type_with_bounds_cond(p: &mut Parser, allow_bounds: bool)`, which passes the condition to relevant sub-parsers. This function is then called by `type_()` and the new public `type_no_bounds()`.
* fix installation on windowsAleksey Kladov2018-12-171-1/+2
|
* rename Edit to TextEdit and AtomEdit to AtomTextEditBernardo2018-12-1111-87/+92
|
* extract AtomEdit and Edit into new ra_text_edit crateBernardo2018-12-1018-40/+69
|
* use \b as word boundaryBernardo2018-12-091-2/+30
|
* Merge #271bors[bot]2018-12-094-9/+68
|\ | | | | | | | | | | | | | | | | | | 271: Implement format hook r=matklad a=DJMcNab Tentatively: fixes #155. However, this does add all changes in staged files, which might not be desirable. However, I think we can't solve that without explicit support in rustfmt for it, so it should be fine. Co-authored-by: DJMcNab <[email protected]>
| * Reimplement format-hook using a rust binaryDJMcNab2018-12-092-22/+47
| |
| * Update hook to not add unstaged filesDJMcNab2018-12-091-1/+3
| |
| * Implement and test format hookDJMcNab2018-12-093-8/+40
| |
* | Answer canceled requestsAleksey Kladov2018-12-091-1/+8
| |
* | verbose assertions in SourceFileItemsAleksey Kladov2018-12-091-6/+15
| |
* | resolve extern crates propertlyAleksey Kladov2018-12-094-51/+98
| |
* | move tests to separate fileAleksey Kladov2018-12-092-97/+95
| |
* | WIP: resolve across cratesAleksey Kladov2018-12-091-14/+41
| |
* | make resolver fields privateAleksey Kladov2018-12-092-12/+22
| |
* | return dependencies with namesAleksey Kladov2018-12-092-6/+17
| |
* | thread info about dep namesAleksey Kladov2018-12-093-12/+24
| |
* | more crate boilerplateAleksey Kladov2018-12-094-12/+54
| |
* | hir::Crate boilerplateAleksey Kladov2018-12-092-2/+21
| |
* | propagate deps to CrateGraphAleksey Kladov2018-12-093-14/+43
| |
* | track deps in project modelAleksey Kladov2018-12-091-0/+10
| |
* | Check Fileid in SourceFileMapAleksey Kladov2018-12-095-7/+23
| |
* | switch threadpool back from rayon to threadpoolAleksey Kladov2018-12-092-9/+7
|/ | | | | rayon does not replenish the pool when the thread panics, but we must be reselient to bugs.
* Merge #267bors[bot]2018-12-092-8/+2
|\ | | | | | | | | | | | | | | 267: Fix the extend keybinding r=DJMcNab a=DJMcNab Make the extend selection keybinding less annoying for users not used to Injelli-J (myself included). Also fixes a minor style issue and runs `npm update`. Co-authored-by: DJMcNab <[email protected]>
| * Fix cargo format component name and run rustfmtDJMcNab2018-12-092-8/+2
| |
| * Add package command and upgrade event-streamDJMcNab2018-12-081-1/+1
| |
* | find next whitespace or begining or endBernardo2018-12-081-3/+3
| |
* | Merge #265bors[bot]2018-12-084-24/+59
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 265: Refactor symbol resolve API r=matklad a=matklad Introduce ReferenceResolution to avoid nesting to many non-nominal types. Co-authored-by: Aleksey Kladov <[email protected]>