Commit log
2bde549
Move all FoldMap query methods to FoldMapSnapshot
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
09afba9
Introduce buffer::Content<'a> struct to share logic with buffer::Snapshot
Click to expand commit body
We want to move a bunch of methods on FoldMap to fold_map::Snapshot. This captures a buffer snapshot, and we'll need a bunch of methods that currently are on Buffer to also be implemented on buffer::Snapshot. This Content reference struct will be a good zero-cost place to store that logic.
Nathan Sobo
created
4 years ago
be95487
Calculate an `old_lines` range in `Edits` iterator
Antonio Scandurra
created
4 years ago
Antonio Scandurra
created
4 years ago
a5edc14
WIP: Start on `WrapMap`
Antonio Scandurra
created
4 years ago
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
4 years ago
Antonio Scandurra
created
4 years ago
c18ca77
:art: Use fs::Metadata in fs::FakeFsEntry
Max Brunsfeld
created
4 years ago
7260442
Move the fs module out of worktree
Max Brunsfeld
created
4 years ago
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
4 years ago
a074f46
Merge pull request #109 from zed-industries/server
Click to expand commit body
Include contents of the zed-server repo
Nathan Sobo
created
4 years ago
cdaa4e0
Fix flaky FileFinder test by avoiding redundant worktree snapshot polls when idle
Max Brunsfeld
created
4 years ago
42ba24c
Fix error message when connection's IO loop exits before message loop
Max Brunsfeld
created
4 years ago
561cabb
Use FakeFs in all integration tests
Max Brunsfeld
created
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
6abac39
Remove stray logging statements
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
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
4 years ago
Antonio Scandurra
created
4 years ago
f836a25
Use an `executor::Background` in `AppContext::thread_pool`
Antonio Scandurra
created
4 years ago
f58ef25
Don't create a real background executor when `Fs` is fake
Antonio Scandurra
created
4 years ago
68f747d
Allow printing a trace of a run of the executor
Antonio Scandurra
created
4 years ago
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
4 years ago
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
4 years ago
86ca442
Fix CSS purge path
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
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
4 years ago
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
4 years ago
34abda3
:fire: Remove stray logging statements
Antonio Scandurra
created
4 years ago
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
4 years ago
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
4 years ago
a661b43
Pass `AppState` to `workspace:join_worktree`
Antonio Scandurra
created
4 years ago
ccff27a
Ignore whitespaces surrounding a shared worktree's URL
Antonio Scandurra
created
4 years ago
0f399c6
Don't lose operations for buffers that are being opened
Antonio Scandurra
created
4 years ago
1813a3c
Allow resetting `executor::Deterministic`'s RNG
Antonio Scandurra
created
4 years ago
bd68d83
Avoid unnecessary Result in returned message handler future
Antonio Scandurra
created
4 years ago
4f752a4
Emit event when performing a rename in `InMemoryFs`
Antonio Scandurra
created
4 years ago
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
4 years ago
89ef4d7
Send an Authorization HTTP header when connecting web sockets
Nathan Sobo
created
4 years ago
4ffd29b
Pass AppState as action arg to workspace:share_worktree
Nathan Sobo
created
4 years ago
eeebc76
Restructure Peer to handle connections' messages in order
Max Brunsfeld
created
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Antonio Scandurra
created
4 years ago
Antonio Scandurra
created
4 years ago
3d799fe
Implement `InMemoryFs::rename`
Antonio Scandurra
created
4 years ago
Page 56 of 75