aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* make indexing parallel againAleksey Kladov2018-10-242-4/+5
|
* revive the testAleksey Kladov2018-10-241-6/+6
|
* Merge #157bors[bot]2018-10-2310-443/+493
|\ | | | | | | | | | | | | | | | | | | | | 157: Introduce ModuleId r=matklad a=matklad Previously, module was synonym with a file, and so a module could have had several parents. This commit introduces a separate module concept, such that each module has only one parent, but a single file can correspond to different modules. Co-authored-by: Aleksey Kladov <[email protected]>
| * Introduce ModuleIdAleksey Kladov2018-10-2310-443/+493
| | | | | | | | | | | | | | Previously, module was synonym with a file, and so a module could have had several parents. This commit introduces a separate module concept, such that each module has only one parent, but a single file can correspond to different modules.
* | Merge #156bors[bot]2018-10-233-46/+46
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 156: Cargo Update run r=kjeremy a=kjeremy Bump relative-path to 0.4.0 Failure 0.1.3 to fix leak with downcast Updated everything else too Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Cargo Update runJeremy A. Kolb2018-10-233-46/+46
| | | | | | | | | | | | | | Bump relative-path to 0.4.0 Failure 0.1.3 to fix leak with downcast Updated everything else too
* | complete pub(crate)Aleksey Kladov2018-10-231-2/+8
|/
* Merge #153bors[bot]2018-10-231-6/+97
|\ | | | | | | | | | | | | | | 153: Restore folding import groups r=matklad a=aochagavia Closes #133 Co-authored-by: Adolfo OchagavĂ­a <[email protected]>
| * Restore folding import groupsAdolfo OchagavĂ­a2018-10-231-6/+97
| |
* | Merge #151bors[bot]2018-10-235-4/+25
|\ \ | |/ |/| | | | | | | | | | | 151: Add LspError to explicity return errors from LSP handlers r=matklad a=kjeremy Fixes #145 Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Add LspError to explicity return errors from LSP handlersJeremy A. Kolb2018-10-225-4/+25
| | | | | | | | Fixes #145
* | Merge #150bors[bot]2018-10-221-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 150: Add link to ferrous r=+ a=matklad @skade just took the logo from the website. Is there a more specific page we want to link to? Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add link to ferrousAleksey Kladov2018-10-221-0/+5
| |/
* | Merge #152bors[bot]2018-10-221-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 152: Fix typo r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * | Fix typoJeremy A. Kolb2018-10-221-2/+2
| |/
* | Merge #138bors[bot]2018-10-2226-68/+67
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 138: Fix some clippy lints r=matklad a=alanhdu I went ahead and fixed all the clippy lints (there were a couple I thought would be better unfixed and added `cfg` statements to allow them) and also re-enabled clippy and rustfmt in CI. They were disabled with `no time to explain, disable clippy checks`, so hopefully this won't go against whatever the reason at the time was :laughing:. One question about the CI though: right now, it's an allowed failure that runs against the latest nightly each time. Would it be better to pin it to a specific nightly (or use the `beta` versions) to lower the churn? Co-authored-by: Alan Du <[email protected]>
| * Rename new to new_item (to match new_impl)Alan Du2018-10-221-9/+9
| |
| * Revert "clippy: Fix new_ret_no_self"Alan Du2018-10-207-17/+17
| | | | | | | | This reverts commit 2ae9dfa812ccf18867373f77a106161378a6d91d.
| * clippy: cast_losslessAlan Du2018-10-181-2/+2
| |
| * Fix function callsAlan Du2018-10-1810-12/+9
| |
| * clippy: type_complexityAlan Du2018-10-182-8/+11
| |
| * clippy: needless_lifetimesAlan Du2018-10-181-1/+1
| |
| * clippy: Fix new_ret_no_selfAlan Du2018-10-187-17/+17
| |
| * Silence clippy::derive_hash_xor_eqAlan Du2018-10-181-1/+7
| | | | | | | | Manually implement PartialEq
| * Remove Copy trait on LeafAtOffsetAlan Du2018-10-181-1/+1
| | | | | | | | | | | | | | Because it's a stateful iterator, it's easier to explicitly clone it when necesary. Fixes clippy:clone_on_copy
| * clippy: Use if lets and remove redundant returnsAlan Du2018-10-1811-29/+22
| |
| * Clippy lint: single-character string constantAlan Du2018-10-184-5/+5
| |
* | Merge pull request #149 from killercup/patch-1Aleksey Kladov2018-10-221-1/+1
|\ \ | | | | | | Fix a small typo
| * | Fix typoPascal Hertleif2018-10-211-1/+1
|/ / | | | | Truly an A+, errrr, +a commit
* | Merge #148bors[bot]2018-10-201-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 148: Don't cache ever changing stuff r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Don't cache ever changing stuffAleksey Kladov2018-10-201-0/+6
|/ /
* | cleanupAleksey Kladov2018-10-203-3/+0
| |
* | Merge #147bors[bot]2018-10-2016-262/+212
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 147: Cancelation r=matklad a=matklad This series of commits switch cancellation strategy from `JobToken` (which are cancellation tokens, explicitly controlled by the called) to salsa built-in auto cancellation. "Auto" means that, as soon as we advance the revision, all pending queries are cancelled automatically, and this looks like a semantic we actually want. "client-side" cancellation is a rare event, and it's ok to just punt on it. Automatic cancellation after the user types something in happens all the time. Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove job handleAleksey Kladov2018-10-206-100/+18
| | |
| * | Fix testsAleksey Kladov2018-10-201-17/+14
| | |
| * | use pythonic import orderAleksey Kladov2018-10-207-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | use std // blank line use extern crates // blank line use crate::{}
| * | actually check for cancelationAleksey Kladov2018-10-203-7/+20
| | |
| * | make file-symbols query cancelableAleksey Kladov2018-10-204-40/+48
| | |
| * | mark module queries as cacelableAleksey Kladov2018-10-204-29/+31
| | |
| * | make more things cancelableAleksey Kladov2018-10-203-21/+20
| | |
| * | remove job tokensAleksey Kladov2018-10-204-66/+61
| | |
| * | make parent module cancelableAleksey Kladov2018-10-203-6/+16
| | |
| * | introduce cancelableAleksey Kladov2018-10-201-0/+5
|/ /
* | update salsaAleksey Kladov2018-10-205-14/+14
| |
* | Merge #143bors[bot]2018-10-2010-15/+174
|\ \ | |/ |/| | | | | | | | | | | | | | | 143: Implement Find All References and Rename for local variables r=matklad a=kjeremy Expose `find_all_refs` in `Analysis`. This currently only works for local variables. Use this in the LSP to implement find all references and rename. Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Update vscode-languageclient package to support RenameOptionsJeremy A. Kolb2018-10-192-10/+10
| |
| * LSP: Add support for prepareRenameJeremy A. Kolb2018-10-192-1/+24
| |
| * Handle renaming of local variablesJeremy A. Kolb2018-10-183-2/+45
| |
| * Implement Find All References for local variablesJeremy A. Kolb2018-10-188-3/+96
| |
* | Merge #141bors[bot]2018-10-178-49/+26
|\ \ | |/ |/| | | | | | | | | | | 141: Update rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>