Commit log

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

2ecdc65 WIP

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

13c56cf WIP

Antonio Scandurra created

0e19b06 Fix warnings

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

2fa63a3 Start on in-memory fs

Antonio Scandurra created

4dae17a Extract an `Fs` trait in `Worktree`

Antonio Scandurra created

60ef74a Use select_biased! in Peer to avoid non-determinism

Max Brunsfeld created

b2aa961 Allow rpc client to connect to an in-memory stream

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

8b58c16 Re-export zed-rpc's test support items from zed's test support

Max Brunsfeld created

2965fce Avoid panic when spawn is called after run exits in deterministic executor

Max Brunsfeld created

9bfa5b6 Add a 'seed' parameter to gpui::test macro

Click to expand commit body
This lets you control the starting seed

Max Brunsfeld created

140c883 Start work on a deterministic executor for tests

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

1f89b45 Merge pull request #106 from zed-industries/remote-conflict-indicator

Click to expand commit body
Relay the saved mtime when saving a buffer

Antonio Scandurra created

f1ce507 Merge pull request #104 from zed-industries/double-buffer

Click to expand commit body
Avoid adding the same entry when concurrently opening it more than once

Antonio Scandurra created

792926c Merge pull request #100 from zed-industries/fix-url-to-path-conversion

Click to expand commit body
Fix URL to `PathBuf` conversion in `mac::Platform`

Antonio Scandurra created