Aleksey Kladov
d953df319b
Simplify
2020-03-27 11:25:11 +01:00
bors[bot]
6aa18de98e
Merge #3693
...
3693: vscode: show release tag with along with the commit hash for RA version command r=matklad a=Veetaha
Co-authored-by: veetaha <veetaha2@gmail.com>
Co-authored-by: Veetaha <veetaha2@gmail.com>
2020-03-27 09:15:42 +00:00
Veetaha
51156cbf03
vscode: fix release tag retrieval
...
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-03-27 11:05:37 +02:00
veetaha
0072aa31ed
vscode: show release tag with along with the commit hash for RA version command
2020-03-27 00:38:03 +02:00
bors[bot]
d2619bf0ca
Merge #3725
...
3725: vscode: fix local devel and remove disposables memory leak on server restrart r=matklad a=Veetaha
Co-authored-by: veetaha <veetaha2@gmail.com>
2020-03-26 21:47:26 +00:00
veetaha
261ef1c455
vscode: small post-refactor
2020-03-26 23:45:01 +02:00
veetaha
e1a5e9565b
vscode: fix memory leak on server restart
...
The memory leak was because on the server restrart the array of extensionContext.substiptions was not cleared
2020-03-26 23:44:19 +02:00
veetaha
68ff71e3ab
vscode: fix local devel
...
The value of releaseTag is not undefined, but null in actual package.json
2020-03-26 23:42:40 +02:00
bors[bot]
b1594f1080
Merge #3727
...
3727: Introduce ra_proc_macro r=matklad a=edwin0cheng
This PR implemented:
1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained.
2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander.
3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process.
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-26 17:09:32 +00:00
Edwin Cheng
db162df264
Remove deps on tt_mbe
2020-03-27 00:46:40 +08:00
bors[bot]
20c110e57f
Merge #3732
...
3732: Assist: replace unwrap with match r=matklad a=unrealhoang
attempt on #3669
Co-authored-by: Unreal Hoang <unrealhoang@gmail.com>
2020-03-26 15:38:03 +00:00
Aleksey Kladov
0a8e65cf85
Merge pull request #3735 from matklad/c
...
Don't deny C for cargo audit
2020-03-26 16:34:37 +01:00
Aleksey Kladov
ee6fc4eca2
Don't deny C for cargo audit
...
It depends on openssl ;-(
2020-03-26 16:33:03 +01:00
bors[bot]
ac05571dc9
Merge #3734
...
3734: Get rid of ItemOrMacro r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-26 15:13:54 +00:00
Aleksey Kladov
db34abeb85
Get rid of ItemOrMacro
2020-03-26 16:10:01 +01:00
Unreal Hoang
d9df0f43ac
Assist: replace unwrap with match
2020-03-27 00:08:12 +09:00
bors[bot]
539e597743
Merge #3733
...
3733: Minor incremental tests cleanup r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-26 14:45:01 +00:00
Aleksey Kladov
b7aaefb5a4
Minor incremental tests cleanup
2020-03-26 15:44:31 +01:00
bors[bot]
a23b474a59
Merge #3731
...
3731: Update deps r=kjeremy a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-03-26 13:45:47 +00:00
kjeremy
49144deb1b
Update deps
2020-03-26 09:41:53 -04:00
bors[bot]
ece8fa81bb
Merge #3726
...
3726: vscode: refactor analyzer status r=matklad a=Veetaha
Co-authored-by: veetaha <veetaha2@gmail.com>
2020-03-26 09:49:12 +00:00
Aleksey Kladov
1923f7571e
Merge pull request #3729 from matklad/env
...
try pulling the env up
2020-03-26 10:46:03 +01:00
Aleksey Kladov
ef6a0417f4
Specify env once for all jobs
2020-03-26 10:31:51 +01:00
Edwin Cheng
72e68d0caf
Refactoring a bit
2020-03-26 10:49:23 +08:00
Edwin Cheng
d0b6ed4441
Add ProcMacroClient
2020-03-26 03:29:45 +08:00
veetaha
d1721021ef
vscode: refactor analyzer status
2020-03-25 21:00:04 +02:00
bors[bot]
402bf53a09
Merge #3724
...
3724: Cleanup memory usage stats r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-25 18:36:37 +00:00
Aleksey Kladov
9f53cec1da
Cleanup memory usage stats
2020-03-25 19:35:46 +01:00
Edwin Cheng
a617f24eae
Add ra_proc_macro
2020-03-26 01:30:39 +08:00
bors[bot]
3d38d4dc94
Merge #3723
...
3723: Fix typo of visibility_of r=edwin0cheng a=edwin0cheng
cc @kjeremy
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-25 16:13:06 +00:00
Edwin Cheng
07ec31813c
fix typo of visibility_of
2020-03-26 00:11:38 +08:00
bors[bot]
0f6fb0ec3b
Merge #3722
...
3722: Fix parsing lambdas with return type r=matklad a=matklad
We should eat only a single block, and not whatever larger expression
may start with a block.
closes #3721
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-25 16:01:54 +00:00
Aleksey Kladov
f6188caaa0
Fix parsing lambdas with return type
...
We should eat only a single block, and not whatever larger expression
may start with a block.
closes #3721
2020-03-25 17:01:28 +01:00
bors[bot]
a69fc23925
Merge #3718
...
3718: Fix couple of assists r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-25 14:56:52 +00:00
Aleksey Kladov
72c6fc3ff0
Fix add visibility false-positive
2020-03-25 15:55:57 +01:00
Aleksey Kladov
b3665fccfb
Preserve relative ordering of grouped assists
2020-03-25 15:45:52 +01:00
bors[bot]
785eb32f49
Merge #3717
...
3717: Always expand macros during analysis r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-25 12:53:48 +00:00
Aleksey Kladov
2ccfb49bab
Always expand macros during analysis
2020-03-25 13:53:15 +01:00
bors[bot]
8d667bb32e
Merge #3692
...
3692: Introduce `MacroDefKind::CustomDerive` r=matklad a=edwin0cheng
This PR introduce a new `MacroDefKind` `CustomDerive`. And use a new `ProcMacroExpander` for its expanding. And the expander is a dummy for now.
Related: #3654
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-25 12:25:46 +00:00
Edwin Cheng
2adc9a8d5f
Remove collect proc_macro definitions
2020-03-25 20:14:22 +08:00
Edwin Cheng
5bd3aa05d6
Fix trailling whitespace
2020-03-25 19:50:12 +08:00
Edwin Cheng
8afb445357
Rename to CustomDerive
2020-03-25 19:50:12 +08:00
Edwin Cheng
7667aa6033
Refactoring a bit
2020-03-25 19:50:12 +08:00
Edwin Cheng
519dc15cb1
Use dummy implementation
2020-03-25 19:50:12 +08:00
Edwin Cheng
34dc8d25c1
Add basic custom derive lowering
2020-03-25 19:50:12 +08:00
bors[bot]
e2dd17f75b
Merge #3714
...
3714: Use the right arch name for x86 (32 bit) r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-25 09:51:39 +00:00
Aleksey Kladov
aed535fa7a
Use the right arch name for x86 (32 bit)
2020-03-25 10:51:03 +01:00
bors[bot]
e5c07c3c9c
Merge #3713
...
3713: Remove dead code r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-25 09:14:58 +00:00
Aleksey Kladov
f7f0f33e05
Remove dead code
2020-03-25 10:09:50 +01:00
bors[bot]
8a73a8937d
Merge #3707
...
3707: Add ItemScope::visibility_of r=matklad a=edwin0cheng
~This PR implements `HasVisibility` for various constructs and change `Definition::search_scope` to use `Visibility` directly instead of depends on ad-hoc string parsing.~
This PR added `visibility_of` in `ItemScope` and `Module` and use it directly directly instead of depends on ad-hoc string parsing.
And also add a FIXME to indicate that there is a bug which do not search child-submodules in other files recursively in `Definition::search_scope`.
I will submit another PR to fix that bug after this is merged.
cc @flodiebold
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-25 08:09:26 +00:00