Commit log
61397f2
Avoid holding executor's state lock while parked
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
ee21369
Replace DeterministicExecutor::reset with forbid_parking
Click to expand commit body
There's really no point calling reset if we plan on parking afterwards.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
64927ab
Allow DeterministicExecutor to park until forbid_parking is called
Click to expand commit body
This allows us to perform async setup such as talking to the database.
Nathan Sobo
created
4 years ago
f626376
WIP: interpolate edits into snapshot coming from `BackgroundWrapper`
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
3d3a14b
Add `DeterministicExecutor::block_on(duration, future)`
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
3d8c59a
Implement `Snapshot::interpolate`
Antonio Scandurra
created
4 years ago
b66de06
Ensure that `WrapMap`'s input lines match `TabMap`'s output lines
Antonio Scandurra
created
4 years ago
d0113a1
Coalesce contiguous isomorphic transforms
Antonio Scandurra
created
4 years ago
3d845f8
Remove stray logging statements
Antonio Scandurra
created
4 years ago
39b7349
Make randomized tests pass with one operation
Antonio Scandurra
created
4 years ago
3b77b01
Iterate on randomized wrapping test and fix some bugs
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
e0da3fd
Get the randomized soft wrap test passing with no edits
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
2ce42ff
Honor the last line when wrapping even if it doesn't end in \n
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
f9e13f3
Start work on WrapMap::chunks_at
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
8e9a5e0
Fix typo in Point::add_assign
Max Brunsfeld
created
4 years ago
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
631a6a2
Re-enable `wrap_map` module and fix compile errors
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
359132a
Extract tab expansion logic into `TabMap`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
5a0d156
Clarify input and output coordinates in `display_map`
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
9e448e6
Add `fold_map::Snapshot::text_summary_for_range`
Antonio Scandurra
created
4 years ago
7a86a2c
Change `fold_map::Edit` to return `DisplayOffset`s
Click to expand commit body
This is needed so that we can translate display offsets into display
points in the `WrapMap`.
Antonio Scandurra
created
4 years ago
38dffc3
Fix errors in WrapMap randomized tests
Antonio Scandurra
created
4 years ago
05e5e5f
Implement FontSystem::wrap_line
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
1ba9e48
Start on adding a randomized test for `BackgroundWrapper`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
8d3c3d7
Work on a randomized test for edits/snapshots returned by `FoldMap`
Click to expand commit body
...and make it pass too!
Antonio Scandurra
created
4 years ago
831b620
Make writing/reading `FoldMap` explicit so that we can retrieve edits
Antonio Scandurra
created
4 years ago
23b55d8
Pull snapshot history out of fold map
Antonio Scandurra
created
4 years ago
e0930dd
Add FoldMapSnapshot::edits_since_creation
Max Brunsfeld
created
4 years ago
8b34dea
Try to return edits from FoldMap::apply_edits
Click to expand commit body
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
4 years ago
2c9f730
Give the FoldMap its own edit type that does not have deleted_lines
Click to expand commit body
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
4 years ago
f561f33
Move DisplayMap's reading methods to DisplayMapSnapshot
Max Brunsfeld
created
4 years ago
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
Page 10 of 30