Commit graph

22 commits

Author SHA1 Message Date
Noah Peeters
10bc251d7f Pace the unwatch regression test so it is not flaky (AI-assisted)
A burst of 200 operations within milliseconds sometimes made macOS coalesce events into a rescan,
which notify 4 does not deliver, failing the test about 4 times in 10 even with the fix. With a
5 ms pause per iteration the fixed code passed 20 of 20 runs; the unfixed code still loses about a
third of the creations (60-67 of 100).
2026-10-19 17:14:05 +02:00
Noah Peeters
1d2dc326a0 Stop losing file changes on macOS when files are deleted (AI-assisted)
Vfs::commit_event calls StdBackend::unwatch for every removed path, but only the roots passed to
watch() are watched. unwatch forwarded every path to notify anyway, and notify's FSEvents backend
handles an unwatch by tearing down and restarting its event stream; whatever changed during the
restart was never reported. Deleting files while others change (a git checkout, a branch switch)
therefore dropped events, and the served tree went stale without any error.

Only call the watcher's unwatch for paths that are actually watched. The new test deletes 100
files (calling unwatch on each, as commit_event does) while creating 100 others: before this
change macOS reported 1 of the 100 creations, now all 100.
2026-10-19 17:09:52 +02:00
EgoMoose
7ade19293c
Fix windows verbatim paths (#1295) 2026-07-05 11:26:35 -07:00
Micah
bcadc97de2
Release v7.7.0 (#1286) 2026-07-01 17:59:58 -07:00
boatbomber
1abf675949
Graceful errors instead of crashing (#1267) 2026-06-01 20:02:39 -07:00
Ivan Matthew
2a1102fc55
Implement VFS Path normalization for improved cross-platform tree synchronization (#1201) 2026-01-19 15:04:59 -08:00
Micah
b89cc7f398
Release memofs v0.3.1 (#1175) 2025-11-27 12:32:57 -08:00
Ken Loeffler
93e9c51204
Fix rojo plugin install by adding Vfs::exists (#1169) 2025-11-21 07:04:34 -08:00
Micah
9b5a07191b
Implement Syncback to support converting Roblox files to a Rojo project (#937)
This is a very large commit.
Consider checking the linked PR for more information.
2025-11-19 09:21:33 -08:00
Micah
f3c423d77d
Fix the various lints (#1124) 2025-10-10 13:00:56 -07:00
Micah
80a381dbb1
Use SerializationService as a fallback for when patch application fails (#1030) 2025-09-21 15:09:20 -07:00
Micah
227042d6b1
Add current maintainers to author field of Cargo.toml files (#1053) 2025-05-21 20:55:39 -07:00
Jack T
55a207a275
Fix clippy lint warnings (#1004) 2025-01-13 10:07:53 -08:00
Kenneth Loeffler
4b3470d30b
Fix removing trailing newlines by using str::replace in memofs (#903) 2024-04-17 11:55:23 -07:00
Kenneth Loeffler
87920964d7
Release memofs 0.3.0, bump Rojo dependency (#894) 2024-03-25 10:48:27 -07:00
Micah
856d43ce69
Update Cargo dependencies (#887) 2024-03-04 15:20:58 -08:00
Kenneth Loeffler
cf25eb0833
Normalize line endings to LF in Lua middleware (#854) 2024-02-12 14:58:03 -08:00
Kenneth Loeffler
3369b0d429
Downgrade to Notify 4, use FSEvents, use minimal recursive watches (#830) 2024-01-02 09:26:06 -08:00
Jack T
b43b45be8f
Upgrade to Notify 6 (#816) 2023-11-23 16:16:43 -08:00
Kenneth Loeffler
3cafbf7f1a
Use PollWatcher in memofs StdBackend on macOS (#783) 2023-09-26 15:41:33 -07:00
Kenneth Loeffler
0dabd8a1f6
Fix memofs clippy lints (#682)
The third in a series of PRs that aim to get CI passing
2023-06-30 11:04:04 -07:00
Lucien Greathouse
79b57b3359 Move memofs and rojo-insta-ext into crates folder 2022-05-26 04:23:44 -04:00