aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* better languageAleksey Kladov2020-07-081-2/+2
|
* Add Markup typeAleksey Kladov2020-07-085-59/+79
|
* simplifyAleksey Kladov2020-07-081-9/+11
|
* Minimize APIAleksey Kladov2020-07-081-6/+4
|
* Dead codeAleksey Kladov2020-07-081-31/+19
|
* Reduce visibilityAleksey Kladov2020-07-081-9/+7
|
* Remove relative_path dependencyAleksey Kladov2020-07-084-35/+90
|
* Remove unwanted dependencyAleksey Kladov2020-07-088-16/+15
|
* Document failed refactorAleksey Kladov2020-07-081-3/+3
|
* Clippy perf warningskjeremy2020-07-083-4/+3
|
* Replace ad hocery with scienceAleksey Kladov2020-07-074-57/+81
|
* Fix symbol search in salsaAleksey Kladov2020-07-071-19/+90
| | | | | | | | | | | | | | | | | | | | | | Previous solution for binning paths into disjoint directories was simple and fast -- just a single binary search. Unfortunatelly, it wasn't coorrect: if the ditr are /d /d/a /d/c then partitioning the file /d/b/lib.rs won't pick /d as a correct directory. The correct solution here is a trie, but it requires exposing path components. So, we use a poor man's substitution -- a *vector* of sorted paths, such that each bucket is prefix-free closes #5246
* Upstream salsaAleksey Kladov2020-07-071-1/+1
|
* Merge #5244bors[bot]2020-07-074-1/+30
|\ | | | | | | | | | | | | | | | | | | 5244: Add a command to compute memory usage statistics r=matklad a=jonas-schievink This allows inspecting memory usage on a live rust-analyzer instance after it has been used interactively. This will only work with `--features jemalloc`, so maybe it should print something more useful when that's not available? Right now it will just print 0 Bytes for every query. Co-authored-by: Jonas Schievink <[email protected]>
| * Add a command to compute memory usage statisticsJonas Schievink2020-07-074-1/+30
| |
* | Merge #5247bors[bot]2020-07-075-1217/+417
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5247: Modernize unqualified reference completion tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Modernize unqualified reference completion testsAleksey Kladov2020-07-075-1214/+415
| | |
| * | cleanupAleksey Kladov2020-07-071-3/+2
| |/
* | Merge #5245bors[bot]2020-07-072-8/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 5245: Refactor AssistBuilder to manage a SourceChange r=matklad a=theduke `AssistBuilder` now managaes a full `SourceChange` instead of a `Vec<SourceFileEdit>`. This prepares AssistBuilder to handle creation of new files. Co-authored-by: Christoph Herzog <[email protected]>
| * Refactor AssistBuilder to manage a SourceChangeChristoph Herzog2020-07-072-8/+8
| | | | | | | | | | | | | | `AssistBuilder`` now managaes a full `SourceChange` instead of a Vec<SourceFileEdit>. This prepares AssistBuilder to handle creation of new files.
| |
| \
*-. \ Merge #5235 #5236 #5241bors[bot]2020-07-076-16/+9
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5235: Don't ping people in PRs r=matklad a=lnicola 5236: Disable ES module interop r=matklad a=lnicola 5241: Clippy perf warnings r=matklad a=kjeremy Removes redundant clones Co-authored-by: LaurenÈ›iu Nicola <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: kjeremy <[email protected]>
| | * Clippy perf warningskjeremy2020-07-066-16/+9
| |/ | | | | | | Removes redundant clones
* / Switch to fully dynamically dispatched salsaAleksey Kladov2020-07-0714-98/+83
|/ | | | This improves compile times quite a bit
* Simplify file watcherAleksey Kladov2020-07-061-29/+14
|
* Merge #5228bors[bot]2020-07-052-6/+6
|\ | | | | | | | | | | | | | | | | | | | | 5228: Fix typo r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Fix typoAleksey Kladov2020-07-052-6/+6
| |
* | AbsPathAleksey Kladov2020-07-051-3/+3
|/
* Modernise item completion testsAleksey Kladov2020-07-041-265/+199
|
* Fallback to target in cfg if not specified in project json configPaul Daniel Faria2020-07-041-1/+1
|
* Add optional target to crates in json project, lookup default cfgs per ↵Paul Daniel Faria2020-07-043-1/+23
| | | | target when generating cfg list
* Alight details in comkplation listAleksey Kladov2020-07-047-50/+63
|
* Modernize qual path completion testsAleksey Kladov2020-07-043-1105/+475
|
* Modernize snippet completion testsAleksey Kladov2020-07-041-77/+29
|
* Add Item change to the set of benchesAleksey Kladov2020-07-041-0/+13
|
* Fix bench to work with relative pathsAleksey Kladov2020-07-042-15/+14
|
* Modernize postfix completion testsAleksey Kladov2020-07-041-512/+123
|
* Modernize pattern completion testsAleksey Kladov2020-07-041-88/+37
|
* Fix lookup in testsAleksey Kladov2020-07-043-0/+11
|
* Macro testsAleksey Kladov2020-07-042-119/+70
|
* Modernize testsAleksey Kladov2020-07-041-64/+60
|
* Cleanup dot completiont testsAleksey Kladov2020-07-044-720/+407
|
* CommentsAleksey Kladov2020-07-042-2/+3
|
* Better tests for completion scoringAleksey Kladov2020-07-043-192/+61
|
* Modernize completion presentation testsAleksey Kladov2020-07-041-393/+340
|
* Unify namingAleksey Kladov2020-07-041-8/+8
|
* Cleanup testsAleksey Kladov2020-07-041-172/+62
|
* Merge #5197bors[bot]2020-07-045-191/+243
|\ | | | | | | | | | | | | | | | | | | | | 5197: SSR internal refactorings r=davidlattimore a=davidlattimore - Extract error code out to a separate module - Improve error reporting when a test fails - Refactor matching code - Update tests so that all paths in search patterns can be resolved Co-authored-by: David Lattimore <[email protected]>
| * SSR: Update tests so that all paths in patterns can be resolvedDavid Lattimore2020-07-031-67/+97
| |
| * SSR: Refactor matching code.David Lattimore2020-07-031-80/+75
| | | | | | | | | | | | Mutable state is now stored in the enum Phase. MatchState, since it now has no mutable state is renamed Matcher. MatchInputs is merged into Matcher
| * SSR: Improve error reporting when a test failsDavid Lattimore2020-07-032-21/+36
| |