e193a66
WIP
Nathan Sobo created
e193a66
WIP
Nathan Sobo created
5a33612
WIP
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
631a6a2
Re-enable `wrap_map` module and fix compile errors
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
359132a
Extract tab expansion logic into `TabMap`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
5a0d156
Clarify input and output coordinates in `display_map`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
e00eafb
WIP
Antonio Scandurra created
9e448e6
Add `fold_map::Snapshot::text_summary_for_range`
Antonio Scandurra created
7a86a2c
Change `fold_map::Edit` to return `DisplayOffset`s
This is needed so that we can translate display offsets into display points in the `WrapMap`.
Antonio Scandurra created
38dffc3
Fix errors in WrapMap randomized tests
Antonio Scandurra created
05e5e5f
Implement FontSystem::wrap_line
Max Brunsfeld created
9895c77
WIP
Antonio Scandurra created
1ba9e48
Start on adding a randomized test for `BackgroundWrapper`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
8d3c3d7
Work on a randomized test for edits/snapshots returned by `FoldMap`
...and make it pass too!
Antonio Scandurra created
831b620
Make writing/reading `FoldMap` explicit so that we can retrieve edits
Antonio Scandurra created
23b55d8
Pull snapshot history out of fold map
Antonio Scandurra created
e0930dd
Add FoldMapSnapshot::edits_since_creation
Max Brunsfeld created
8b34dea
Try to return edits from FoldMap::apply_edits
The goal is to describe how the fold map changed. Hopefully this is correct. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
2c9f730
Give the FoldMap its own edit type that does not have deleted_lines
We want to use this struct to communicate about edits performed to the fold map itself, and it will be simpler if we don't have to communicate this data. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
f561f33
Move DisplayMap's reading methods to DisplayMapSnapshot
Max Brunsfeld created
2bde549
Move all FoldMap query methods to FoldMapSnapshot
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
09afba9
Introduce buffer::Content<'a> struct to share logic with buffer::Snapshot
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
be95487
Calculate an `old_lines` range in `Edits` iterator
Antonio Scandurra created
c2e7460
WIP
Antonio Scandurra created
a5edc14
WIP: Start on `WrapMap`
Antonio Scandurra created
4313e99
Merge pull request #110 from zed-industries/fs-refactor
Decouple our fs module from details of the Worktree
Antonio Scandurra created
e1c0d90
:lipstick:
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
Make it a more direct shim for the standard FS APIs
Max Brunsfeld created
a074f46
Merge pull request #109 from zed-industries/server
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
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
411e7df
Move Fs trait into its own module
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
2e645bc
Use an unbounded channel for waking `executor::Deterministic`
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`
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
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
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
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
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
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
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
9a6c4a1
Pass arguments to cargo run in script/server
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
1537500
Include contents of the zed-server repo
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