aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_vfs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* handle recursive watching ourselvesBernardo2019-01-263-16/+46
|
* add missing Task::HandleChangeBernardo2019-01-264-21/+28
|
* better error handlingBernardo2019-01-261-4/+16
|
* use notify with fixBernardo2019-01-263-12/+10
|
* reference `notify` issueBernardo2019-01-262-2/+3
|
* handle watched events filtering in `Vfs`add `is_overlayed`load changed files ↵Bernardo2019-01-264-142/+217
| | | | contents in `io`
* refator to move all io to io moduleBernardo2019-01-264-88/+134
| | | | | use same channel for scanner and watcher some implementations pending
* complete testBernardo2019-01-264-52/+94
|
* initial Watcher implBernardo2019-01-263-14/+143
|
* extract area to a crateAleksey Kladov2019-01-043-80/+8
|