Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #1360 | bors[bot] | 2019-06-01 | 6 | -9/+55 |
|\ | | | | | | | | | | | | | | | | | | | 1360: Improve goto definition for MBE r=matklad a=edwin0cheng This PR improve the macro resolution for goto definition and expression macro invocation by using proper path resolution for external macros. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Improve goto definition for MBE | Edwin Cheng | 2019-06-01 | 6 | -9/+55 |
| | | |||||
* | | Merge #1359 | bors[bot] | 2019-06-01 | 2 | -3/+5 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1359: don't poison mutex around chalk r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | don't poison mutex around chalk | Aleksey Kladov | 2019-06-01 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We use panics for cancellation, so we could trigger panic while holding the solver. std::sync::Mutex will be poisoned as a result, which and all further attempts to use solver (from other threads) will panic as well. This commit switches to parking_lot::Mutex which just unlocks on panic. | ||||
* | | | apply profile filter to top-level entries only | Aleksey Kladov | 2019-06-01 | 1 | -7/+6 |
| | | | |||||
* | | | rename | Aleksey Kladov | 2019-06-01 | 6 | -80/+86 |
| | | | |||||
* | | | move subs inside | Aleksey Kladov | 2019-06-01 | 1 | -4/+2 |
|/ / | |||||
* | | use sync queries for join lines and friends | Aleksey Kladov | 2019-05-31 | 1 | -5/+11 |
| | | |||||
* | | add sync requests | Aleksey Kladov | 2019-05-31 | 2 | -43/+56 |
| | | |||||
* | | cleanup | Aleksey Kladov | 2019-05-31 | 1 | -39/+42 |
| | | |||||
* | | cleanup | Aleksey Kladov | 2019-05-31 | 1 | -35/+48 |
| | | |||||
* | | simplify | Aleksey Kladov | 2019-05-31 | 1 | -51/+52 |
| | | |||||
* | | move completed requests to a separate file | Aleksey Kladov | 2019-05-31 | 5 | -80/+114 |
| | | |||||
* | | simplify | Aleksey Kladov | 2019-05-31 | 1 | -3/+3 |
| | | |||||
* | | introduce constant | Aleksey Kladov | 2019-05-31 | 1 | -7/+13 |
| | | |||||
* | | minor | Aleksey Kladov | 2019-05-31 | 1 | -1/+1 |
|/ | |||||
* | Sort hover results in tests | Laurențiu Nicola | 2019-05-30 | 1 | -2/+8 |
| | |||||
* | update ra_ide_api to use builtins | Aleksey Kladov | 2019-05-30 | 8 | -55/+82 |
| | |||||
* | add tests for primitive types | Aleksey Kladov | 2019-05-30 | 5 | -30/+44 |
| | |||||
* | add built-in types to scopes | Aleksey Kladov | 2019-05-30 | 6 | -24/+48 |
| | |||||
* | add list of builtin types | Aleksey Kladov | 2019-05-30 | 2 | -3/+29 |
| | |||||
* | add ModuleDef::BuiltInType | Aleksey Kladov | 2019-05-30 | 5 | -10/+61 |
| | |||||
* | switch to upstream salsa | Aleksey Kladov | 2019-05-30 | 1 | -1/+1 |
| | |||||
* | :arrow_up: parking_lot | Aleksey Kladov | 2019-05-30 | 5 | -5/+2 |
| | |||||
* | cancel salsa's validation | Aleksey Kladov | 2019-05-30 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | This small fix should improve rust-analyzer resopnsivness for real-time operations like onEnter handling. Turns out, salsa's validation can take hundreds of milliseconds, and, in case no changes were made, it won't be triggering any queries. Because we check for cancellation in queries, that means that validation is not cancellable! What this PR does is injecting check_canceled checks into validation, by using salsa's event API, which wasn't meant to be used like this, but, hey, it works! Here's the onEnter handling before and after this change: https://youtu.be/7-ffPzgvH7o | ||||
* | Merge #1346 | bors[bot] | 2019-05-29 | 5 | -2/+5 |
|\ | | | | | | | | | | | | | | | 1346: bump timeout for CI r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | bump timeout for CI | Aleksey Kladov | 2019-05-29 | 1 | -1/+1 |
| | | |||||
| * | add cacellation checks to expensive queries | Aleksey Kladov | 2019-05-29 | 3 | -0/+3 |
| | | |||||
| * | less noisy status | Aleksey Kladov | 2019-05-29 | 1 | -1/+1 |
| | | |||||
* | | Highlight primitive types | Laurențiu Nicola | 2019-05-29 | 2 | -42/+55 |
|/ | |||||
* | optimization: cancel backlog in onEnter | Aleksey Kladov | 2019-05-29 | 2 | -3/+16 |
| | |||||
* | add latest requests to status page | Aleksey Kladov | 2019-05-29 | 3 | -12/+67 |
| | |||||
* | log the actual time of requests | Aleksey Kladov | 2019-05-29 | 1 | -16/+31 |
| | |||||
* | trigger garbage collection *after* requests, not before | Aleksey Kladov | 2019-05-29 | 1 | -2/+5 |
| | |||||
* | more perf logging | Aleksey Kladov | 2019-05-29 | 1 | -3/+8 |
| | |||||
* | silnce profiling in tests | Aleksey Kladov | 2019-05-29 | 1 | -1/+2 |
| | |||||
* | flip Into to From | Aleksey Kladov | 2019-05-29 | 1 | -6/+6 |
| | |||||
* | show error offsets in tests | Aleksey Kladov | 2019-05-29 | 46 | -290/+299 |
| | |||||
* | Merge #1337 | bors[bot] | 2019-05-29 | 89 | -687/+705 |
|\ | | | | | | | | | | | | | | | 1337: Move syntax errors our of syntax tree r=matklad a=matklad I am not really sure if it's a good idea, but `SyntaxError` do not really belong to a `SyntaxTree`. So let's just store them on the side? Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | fix todo | Aleksey Kladov | 2019-05-28 | 1 | -3/+0 |
| | | |||||
| * | fix typos in mbe tests | Aleksey Kladov | 2019-05-28 | 29 | -91/+92 |
| | | |||||
| * | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 7 | -121/+137 |
| | | |||||
| * | move mbe to the new API | Aleksey Kladov | 2019-05-28 | 3 | -73/+73 |
| | | |||||
| * | remove old parsing methods | Aleksey Kladov | 2019-05-28 | 7 | -62/+54 |
| | | |||||
| * | update test data | Aleksey Kladov | 2019-05-28 | 45 | -289/+290 |
| | | |||||
| * | update tests | Aleksey Kladov | 2019-05-28 | 4 | -47/+36 |
| | | |||||
| * | drop error from SOurceFile constructor | Aleksey Kladov | 2019-05-28 | 2 | -5/+5 |
| | | |||||
| * | return errors from tree builder | Aleksey Kladov | 2019-05-28 | 2 | -5/+6 |
| | | |||||
| * | drop errors from SyntaxNode | Aleksey Kladov | 2019-05-28 | 2 | -9/+6 |
| | | |||||
| * | add Parse | Aleksey Kladov | 2019-05-28 | 1 | -2/+26 |
| | |