aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_vfs
Commit message (Collapse)AuthorAgeFilesLines
* remove depedency on ra_arenaAleksey Kladov2019-02-182-18/+23
|
* remove arena from RootsAleksey Kladov2019-02-182-16/+18
| | | | | we want to move ra_vfs to a new repo, so having fewer deps is useful. Arena is a thin layer of sugar on top of Vec anyway.
* remove useless ArcAleksey Kladov2019-02-181-5/+2
|
* marginally better namesAleksey Kladov2019-02-171-19/+24
|
* remove overlay removes overlayAleksey Kladov2019-02-171-4/+4
|
* simplify overlay handlingAleksey Kladov2019-02-171-16/+8
|
* simplifyAleksey Kladov2019-02-171-39/+33
|
* rename methodAleksey Kladov2019-02-171-1/+1
|
* remove duplicated methodAleksey Kladov2019-02-171-7/+0
|
* hide root configAleksey Kladov2019-02-173-81/+89
|
* move roots to a moduleAleksey Kladov2019-02-172-98/+112
|
* Dont slow down everyone else's testing (especially the CI's Linux) just for ↵Felix S. Klock II2019-02-151-1/+1
| | | | | | | | OS X. Namely, the allowance for up to 7 events, and thus requiring anyone with fewer than 7 events to wait for the 3 second timeout, is only relevant to fsevents (i.e. Mac OS X)
* Generalize `tests/vfs.rs` processing to address wildly-varying ↵Felix S. Klock II2019-02-151-9/+67
| | | | time-dependent behavior on Mac OS X.
* Merge #830bors[bot]2019-02-141-1/+3
|\ | | | | | | | | | | | | | | | | | | | | 830: Fix test_vfs_works failing on Windows due to extra Write events r=pnkfelix a=vipentti On Windows `notify` generates extra `Write` events for folders, which caused `process_tasks` to not handle all tasks generated on Windows. This fixes #827 Co-authored-by: Ville Penttinen <[email protected]>
| * Fix test_vfs_works failing on Windows due to extra Write eventsVille Penttinen2019-02-141-1/+3
| | | | | | | | | | | | | | On Windows `notify` generates extra `Write` events for folders, which caused `process_tasks` to not handle all tasks generated on Windows. This fixes #827
* | simplifyAleksey Kladov2019-02-142-86/+71
| |
* | automatically wait for worker threadsAleksey Kladov2019-02-143-63/+50
|/ | | | closes #817
* Merge #818bors[bot]2019-02-131-2/+15
|\ | | | | | | | | | | | | | | | | | | 818: In `RootConfig::contains`, check against canonicalized version of root path r=matklad a=pnkfelix In `RootConfig::contains`, check against canonicalized version of root path since OS may hand us data that uses the canonical form rather than the root as specified by the user. This is a step towards a resolution of issue #734 but does not completely fix the problem there. Co-authored-by: Felix S. Klock II <[email protected]>
| * rustfmtFelix S. Klock II2019-02-131-3/+3
| |
| * In `RootConfig::contains`, check against canonicalized version of rootFelix S. Klock II2019-02-131-2/+15
| | | | | | | | | | path since OS may hand us data that uses that rather than the root as specified by the user.
* | Fix some typosPascal Hertleif2019-02-122-8/+10
|/
* don't distinguish Create and Write events in VFSAleksey Kladov2019-02-122-38/+42
|
* Fix typo in Cargo.toml authorsVille Penttinen2019-02-111-1/+1
| | | | Fixes typo introduced in #782
* Update authors field in Cargo.tomls to "rust-analyzer developers"Ville Penttinen2019-02-111-1/+1
| | | | This closes #777
* Clean up a bitFlorian Diebold2019-02-101-7/+0
|
* Implement BatchDatabase constructionFlorian Diebold2019-02-101-0/+12
|
* update notify with fix for hight cpu usageBernardo2019-02-091-1/+1
|
* reformat the worldAleksey Kladov2019-02-083-160/+45
|
* remove watcher ctxAleksey Kladov2019-01-261-65/+77
|
* remove mutexesAleksey Kladov2019-01-261-14/+10
|
* handle all the reads on the "main" watcher threadAleksey Kladov2019-01-261-48/+75
|
* cleanup: add result aliasAleksey Kladov2019-01-261-9/+7
|
* consolidate error handlingAleksey Kladov2019-01-261-14/+17
|
* refactor-fvsAleksey Kladov2019-01-263-333/+242
|
* dont overwrite memfiesAleksey Kladov2019-01-262-1/+15
|
* use entry file_type, improve testBernardo2019-01-263-11/+16
|
* use `Roots` in watcherBernardo2019-01-264-330/+274
|
* extract `Roots` structBernardo2019-01-261-21/+52
|
* review fixesBernardo2019-01-263-22/+10
|
* use released `notifiy` version, add TODO commentBernardo2019-01-262-3/+2
|
* better test, avoid duplicated eventsBernardo2019-01-263-22/+30
|
* hardcode ".git" and "node_modules" alsoBernardo2019-01-262-2/+10
|
* simplify and optimize `RootFilter`by determining if is contained firstBernardo2019-01-261-24/+11
|
* fix recursive watchBernardo2019-01-261-3/+8
|
* avoid boxingBernardo2019-01-263-34/+44
|
* move watcher to io moduleBernardo2019-01-263-31/+29
|
* do not emit create for directory againBernardo2019-01-263-8/+6
|
* refactor, put watcher with `io::Worker`Bernardo2019-01-264-139/+187
| | | | | use `RootFilter` to filter recursive watches untested
* ignore check event dir for ignore, cleanup testsBernardo2019-01-262-63/+129
|
* actually drop watcher, use parking_lot::MutexBernardo2019-01-262-9/+18
|