Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Clippy perf warnings | kjeremy | 2020-07-08 | 3 | -4/+3 | |
| | ||||||
* | Replace ad hocery with science | Aleksey Kladov | 2020-07-07 | 4 | -57/+81 | |
| | ||||||
* | Fix symbol search in salsa | Aleksey Kladov | 2020-07-07 | 1 | -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 salsa | Aleksey Kladov | 2020-07-07 | 1 | -1/+1 | |
| | ||||||
* | Merge #5244 | bors[bot] | 2020-07-07 | 4 | -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 statistics | Jonas Schievink | 2020-07-07 | 4 | -1/+30 | |
| | | ||||||
* | | Merge #5247 | bors[bot] | 2020-07-07 | 5 | -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 tests | Aleksey Kladov | 2020-07-07 | 5 | -1214/+415 | |
| | | | ||||||
| * | | cleanup | Aleksey Kladov | 2020-07-07 | 1 | -3/+2 | |
| |/ | ||||||
* | | Merge #5245 | bors[bot] | 2020-07-07 | 2 | -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 SourceChange | Christoph Herzog | 2020-07-07 | 2 | -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 #5241 | bors[bot] | 2020-07-07 | 6 | -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 warnings | kjeremy | 2020-07-06 | 6 | -16/+9 | |
| |/ | | | | | | | Removes redundant clones | |||||
* / | Switch to fully dynamically dispatched salsa | Aleksey Kladov | 2020-07-07 | 14 | -98/+83 | |
|/ | | | | This improves compile times quite a bit | |||||
* | Simplify file watcher | Aleksey Kladov | 2020-07-06 | 1 | -29/+14 | |
| | ||||||
* | Merge #5228 | bors[bot] | 2020-07-05 | 2 | -6/+6 | |
|\ | | | | | | | | | | | | | | | | | | | | | 5228: Fix typo r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Fix typo | Aleksey Kladov | 2020-07-05 | 2 | -6/+6 | |
| | | ||||||
* | | AbsPath | Aleksey Kladov | 2020-07-05 | 1 | -3/+3 | |
|/ | ||||||
* | Modernise item completion tests | Aleksey Kladov | 2020-07-04 | 1 | -265/+199 | |
| | ||||||
* | Fallback to target in cfg if not specified in project json config | Paul Daniel Faria | 2020-07-04 | 1 | -1/+1 | |
| | ||||||
* | Add optional target to crates in json project, lookup default cfgs per ↵ | Paul Daniel Faria | 2020-07-04 | 3 | -1/+23 | |
| | | | | target when generating cfg list | |||||
* | Alight details in comkplation list | Aleksey Kladov | 2020-07-04 | 7 | -50/+63 | |
| | ||||||
* | Modernize qual path completion tests | Aleksey Kladov | 2020-07-04 | 3 | -1105/+475 | |
| | ||||||
* | Modernize snippet completion tests | Aleksey Kladov | 2020-07-04 | 1 | -77/+29 | |
| | ||||||
* | Add Item change to the set of benches | Aleksey Kladov | 2020-07-04 | 1 | -0/+13 | |
| | ||||||
* | Fix bench to work with relative paths | Aleksey Kladov | 2020-07-04 | 2 | -15/+14 | |
| | ||||||
* | Modernize postfix completion tests | Aleksey Kladov | 2020-07-04 | 1 | -512/+123 | |
| | ||||||
* | Modernize pattern completion tests | Aleksey Kladov | 2020-07-04 | 1 | -88/+37 | |
| | ||||||
* | Fix lookup in tests | Aleksey Kladov | 2020-07-04 | 3 | -0/+11 | |
| | ||||||
* | Macro tests | Aleksey Kladov | 2020-07-04 | 2 | -119/+70 | |
| | ||||||
* | Modernize tests | Aleksey Kladov | 2020-07-04 | 1 | -64/+60 | |
| | ||||||
* | Cleanup dot completiont tests | Aleksey Kladov | 2020-07-04 | 4 | -720/+407 | |
| | ||||||
* | Comments | Aleksey Kladov | 2020-07-04 | 2 | -2/+3 | |
| | ||||||
* | Better tests for completion scoring | Aleksey Kladov | 2020-07-04 | 3 | -192/+61 | |
| | ||||||
* | Modernize completion presentation tests | Aleksey Kladov | 2020-07-04 | 1 | -393/+340 | |
| | ||||||
* | Unify naming | Aleksey Kladov | 2020-07-04 | 1 | -8/+8 | |
| | ||||||
* | Cleanup tests | Aleksey Kladov | 2020-07-04 | 1 | -172/+62 | |
| | ||||||
* | Merge #5197 | bors[bot] | 2020-07-04 | 5 | -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 resolved | David Lattimore | 2020-07-03 | 1 | -67/+97 | |
| | | ||||||
| * | SSR: Refactor matching code. | David Lattimore | 2020-07-03 | 1 | -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 fails | David Lattimore | 2020-07-03 | 2 | -21/+36 | |
| | | ||||||
| * | SSR: Extract error code out to a separate module | David Lattimore | 2020-07-03 | 3 | -23/+35 | |
| | | | | | | | | | | This is to make reusing it outside of parsing easier in a subsequent change. | |||||
* | | Cleanup more completion tests | Aleksey Kladov | 2020-07-03 | 3 | -331/+177 | |
| | | ||||||
* | | Cleanup presentation tests | Aleksey Kladov | 2020-07-03 | 2 | -146/+59 | |
| | | ||||||
* | | Add AssistKind::Generate | Aleksey Kladov | 2020-07-03 | 7 | -26/+32 | |
| | | ||||||
* | | Unify naming of generating assists | Aleksey Kladov | 2020-07-03 | 7 | -206/+215 | |
| | | ||||||
* | | Merge #5212 | bors[bot] | 2020-07-03 | 1 | -554/+489 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5212: Fix module renaming r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Fix module renaming | Aleksey Kladov | 2020-07-03 | 1 | -6/+53 | |
| | | | ||||||
| * | | Compress rename tests | Aleksey Kladov | 2020-07-03 | 1 | -101/+142 | |
| | | | ||||||
| * | | Use expect for rename tests | Aleksey Kladov | 2020-07-03 | 1 | -193/+57 | |
| | | |