Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the reference to `WalkdirLoaderHandle` in vfs documentation | Arnaud | 2021-01-07 | 1 | -3/+0 |
| | | | | This structure was deleted in commit #dad1333 | ||||
* | Merge #6785 | bors[bot] | 2020-12-09 | 1 | -4/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 6785: Fix "no value set for FileTextQuery(FileId(..))" r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/6622 Let's hope I got it right this time, but I feel like I slowly begin to understand the main loop logic. bors r+ Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Fix "no value set for FileTextQuery(FileId(..))" | Jonas Schievink | 2020-12-09 | 1 | -4/+5 |
| | | |||||
* | | . | Aleksey Kladov | 2020-12-09 | 3 | -5/+48 |
|/ | |||||
* | Extract tests module to file in vfs crate | Daiki Ihara | 2020-11-30 | 4 | -82/+74 |
| | |||||
* | Remove more unreachable pubs | Aleksey Kladov | 2020-11-02 | 1 | -2/+2 |
| | |||||
* | Deny unreachable-pub | Aleksey Kladov | 2020-11-02 | 1 | -1/+1 |
| | | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034. | ||||
* | Rename the method to avoid false promises | Kirill Bulatov | 2020-09-09 | 1 | -12/+10 |
| | |||||
* | Add VirtualPath tests | Kirill Bulatov | 2020-09-09 | 1 | -3/+38 |
| | |||||
* | Move rust-related logic from vfs to base_db level | Kirill Bulatov | 2020-09-09 | 1 | -60/+5 |
| | |||||
* | Properly handle special cases (binaries, mod.rs) | Kirill Bulatov | 2020-09-09 | 1 | -26/+58 |
| | |||||
* | Implement file name & extension retrieval method for VirtualPath | Kirill Bulatov | 2020-09-09 | 1 | -2/+20 |
| | |||||
* | Small refactoring | Kirill Bulatov | 2020-09-09 | 1 | -11/+11 |
| | |||||
* | Happy path implemented | Kirill Bulatov | 2020-09-09 | 2 | -13/+17 |
| | |||||
* | Properly use FileSet API | Kirill Bulatov | 2020-09-09 | 2 | -28/+41 |
| | |||||
* | Better API | Kirill Bulatov | 2020-09-09 | 2 | -14/+29 |
| | |||||
* | First steps for mod<|> completion | Kirill Bulatov | 2020-09-09 | 1 | -2/+25 |
| | |||||
* | Add description for crates that will be published | Pavan Kumar Sunkara | 2020-08-24 | 1 | -0/+1 |
| | |||||
* | Add version to deps in cargo.toml | Pavan Kumar Sunkara | 2020-08-24 | 1 | -1/+1 |
| | |||||
* | Sophisticate Windows path encoding | Armin Sander | 2020-08-14 | 1 | -7/+132 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -2/+2 |
| | |||||
* | Add one more test | Aleksey Kladov | 2020-07-26 | 1 | -21/+50 |
| | |||||
* | Expose package roots more directly | Aleksey Kladov | 2020-07-21 | 1 | -1/+1 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-07-20 | 1 | -9/+5 |
| | |||||
* | Simplify exclusion logic | Aleksey Kladov | 2020-07-18 | 1 | -9/+73 |
| | |||||
* | Minor, push allocations down | Aleksey Kladov | 2020-07-14 | 2 | -3/+3 |
| | |||||
* | Add a license field to all the crates | Yuki Okushi | 2020-07-14 | 1 | -0/+1 |
| | |||||
* | no doctests | Aleksey Kladov | 2020-07-11 | 1 | -0/+3 |
| | |||||
* | Optimize VFS processing | Aleksey Kladov | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | Also reload when adding new examples, tests, etc | Aleksey Kladov | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | Replace ad hocery with science | Aleksey Kladov | 2020-07-07 | 3 | -56/+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 | ||||
* | FileSetConfig works with empty set of roots | Aleksey Kladov | 2020-07-01 | 1 | -1/+1 |
| | | | | Closes #5139 | ||||
* | Make VFS join methods fallible | Jonas Schievink | 2020-06-26 | 2 | -8/+10 |
| | |||||
* | Less error-prone naming | Aleksey Kladov | 2020-06-24 | 1 | -4/+4 |
| | |||||
* | Cleanup project.json deserialization | Aleksey Kladov | 2020-06-24 | 1 | -2/+2 |
| | |||||
* | Make Debug less verbose for VfsPath and use Display in analysis-stats | Laurențiu Nicola | 2020-06-24 | 1 | -2/+17 |
| | |||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 6 | -134/+67 |
| | |||||
* | Speedup VFS::partition | Aleksey Kladov | 2020-06-19 | 2 | -9/+26 |
| | | | | | | | | | | The task of `partition` function is to bin the flat list of paths into disjoint filesets. Ideally, it should be incremental -- each new file should be added to a specific fileset. However, preliminary measurnments show that it is actually fast enough if we just optimize this to use a binary search instead of a linear scan. | ||||
* | New VFS API | Aleksey Kladov | 2020-06-16 | 7 | -0/+508 |