Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tighten visibility | Aleksey Kladov | 2019-02-20 | 1 | -3/+3 | |
| | ||||||
* | move all parsing related bits to a separate module | Aleksey Kladov | 2019-02-20 | 31 | -47/+78 | |
| | ||||||
* | slightly better name | Aleksey Kladov | 2019-02-20 | 3 | -12/+20 | |
| | ||||||
* | make stuff private | Aleksey Kladov | 2019-02-20 | 1 | -2/+2 | |
| | ||||||
* | remove ignored macro tests | Aleksey Kladov | 2019-02-19 | 4 | -50/+3 | |
| | | | | | we need to significantly reengineer macros, so the tests as they exist are useless | |||||
* | remove local-vfs | Aleksey Kladov | 2019-02-18 | 5 | -930/+0 | |
| | ||||||
* | switch to crates.io vfs | Aleksey Kladov | 2019-02-18 | 2 | -2/+2 | |
| | ||||||
* | better comments | Aleksey Kladov | 2019-02-18 | 1 | -2/+8 | |
| | ||||||
* | drop dependency on thread_worker | Aleksey Kladov | 2019-02-18 | 3 | -66/+99 | |
| | ||||||
* | drop unused extern crate | Aleksey Kladov | 2019-02-18 | 1 | -1/+0 | |
| | ||||||
* | hide TaskResult from the public API | Aleksey Kladov | 2019-02-18 | 2 | -15/+28 | |
| | ||||||
* | move public API to top of the file | Aleksey Kladov | 2019-02-18 | 1 | -8/+8 | |
| | ||||||
* | remove depedency on ra_arena | Aleksey Kladov | 2019-02-18 | 2 | -18/+23 | |
| | ||||||
* | remove arena from Roots | Aleksey Kladov | 2019-02-18 | 2 | -16/+18 | |
| | | | | | we want to move ra_vfs to a new repo, so having fewer deps is useful. Arena is a thin layer of sugar on top of Vec anyway. | |||||
* | remove useless Arc | Aleksey Kladov | 2019-02-18 | 1 | -5/+2 | |
| | ||||||
* | drop unused deps | Aleksey Kladov | 2019-02-18 | 1 | -3/+0 | |
| | ||||||
* | Merge #854 | bors[bot] | 2019-02-18 | 59 | -433/+522 | |
|\ | | | | | | | | | | | | | | | 854: more compact edits in insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | more compact edits in insta | Aleksey Kladov | 2019-02-18 | 55 | -1161/+339 | |
| | | ||||||
| * | Don't use additional_text_edits API internally | Aleksey Kladov | 2019-02-18 | 57 | -384/+1300 | |
| | | ||||||
| * | More orthogonal method naming | Aleksey Kladov | 2019-02-18 | 4 | -9/+4 | |
| | | ||||||
* | | Merge #852 | bors[bot] | 2019-02-18 | 4 | -35/+44 | |
|\ \ | |/ |/| | | | | | | | | | | | 852: Handle != r=flodiebold a=matklad r? @flodiebold Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | handle != operator | Aleksey Kladov | 2019-02-18 | 4 | -35/+44 | |
| | | ||||||
* | | More compact debug representation for completion | Aleksey Kladov | 2019-02-18 | 55 | -1883/+610 | |
| | | ||||||
* | | Merge #850 | bors[bot] | 2019-02-18 | 5 | -37/+95 | |
|\ \ | |/ |/| | | | | | | | | | | | 850: Handle tuple structs / enum variants properly in type inference r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | Handle tuple structs / enum variants properly in type inference | Florian Diebold | 2019-02-17 | 5 | -37/+95 | |
| | | ||||||
* | | Enable parsing attributes for generic lifetimes and type parameters | Ville Penttinen | 2019-02-17 | 5 | -9/+85 | |
|/ | ||||||
* | Merge #849 | bors[bot] | 2019-02-17 | 3 | -6/+42 | |
|\ | | | | | | | | | | | | | | | 849: Don't render `()` in calls to assoc functions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Don't render `()` in calls to assoc functions | Aleksey Kladov | 2019-02-17 | 3 | -6/+42 | |
| | | ||||||
* | | Merge #846 | bors[bot] | 2019-02-17 | 13 | -1/+572 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 846: WIP: Enable parsing of attributes inside a match block r=matklad a=vipentti We allow invalid inner attributes to be parsed, e.g. inner attributes that are not directly after the opening brace of the match block. Instead we run validation on `MatchArmList` to allow better reporting of errors. This fixes #845 and works towards #759 Co-authored-by: Ville Penttinen <[email protected]> | |||||
| * | | Remove match_armlist validator | Ville Penttinen | 2019-02-17 | 2 | -30/+0 | |
| | | | ||||||
| * | | Parse only outer_attributes for match arms for now | Ville Penttinen | 2019-02-17 | 3 | -47/+60 | |
| | | | ||||||
| * | | Enable parsing of attributes inside a match block | Ville Penttinen | 2019-02-17 | 16 | -1/+589 | |
| |/ | | | | | | | | | | | | | We allow invalid inner attributes to be parsed, e.g. inner attributes that are not directly after the opening brace of the match block. Instead we run validation on `MatchArmList` to allow better reporting of errors. | |||||
* | | Merge #847 | bors[bot] | 2019-02-17 | 4 | -195/+201 | |
|\ \ | |/ |/| | | | | | | | | | | | 847: Refactor vfs r=matklad a=matklad Some slight refctorings of VFS, in preparation for moving it to a separate repo Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | marginally better names | Aleksey Kladov | 2019-02-17 | 1 | -19/+24 | |
| | | ||||||
| * | fix-tests | Aleksey Kladov | 2019-02-17 | 1 | -4/+4 | |
| | | ||||||
| * | remove overlay removes overlay | Aleksey Kladov | 2019-02-17 | 1 | -4/+4 | |
| | | ||||||
| * | simplify overlay handling | Aleksey Kladov | 2019-02-17 | 1 | -16/+8 | |
| | | ||||||
| * | simplify | Aleksey Kladov | 2019-02-17 | 1 | -39/+33 | |
| | | ||||||
| * | rename method | Aleksey Kladov | 2019-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | remove duplicated method | Aleksey Kladov | 2019-02-17 | 1 | -7/+0 | |
| | | ||||||
| * | hide root config | Aleksey Kladov | 2019-02-17 | 3 | -81/+89 | |
| | | ||||||
| * | move roots to a module | Aleksey Kladov | 2019-02-17 | 2 | -98/+112 | |
| | | ||||||
* | | Merge #844 | bors[bot] | 2019-02-17 | 6 | -48/+127 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 844: Refactor find_all_refs to return ReferenceSearchResult r=vipentti a=vipentti This refactors `find_all_refs` to return a new `ReferenceSearchResult` based on feedback in #839. There are few questions/notes regarding the refactor: 1. Introducing `NavigationTarget::from_bind_pat` this simply forwards the call to `NavigationTarget::from_named`, could we just expose `from_named` directly as `pub(crate)` ? 2. Added an utility method `NavigationTarget::range` since there were few places where you would use `self.focus_range.unwrap_or(self.full_range)` 3. Implementing `IntoIterator` for `ReferenceSearchResult`. This turns `ReferenceSearchResult` into an iterator over `FileRanges` and allows previous code to mostly stay as it was based on the order that `find_all_refs` previously had (declaration first and then the references). I'm not sure if there is a way of doing the conversion to `IntoIter` without the allocation of a new vector 4. Is it possible to have a binding without a name? I'm not sure if the `NavigationTarget::from_bind_pat` can cause some edge-cases that previously were ok This fixes #835. Co-authored-by: Ville Penttinen <[email protected]> | |||||
| * | Remove leading :: | Ville Penttinen | 2019-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | Refactor find_all_refs to return ReferenceSearchResult | Ville Penttinen | 2019-02-17 | 6 | -48/+127 | |
| | | ||||||
* | | Make GenericArgs::from_ast pub(crate) | Florian Diebold | 2019-02-17 | 1 | -1/+1 | |
| | | ||||||
* | | Unify with the autorefed/autoderefed receiver type during method resolution | Florian Diebold | 2019-02-17 | 5 | -13/+55 | |
| | | ||||||
* | | Handle generic args for method calls | Florian Diebold | 2019-02-16 | 6 | -11/+50 | |
| | | ||||||
* | | Handle impl generics in method calls | Florian Diebold | 2019-02-16 | 7 | -77/+122 | |
| | | ||||||
* | | Resolve impl generic params | Florian Diebold | 2019-02-16 | 1 | -1/+3 | |
| | |