Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Move navigation_target to display/navigation_target | Ville Penttinen | 2019-04-09 | 4 | -4/+6 | |
| | | ||||||
* | | Move completion label functions to display | Ville Penttinen | 2019-04-09 | 4 | -31/+32 | |
| | | ||||||
* | | Add FunctionSignature::from_hir | Ville Penttinen | 2019-04-09 | 2 | -6/+11 | |
| | | ||||||
* | | Normalize line-endings in display.rs | Ville Penttinen | 2019-04-09 | 1 | -112/+112 | |
| | | | | | | | | This changes from CRLF to LF | |||||
* | | Move FunctionSignature creation to display | Ville Penttinen | 2019-04-09 | 3 | -50/+54 | |
| | | ||||||
* | | Add no parameter test to call_info | Ville Penttinen | 2019-04-09 | 1 | -0/+19 | |
| | | ||||||
* | | Move FunctionSignature to display, remove write_joined | Ville Penttinen | 2019-04-09 | 2 | -49/+36 | |
| | | | | | | | | | | write_joined is replaced with `join_to_string::join` which provides the necessary functionality. | |||||
* | | Move test specific things | Ville Penttinen | 2019-04-09 | 2 | -16/+11 | |
| | | ||||||
* | | Update test snapshots | Ville Penttinen | 2019-04-09 | 2 | -10/+10 | |
| | | ||||||
* | | Refactor CallInfo function signatures to new FunctionSignature type | Ville Penttinen | 2019-04-09 | 8 | -69/+210 | |
| | | | | | | | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well. | |||||
* | | migrate to untyped rowan | Aleksey Kladov | 2019-04-09 | 9 | -155/+189 | |
|/ | ||||||
* | Merge #1105 | bors[bot] | 2019-04-08 | 8 | -231/+683 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1105: [WIP] Implement ra_mbe meta variables support r=matklad a=edwin0cheng This PR implements the following meta variable support in `ra_mba` crate (issue #720): - [x] `path` - [ ] `expr` - [ ] `ty` - [ ] `pat` - [ ] `stmt` - [ ] `block` - [ ] `meta` - [ ] `item` *Implementation Details* In the macro expanding lhs phase, if we see a meta variable type, we try to create a `tt:TokenTree` from the remaining input. And then we use a special set of `ra_parser` to parse it to `SyntaxNode`. Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Refactoring and add some docs | Edwin Cheng | 2019-04-08 | 2 | -83/+106 | |
| | | ||||||
| * | Fixed infintite loop bug | Edwin Cheng | 2019-04-08 | 1 | -30/+4 | |
| | | ||||||
| * | Fixed empty node bug | Edwin Cheng | 2019-04-08 | 1 | -10/+49 | |
| | | ||||||
| * | Use SubtreeWalker instread of flatten TtToken | Edwin Cheng | 2019-04-08 | 4 | -258/+421 | |
| | | ||||||
| * | Combine all tokensource to one and refactoring | Edwin Cheng | 2019-04-07 | 5 | -86/+94 | |
| | | ||||||
| * | Refactoring subtree_source | Edwin Cheng | 2019-04-07 | 4 | -364/+386 | |
| | | ||||||
| * | Add TtCursorTokenSource and TtCursorTokenSink | Edwin Cheng | 2019-04-06 | 4 | -24/+216 | |
| | | ||||||
| * | Add path test and empty eat_path handling | Edwin Cheng | 2019-04-06 | 3 | -0/+31 | |
| | | ||||||
* | | Avoid two-phase borrow conflict | Laurențiu Nicola | 2019-04-08 | 1 | -2/+2 | |
| | | ||||||
* | | updated snapshots | Lenard Pratt | 2019-04-07 | 6 | -77/+44 | |
| | | ||||||
* | | Added ArrayExprKind, | Lenard Pratt | 2019-04-07 | 5 | -31/+76 | |
| | | | | | | | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr | |||||
* | | Added inference of array length | Lenard Pratt | 2019-04-07 | 6 | -5/+62 | |
| | | ||||||
* | | Merge #1119 | bors[bot] | 2019-04-07 | 1 | -6/+10 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1119: Add warning when open file outside workspace r=matklad a=edwin0cheng When file is not found in `ra_vfs` but exist, use `LspError` for warning instead of `error_fmt` to bail out error, Temporarily fix #967 . edit: typo Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | Remove checking file exists | Edwin Cheng | 2019-04-07 | 1 | -13/+6 | |
| | | | ||||||
| * | | fix formatting | Edwin Cheng | 2019-04-07 | 1 | -1/+2 | |
| | | | ||||||
| * | | Add warning when open file outside workspace | Edwin Cheng | 2019-04-06 | 1 | -5/+15 | |
| |/ | ||||||
* | | Rudimentarily autocomplete tuple struct field access | robojumper | 2019-04-06 | 2 | -0/+38 | |
| | | ||||||
* | | Parse and infer tuple indices | robojumper | 2019-04-06 | 13 | -14/+210 | |
|/ | ||||||
* | Add proper test for literals and fixed typo bug | Edwin Cheng | 2019-04-05 | 3 | -5/+51 | |
| | ||||||
* | Add classify_literal and undo expose next_token | Edwin Cheng | 2019-04-05 | 5 | -8/+15 | |
| | ||||||
* | Fix literal support in token tree to ast item list | Edwin Cheng | 2019-04-05 | 4 | -4/+45 | |
| | ||||||
* | Clean up | Edwin Cheng | 2019-04-04 | 1 | -29/+29 | |
| | ||||||
* | Add multi-byte token support in tkn tree to ast | Edwin Cheng | 2019-04-04 | 2 | -20/+138 | |
| | ||||||
* | Make robust about target directory | pcpthm | 2019-04-04 | 1 | -4/+1 | |
| | ||||||
* | Merge #1106 | bors[bot] | 2019-04-04 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | 1106: :arrow_up: salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | :arrow_up: salsa | Aleksey Kladov | 2019-04-04 | 1 | -1/+1 | |
| | | ||||||
* | | Merge #1101 | bors[bot] | 2019-04-03 | 5 | -6/+95 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1101: Parse unsafe async / const unsafe fns properly r=matklad a=robojumper Also adds tests that `unsafe async fn` as well as `const unsafe fn` parse properly and that these keywords in the reversed order cause parse errors. [Playground link to verify that this is the correct order.](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=7850b8d92579de31c38f835f76afa4ce) Closes #1086. Co-authored-by: robojumper <[email protected]> | |||||
| * | | Parse unsafe async / const unsafe fns properly | robojumper | 2019-04-03 | 5 | -6/+95 | |
| | | | ||||||
* | | | Merge #1098 | bors[bot] | 2019-04-03 | 1 | -1/+46 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 1098: added some docs to public functions r=matklad a=pasa some docs for #961 Co-authored-by: Sergey Parilin <[email protected]> | |||||
| * | | added some docs to public functions | Sergey Parilin | 2019-04-03 | 1 | -1/+46 | |
| | | | ||||||
* | | | Merge #1068 | bors[bot] | 2019-04-03 | 9 | -10/+183 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1068: profiling crate first draft r=matklad a=pasa I've made this first draft for #961 Could you look at it? Is this something what you are looking for? It has lack of tests. I can't figure out how to test stderr output in rust right now. Do you have some clues? Additionally I'm thinking about to implement procedural macros to annotate methods with this profiler. Will it be helpful? Co-authored-by: Sergey Parilin <[email protected]> | |||||
| * | | Merge remote-tracking branch 'upstream/master' into issue961_profiling | Sergey Parilin | 2019-04-02 | 49 | -1097/+1873 | |
| |\ \ | ||||||
| * | | | PR issuse resolved | Sergey Parilin | 2019-04-02 | 8 | -10/+27 | |
| | | | | ||||||
| * | | | some PR issues fixed | Sergey Parilin | 2019-03-29 | 1 | -82/+68 | |
| | | | | ||||||
| * | | | profiling crate first draft | Sergey Parilin | 2019-03-27 | 2 | -0/+170 | |
| | | | | ||||||
* | | | | Merge #1076 | bors[bot] | 2019-04-02 | 10 | -49/+231 | |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]> | |||||
| * | | | made ExprCollector pub(crate) and moved | Lenard Pratt | 2019-04-02 | 2 | -14/+11 | |
| | | | | | | | | | | | | | | | | collect_fn_body_syntax | |||||
| * | | | Added const bodies and static body to the ast | Lenard Pratt | 2019-04-02 | 10 | -91/+180 | |
| | | | | | | | | | | | | | | | | | | | | | | | | and added inference the inference test reduce code duplication |