aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | generalize extend selection to work with nodesAleksey Kladov2018-12-313-21/+22
| | | |
* | | | Merge #165bors[bot]2018-12-318-63/+288
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 165: Make modules with tests runnable r=farodin91 a=farodin91 Fixes #154 I having problems to traverse the path to module. The main problem is that module_tree only supports `FileId` and not `Module` in files. Any idea? I need to clean up the code a bit later. Co-authored-by: Jan Jansen <[email protected]>
| * | | | Make modules with tests runnableJan Jansen2018-12-318-63/+288
| | | | | | | | | | | | | | | | | | | | Fixes #154
* | | | | Merge #393bors[bot]2018-12-313-7/+35
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 393: Add a fuzzing subcommand r=matklad a=DJMcNab Part of https://github.com/rust-analyzer/rust-analyzer/issues/61#issuecomment-450641045. Co-authored-by: DJMcNab <[email protected]>
| * | | | Add a fuzzing subcommandDJMcNab2018-12-313-7/+35
| | |/ / | |/| |
* | | | fix icons in completionAleksey Kladov2018-12-311-1/+0
| | | |
* | | | Merge #385bors[bot]2018-12-313-4/+25
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]>
| * | | Use TryConv for conversionDJMcNab2018-12-311-2/+1
| | | |
| * | | Implement DocumentHighlightDJMcNab2018-12-313-4/+26
| | | |
* | | | Merge #384bors[bot]2018-12-311-44/+33
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 384: update-deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | :arrow_up: depsAleksey Kladov2018-12-311-44/+33
|/ / /
* | | Merge #382bors[bot]2018-12-314-11/+11
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 382: Bump serde_json from 1.0.33 to 1.0.34 r=DJMcNab a=dependabot[bot] Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.33 to 1.0.34. <details> <summary>Release notes</summary> *Sourced from [serde_json's releases](https://github.com/serde-rs/json/releases).* > ## v1.0.34 > - Support serialization of i128 to Value if `"arbitrary_precision"` feature is enabled ([#506](https://github-redirect.dependabot.com/serde-rs/json/issues/506), thanks [**koushiro**](https://github.com/koushiro)) </details> <details> <summary>Commits</summary> - [`3bd0fc1`](https://github.com/serde-rs/json/commit/3bd0fc177fda6e13a493060be5a2d872394d8401) Release 1.0.34 - [`8304704`](https://github.com/serde-rs/json/commit/8304704f76f419cc79480e28b043793f7cdb9a3c) Update name of deprecated str::trim_right - [`04ff227`](https://github.com/serde-rs/json/commit/04ff22701de598992a630e3b26d719872ca59d2d) Conditionally provide impl From<i128> and From<u128> for Number - [`59d7060`](https://github.com/serde-rs/json/commit/59d706077d30a50f09b5b8d3391c31acf5ce72a2) Merge pull request [#506](https://github-redirect.dependabot.com/serde-rs/json/issues/506) from koushiro/fix_integer128_serialize - [`f3c641c`](https://github.com/serde-rs/json/commit/f3c641c228be987a5ebdba05a4553167ecf86c00) Modify test - [`f69e1ff`](https://github.com/serde-rs/json/commit/f69e1ffe3fb07e2e221ea45ec4f4935a86ca1953) Fix serialization of i128 and u128 types - [`32f1568`](https://github.com/serde-rs/json/commit/32f1568c2a280d3456c566c811680f5bd65fd7f3) Fix name of lint that was renamed in Clippy - [`7536afd`](https://github.com/serde-rs/json/commit/7536afd9f1c68b14a182b0da9b72d46b62ea0be4) Show how to use BufReader - [`e37cddd`](https://github.com/serde-rs/json/commit/e37cdddf8164fccd2fb68cf4b7e914f0dd9655d8) Add a note about buffering in from_reader - [`49e544e`](https://github.com/serde-rs/json/commit/49e544e90eafe25fc89b0839ebfa7b8095192687) Consistently apply Example and Errors headings - Additional commits viewable in [compare view](https://github.com/serde-rs/json/compare/v1.0.33...v1.0.34) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.33&new-version=1.0.34)](https://dependabot.com/compatibility-score.html?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.33&new-version=1.0.34) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <[email protected]>
| * | Bump serde_json from 1.0.33 to 1.0.34dependabot[bot]2018-12-314-11/+11
|/ / | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.33 to 1.0.34. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.33...v1.0.34) Signed-off-by: dependabot[bot] <[email protected]>
* | Merge #383bors[bot]2018-12-315-11/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 383: Bump failure from 0.1.3 to 0.1.4 r=DJMcNab a=dependabot[bot] Bumps [failure](https://github.com/rust-lang-nursery/failure) from 0.1.3 to 0.1.4. <details> <summary>Changelog</summary> *Sourced from [failure's changelog](https://github.com/rust-lang-nursery/failure/blob/master/RELEASES.md).* > # Version 0.1.4 > > - Improved error reporting of the derive feature > - Resolved a potential internal ambiguity when using the backtrace feature > that prevented backtrace from improving an upstream API. > - Changed the bounds on std error compat conversions through the From trait > to take Sync and Send into account. </details> <details> <summary>Commits</summary> - [`70b98e6`](https://github.com/rust-lang-nursery/failure/commit/70b98e653adbb16bc15d6b399db4ce952093dc65) 0.1.4 - [`937fb70`](https://github.com/rust-lang-nursery/failure/commit/937fb704a4f88362c41bafa3da612e5e1fc12d7b) Add Sync and Send as failure::Error supports them. ([#283](https://github-redirect.dependabot.com/rust-lang-nursery/failure/issues/283)) - [`15b6798`](https://github.com/rust-lang-nursery/failure/commit/15b6798695b2d4a1ed7d46d9f59ad910f473126e) Improving procmacro error reporting - [`22bfd31`](https://github.com/rust-lang-nursery/failure/commit/22bfd319a645df0e30a6e6da16757f153870e118) support trailing commas in macros ([#273](https://github-redirect.dependabot.com/rust-lang-nursery/failure/issues/273)) - [`26fc6eb`](https://github.com/rust-lang-nursery/failure/commit/26fc6eb71373da6cd21a18b6a06bd7ee437299d4) Future proof debug formatting. Fixes [#279](https://github-redirect.dependabot.com/rust-lang-nursery/failure/issues/279) - [`0f89723`](https://github.com/rust-lang-nursery/failure/commit/0f89723f1eaf3195acdb32c331e697f0b5299b0e) Reformat for latest rustfmt - [`8f8f92f`](https://github.com/rust-lang-nursery/failure/commit/8f8f92fa55e99d95a886cf54ad877f47059c7375) Update metadata to point to new docs - See full diff in [compare view](https://github.com/rust-lang-nursery/failure/compare/0.1.3...0.1.4) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=failure&package-manager=cargo&previous-version=0.1.3&new-version=0.1.4)](https://dependabot.com/compatibility-score.html?dependency-name=failure&package-manager=cargo&previous-version=0.1.3&new-version=0.1.4) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <[email protected]>
| * | Bump failure from 0.1.3 to 0.1.4dependabot[bot]2018-12-315-11/+11
|/ / | | | | | | | | | | | | | | Bumps [failure](https://github.com/rust-lang-nursery/failure) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/rust-lang-nursery/failure/releases) - [Changelog](https://github.com/rust-lang-nursery/failure/blob/master/RELEASES.md) - [Commits](https://github.com/rust-lang-nursery/failure/compare/0.1.3...0.1.4) Signed-off-by: dependabot[bot] <[email protected]>
* | Merge #381bors[bot]2018-12-312-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 381: Bump failure_derive from 0.1.3 to 0.1.4 r=DJMcNab a=dependabot[bot] Bumps [failure_derive](https://github.com/withoutboats/failure_derive) from 0.1.3 to 0.1.4. <details> <summary>Commits</summary> - See full diff in [compare view](https://github.com/withoutboats/failure_derive/commits) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=failure_derive&package-manager=cargo&previous-version=0.1.3&new-version=0.1.4)](https://dependabot.com/compatibility-score.html?dependency-name=failure_derive&package-manager=cargo&previous-version=0.1.3&new-version=0.1.4) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <[email protected]>
| * | Bump failure_derive from 0.1.3 to 0.1.4dependabot[bot]2018-12-312-5/+5
|/ / | | | | | | | | | | | | Bumps [failure_derive](https://github.com/withoutboats/failure_derive) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/withoutboats/failure_derive/releases) - [Commits](https://github.com/withoutboats/failure_derive/commits) Signed-off-by: dependabot[bot] <[email protected]>
* | Merge #380bors[bot]2018-12-304-48/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 380: no-backtrace r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | remove backtraces from CancelledAleksey Kladov2018-12-304-48/+5
|/ / | | | | | | | | Hopefully we won't need them for debugging. If we do need them, it should be easy to add back.
* | Merge #379bors[bot]2018-12-301-4/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 379: Disable incremental compilation again on CI r=DJMcNab a=DJMcNab I'm gonna let the PR build run to see if this has worked. Co-authored-by: DJMcNab <[email protected]>
| * | Disable incremental compilation again on CIDJMcNab2018-12-301-4/+1
| |/
* | Merge #375bors[bot]2018-12-304-16/+131
|\ \ | |/ |/| | | | | | | | | | | | | | | 375: Move renames into ra_analysis and rename the correct range r=DJMcNab a=DJMcNab Fixes #230. Supersedes #235. TODO: add some tests for this Co-authored-by: DJMcNab <[email protected]>
| * Test renamesDJMcNab2018-12-301-1/+92
| |
| * Move renames into ra_analysisDJMcNab2018-12-303-15/+39
| |
* | Merge #378bors[bot]2018-12-303-25/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 378: migrate-to-tempdir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: tempdirAleksey Kladov2018-12-303-25/+4
| | |
* | | Merge #377bors[bot]2018-12-3013-74/+70
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 377: update crossbeam r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: crossbeamAleksey Kladov2018-12-3010-71/+51
| | | | | | | | | | | | closes #189
| * | migrate gen-lsp-server to new crossbeamAleksey Kladov2018-12-304-10/+26
| | |
* | | Merge #376bors[bot]2018-12-302-16/+34
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 376: refine semicolon completion r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | refine semi completionAleksey Kladov2018-12-302-16/+34
|/ /
* | Merge #366bors[bot]2018-12-303-33/+51
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 366: parse minus before number literal pattern r=matklad a=csmoe r?@matklad ![unknown](https://user-images.githubusercontent.com/35686186/50547871-d5449e00-0c7d-11e9-9ff5-1031e78019de.png) Co-authored-by: csmoe <[email protected]>
| * | parse minus before number literalcsmoe2018-12-303-33/+51
| | |
* | | Merge #374bors[bot]2018-12-301-4/+33
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 374: add semi after break&continue r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | semies after break&continueAleksey Kladov2018-12-301-4/+33
| | |
* | | Merge #365bors[bot]2018-12-302-112/+278
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 365: implement struct shorthand initialization diagnostic r=matklad a=gfreezy Co-authored-by: gfreezy <[email protected]>
| * | avoid allocating an unnecessary intermediate vector & not traverse multiple ↵gfreezy2018-12-301-62/+72
| | | | | | | | | | | | times
| * | implement struct shorthand initialization diagnosticgfreezy2018-12-302-112/+268
| | |
* | | Merge #367bors[bot]2018-12-302-15/+46
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 367: add `;` to last return in block r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | add `;` to last return in blockAleksey Kladov2018-12-302-15/+46
| | | |
* | | | Merge #364bors[bot]2018-12-304-17/+39
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 364: Parens r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | don't add () in use itemsAleksey Kladov2018-12-303-10/+32
| | | |
| * | | use completion context when creating completionAleksey Kladov2018-12-303-8/+8
|/ / /
* | | remove runtime dependency on toolsAleksey Kladov2018-12-301-1/+1
| | |
* | | Merge #358bors[bot]2018-12-3011-4/+107
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 358: Add support for formatting entire document with rustfmt r=matklad a=aleksanb Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements. Part of https://github.com/rust-analyzer/rust-analyzer/issues/160. Co-authored-by: Aleksander Vognild Burkow <[email protected]>
| * | | Simplify failure bail codeAleksander Vognild Burkow2018-12-291-3/+4
| | | |
| * | | Install rustfmt in rustfmt testAleksander Vognild Burkow2018-12-294-1/+5
| | | |
| * | | Add better error message for Command failureAleksander Vognild Burkow2018-12-291-1/+4
| | | |
| * | | Document formatting capabilitiesAleksander Vognild Burkow2018-12-291-0/+2
| | | |
| * | | Add support for formatting entire document with rustfmtAleksander Vognild Burkow2018-12-296-3/+95
| | | | | | | | | | | | | | | | | | | | | | | | Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements.