aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #403bors[bot]2019-01-0222-344/+778
|\ | | | | | | | | | | | | | | 403: initial support for macros r=matklad a=matklad I'll write a more comprehensive description when this is closer to being done. Basically this investigates one question: "how do we represent code which is a result of a macro call". This is an interesting question: currently everything is `FileId` based, but macro expansion does not have a file! Co-authored-by: Aleksey Kladov <[email protected]>
| * small renameAleksey Kladov2019-01-022-3/+3
| |
| * commentsAleksey Kladov2019-01-023-12/+35
| |
| * renameAleksey Kladov2019-01-022-2/+2
| |
| * move macro id to idsAleksey Kladov2019-01-015-40/+40
| |
| * move more stuff to idsAleksey Kladov2019-01-016-185/+183
| |
| * rename MFileId -> HirFileIdAleksey Kladov2019-01-0113-99/+135
| |
| * introduce ids moduleAleksey Kladov2019-01-012-14/+34
| |
| * add tests for macro generated itemsAleksey Kladov2019-01-011-1/+83
| |
| * add items from macros to modulesAleksey Kladov2019-01-013-12/+67
| |
| * wipAleksey Kladov2019-01-012-47/+49
| |
| * fix testsAleksey Kladov2019-01-013-2/+3
| |
| * use MFileAleksey Kladov2019-01-017-30/+62
| |
| * introduce MFileIdAleksey Kladov2019-01-011-0/+7
| |
| * work towards brining macros to nameresAleksey Kladov2019-01-012-3/+16
| |
| * save top-level macros in module itemsAleksey Kladov2019-01-013-14/+18
| |
| * hard-code expansion of query_groupAleksey Kladov2019-01-012-8/+60
| |
| * fix testsAleksey Kladov2019-01-012-2/+9
| |
| * renameAleksey Kladov2019-01-014-19/+19
| |
| * move more macros to hirAleksey Kladov2019-01-018-85/+127
| |
| * use macros database in analysisAleksey Kladov2019-01-016-68/+70
| |
| * introduce MacrosDatabaseAleksey Kladov2019-01-012-0/+58
|/
* Merge #401bors[bot]2019-01-012-0/+68
|\ | | | | | | | | | | | | | | 401: complete `crate` `self` and `super` in use stmt r=matklad a=gfreezy fixed #387 Co-authored-by: gfreezy <[email protected]>
| * place complete_use_tree_keyword in the same mod with complete_expr_keywordgfreezy2019-01-013-77/+67
| |
| * move to a seperate complete_use_tree_keyword modgfreezy2019-01-013-64/+77
| |
| * complete "self" and "super"gfreezy2019-01-011-20/+44
| |
| * complete "use crate" for "use cr" toogfreezy2019-01-011-2/+14
| |
| * complete crate in use stmtgfreezy2019-01-011-0/+29
|/
* Merge #400bors[bot]2019-01-012-27/+27
|\ | | | | | | | | | | | | | | 400: updates r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * bump depsAleksey Kladov2019-01-012-27/+27
|/
* Merge #398bors[bot]2019-01-012-1/+4
|\ | | | | | | | | | | | | | | 398: Fix the same bug as #396 but for bytes too r=matklad a=DJMcNab #396 Co-authored-by: DJMcNab <[email protected]>
| * Fix the same bug as #396 but for bytes tooDJMcNab2019-01-012-1/+4
|/
* Merge #396bors[bot]2019-01-012-4/+10
|\ | | | | | | | | | | | | | | 396: Fix the `panic` found whilst fuzzing r=matklad,me a=DJMcNab This occurred when a non-ascii character was used in an ascii escape, for example in the motivating example: `if'\xɿ`, which can be further simplified to `'\xɿ`. Co-authored-by: DJMcNab <[email protected]>
| * Use an else ifDJMcNab2019-01-011-3/+2
| |
| * Fix the `panic` found whilst fuzzingDJMcNab2018-12-312-3/+10
| |
* | Merge #395bors[bot]2018-12-315-26/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | 395: generalize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | generalize highlighting to work with nodesAleksey Kladov2018-12-312-5/+5
| | |
| * | 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]>