aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Remove ptrace noteVeetaha2020-02-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add more verbose descriptionVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add the articleVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Reworded abitVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add an articleVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Migrate from 'npm i' to 'npm install'Veetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Make Rust Great AgainVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Apply better wording as per lnicolaVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add the articleVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | docs: fix typoVeetaha2020-02-161-1/+1
| | | | | | | |
| * | | | | | | docs: update debugging.md with the freshest VSCode debugging informationVeetaha2020-02-161-18/+43
| | | | | | | |
| * | | | | | | docs: remove obsolescence notice in debugging.mdVeetaha2020-02-161-2/+0
| |/ / / / / /
* | | | | | | Merge #3179bors[bot]2020-02-174-80/+130
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3179: Introduce AsMacroCall trait r=matklad a=edwin0cheng This PR introduce `AsMacroCall` trait to help convert `ast::MacroCall` to `MacroCallId`. The main goal here is to centralize various conversions to single place and make implementing eager macro calls without further ado. ```rust pub trait AsMacroCall { fn as_call_id( &self, db: &(impl db::DefDatabase + AstDatabase), resolver: impl Fn(path::ModPath) -> Option<MacroDefId>, ) -> Option<MacroCallId>; } ``` Co-authored-by: Edwin Cheng <[email protected]>
| * | | | | | Introduce AsMacroCall traitEdwin Cheng2020-02-174-80/+130
| | | | | | |
* | | | | | | Merge #3175bors[bot]2020-02-161-10/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3175: vscode: skip node internals while debugging r=matklad a=Veetaha Before: ![without-skip-files](https://user-images.githubusercontent.com/36276403/74610221-de9aff00-50f9-11ea-81bb-73dce8ca7acc.gif) After: ![with-skip-files](https://user-images.githubusercontent.com/36276403/74610222-e22e8600-50f9-11ea-980b-e8d098ee82b4.gif) Co-authored-by: Veetaha <[email protected]>
| * | | | | | | vscode: apply lnicolas amendments to comments in launch.jsonVeetaha2020-02-161-7/+8
| | | | | | | |
| * | | | | | | vscode: remove extra comment loneVeetaha2020-02-161-1/+0
| | | | | | | |
| * | | | | | | vscode: skip node internals while debuggingVeetaha2020-02-161-5/+11
|/ / / / / / /
* | | | | | | Merge #3174bors[bot]2020-02-161-1/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3174: Added description and disable-extensions r=matklad a=Fihtangolz Co-authored-by: Dmitry <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | Apply suggestions from code reviewAleksey Kladov2020-02-161-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Merge remote-tracking branch 'origin/master'Dmitry2020-02-1647-1263/+1415
| |\ \ \ \ \ \ \
| * | | | | | | | Added short description and disable-extensions Dmitry2020-02-161-1/+16
| | | | | | | | |
* | | | | | | | | Merge #3173bors[bot]2020-02-161-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3173: vscode: fix stupid mistake of mine r=matklad a=Veetaha Shame on me... Fixes #3056 Co-authored-by: Veetaha <[email protected]>
| * | | | | | | | | vscode: fix stupid mistakeVeetaha2020-02-161-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge #3172bors[bot]2020-02-162-32/+54
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3172: 1-based columns r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | | 1-based columnsAleksey Kladov2020-02-161-1/+1
| | | | | | | | | |
| * | | | | | | | | Support goto def in bencesAleksey Kladov2020-02-162-13/+29
| | | | | | | | | |
| * | | | | | | | | Refactor arg parsingAleksey Kladov2020-02-161-11/+8
| | | | | | | | | |
| * | | | | | | | | Refactor position parsingAleksey Kladov2020-02-162-19/+28
| | | | | | | | | |
* | | | | | | | | | Merge #3171bors[bot]2020-02-163-6/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3171: Enable profiling for bench r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | | Enable profiling for benchAleksey Kladov2020-02-163-6/+10
|/ / / / / / / / /
* | | | | | | | | Merge #3170bors[bot]2020-02-163-0/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3170: Add module colors to css r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | | Add module colors to cssAleksey Kladov2020-02-163-0/+3
| |/ / / / / / / /
* | | | | | | | | Merge #3168bors[bot]2020-02-161-6/+6
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3168: vscode: update exclusiveMinimum validation according to JSONSchemaV4 r=Veetaha a=Veetaha It seems that vscode uses 4+ version of json schema where `exclusiveMinimum` [was changed to be a boolean](http://json-schema.org/understanding-json-schema/reference/numeric.html#7f93d6925e80_Draft%204) Co-authored-by: Veetaha <[email protected]>
| * | | | | | | | vscode: added minimum bound for lruCapacity optionVeetaha2020-02-161-0/+2
| | | | | | | | |
| * | | | | | | | vscode: fix all integer -> number and add nullablitiy to maxInlayHintLengthVeetaha2020-02-161-5/+2
| | | | | | | | |
| * | | | | | | | vscode: update exclusiveMinimum validation according to JSONSchemaV4 specsVeetaha2020-02-161-1/+2
|/ / / / / / / /
* | | | | | | | Merge #3165bors[bot]2020-02-162-0/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3165: Fix coercion of &T to itself r=matklad a=flodiebold The autoderef coercion logic did not handle matching placeholders. This led to some type mismatches. Co-authored-by: Florian Diebold <[email protected]>
| * | | | | | | | Fix coercion of &T to itselfFlorian Diebold2020-02-162-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autoderef coercion logic did not handle matching placeholders. This led to some type mismatches.
* | | | | | | | | Merge #3162bors[bot]2020-02-169-108/+179
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3162: Feature: vscode always downloads only the matching ra_lsp_server version r=matklad a=Veetaha I tried to separate logically connected changes into separate commits, so enjoy! Now TypeScript extension saves installed binary version in global state and always checks that the installed binary version equals the version of the TypeScript extension itself (to prevent version drifts). Also, changed `fetchLatestArtifactReleaseInfo()` to `fetchArtifactReleaseInfo()` that takes an optional release tag (when not specified fetches the latest release). The version without a release tag will be useful in the future when adding auto-checking for updates. I decided not to do `Download latest language server` command (I have stated the rationale for this in #3073) and let the extension itself decide which version of the binary it wants. This way the users will be able to get the latest `ra_lsp_server` binary after the approaching 2020-02-17 release, without having to manually delete the outdated one from `~/.config/Code/User/globalStorage/matklad.rust-analyzer`! Closes #3073 Co-authored-by: Veetaha <[email protected]>
| * | | | | | | | vscode: updated user docs vscode updates sectionVeetaha2020-02-161-4/+3
| | | | | | | | |
| * | | | | | | | vscode: save binary version when downloading and download only version that ↵Veetaha2020-02-161-96/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matches TypeScript extension version
| * | | | | | | | vscode: extract downloadArtifact() functionVeetaha2020-02-161-0/+58
| | | | | | | | |
| * | | | | | | | vscode: add release tag option to fetchArtifactReleaseInfo()Veetaha2020-02-161-5/+11
| | | | | | | | |
| * | | | | | | | vscode: add version and storage parameters to github binary sourceVeetaha2020-02-165-3/+35
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge pull request #3161 from Veetaha/feature/cicd-simplify-vsce-callAleksey Kladov2020-02-161-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | cicd: simplify vsce call
| * | | | | | | | cicd: simplify vsce callVeetaha2020-02-151-1/+1
| |/ / / / / / /
* | | | | | | | Merge #3163bors[bot]2020-02-161-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3163: vscode: fix the default value for withSysroot r=matklad a=Veetaha See [zulip](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/withSysroot.20is.20false.20.3F) cc @edwin0cheng Co-authored-by: Veetaha <[email protected]>
| * | | | | | | vscode: fix the default value for withSysrootVeetaha2020-02-161-1/+1
|/ / / / / / /
* | | | | | | Merge #3157bors[bot]2020-02-156-14/+103
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3157: Extend analysis-stats a bit r=matklad a=flodiebold This adds some tools helpful when debugging nondeterminism in analysis-stats: - a `--randomize` option that analyses everything in random order - a `-vv` option that prints even more detail Also add a debug log if Chalk fuel is exhausted (which would be a source of nondeterminism, but didn't happen in my tests). I found one source of nondeterminism (rust-lang/chalk#331), but there are still other cases remaining. Co-authored-by: Florian Diebold <[email protected]>