Commit log
4313e99
Merge pull request #110 from zed-industries/fs-refactor
Click to expand commit body
Decouple our fs module from details of the Worktree
Antonio Scandurra
created
Antonio Scandurra
created
c18ca77
:art: Use fs::Metadata in fs::FakeFsEntry
Max Brunsfeld
created
7260442
Move the fs module out of worktree
Max Brunsfeld
created
dcae474
Decouple Fs trait from Worktree
Click to expand commit body
Make it a more direct shim for the standard FS APIs
Max Brunsfeld
created
a074f46
Merge pull request #109 from zed-industries/server
Click to expand commit body
Include contents of the zed-server repo
Nathan Sobo
created
cdaa4e0
Fix flaky FileFinder test by avoiding redundant worktree snapshot polls when idle
Max Brunsfeld
created
42ba24c
Fix error message when connection's IO loop exits before message loop
Max Brunsfeld
created
561cabb
Use FakeFs in all integration tests
Max Brunsfeld
created
82569a0
Fix race condition in integration test
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
411e7df
Move Fs trait into its own module
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
2e645bc
Use an unbounded channel for waking `executor::Deterministic`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
391ad48
Rename `zed-rpc` to `zrpc`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
c4e37dc
Use the same background executor for spawning CPU intensive tasks
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
6abac39
Remove stray logging statements
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
7ad2071
Fix tests that were not aware of `Worktree::open_local` being async
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
Antonio Scandurra
created
f836a25
Use an `executor::Background` in `AppContext::thread_pool`
Antonio Scandurra
created
f58ef25
Don't create a real background executor when `Fs` is fake
Antonio Scandurra
created
68f747d
Allow printing a trace of a run of the executor
Antonio Scandurra
created
9e1f72b
Use an unfair lock to ensure tests are deterministic
Click to expand commit body
Also avoid using `smol::block_on` as it interacts with their `Reactor`.
Antonio Scandurra
created
2a90347
Store an Fs on Workspace, pass it to each Worktree
Click to expand commit body
Push test-only worktree behavior down into the Fs,
via a `watch` method which provides fs events.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
86ca442
Fix CSS purge path
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
9a6c4a1
Pass arguments to cargo run in script/server
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
1537500
Include contents of the zed-server repo
Click to expand commit body
We're going full monorepo.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
34abda3
:fire: Remove stray logging statements
Antonio Scandurra
created
59d61d3
Allow worktrees to be joined with no open window
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
58bae3a
Ensure root view is always rendered when opening a window
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
a661b43
Pass `AppState` to `workspace:join_worktree`
Antonio Scandurra
created
ccff27a
Ignore whitespaces surrounding a shared worktree's URL
Antonio Scandurra
created
0f399c6
Don't lose operations for buffers that are being opened
Antonio Scandurra
created
1813a3c
Allow resetting `executor::Deterministic`'s RNG
Antonio Scandurra
created
bd68d83
Avoid unnecessary Result in returned message handler future
Antonio Scandurra
created
4f752a4
Emit event when performing a rename in `InMemoryFs`
Antonio Scandurra
created
4aab70d
Remove authentication at the RPC layer
Click to expand commit body
This means we can remove IOHandler and return a simple future that is Send
Nathan Sobo
created
89ef4d7
Send an Authorization HTTP header when connecting web sockets
Nathan Sobo
created
4ffd29b
Pass AppState as action arg to workspace:share_worktree
Nathan Sobo
created
eeebc76
Restructure Peer to handle connections' messages in order
Max Brunsfeld
created
b7fae69
Send buffer operations in the order they occur
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
ad3dcfe
Use the `Fs` trait for refreshing buffers
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4f4233e
Schedule foreground-spawned futures sequentially
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
,
Max Brunsfeld
, and
Nathan Sobo
created
9412a7a
Remove non-determinism caused by polling snapshots via a timer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
Antonio Scandurra
created
Antonio Scandurra
created
3d799fe
Implement `InMemoryFs::rename`
Antonio Scandurra
created
63e76e4
Implement `Fs::child_entries` for `InMemoryFs`
Antonio Scandurra
created
b96578f
Extract Fs::child_entries method to avoid sync I/O in BackgroundScanner
Antonio Scandurra
created
6957027
Replace crossbeam_channel with an async smol::channel
Antonio Scandurra
created
102026f
Implement a scoped pool on `executor::Background`
Antonio Scandurra
created
d536129
Start on refactoring `BackgroundScanner` to be generic over fs
Antonio Scandurra
created