Commit log

510f204 Get cursor movement working with byte columns

Click to expand commit body
Introduce `clip_point` and `clip_offset` methods on `Rope`, `Buffer`, and `FoldMap`.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

f3db0dc Start work on making row/columnwise movement work w/ byte columns

Max Brunsfeld created

6621b9b Expand tabs correctly with multibyte characters

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

Max Brunsfeld and Nathan Sobo created

c62a679 Use chunk-wise DisplayMap iteration when laying out lines

Max Brunsfeld created

a9583d0 Introduce FoldMapSnapshot::chunks_at, use it in FoldMap::text

Click to expand commit body
Get the FoldMap randomized tests passing. This also required adding
a test-only FoldMap::prev_char_boundary method.

Max Brunsfeld created

b3d2a70 Don't return Results from position methods in FoldMap and DisplayMap

Max Brunsfeld created

72b98ad Get buffer tests passing after switching to byte coordinates

Max Brunsfeld created

f7691fc WIP: Switch to byte-oriented indexing

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

Antonio Scandurra and Nathan Sobo created

529a42e Introduce `Rope::chunks_in_range`

Antonio Scandurra created

a1f95fa Merge pull request #69 from zed-industries/fix-flaky-test

Click to expand commit body
Try fixing flaky tests

Antonio Scandurra created

1517ccf Always flush historical events in `fsevent` tests

Antonio Scandurra created

64d361f Don't use `condition` to wait for `spawn_search` to complete

Click to expand commit body
Instead, return a `Task` from `spawn_search` that can either be
awaited or detached.

Antonio Scandurra created

d7f5587 Revert "Temporary: ensure CI env variable is being set"

Click to expand commit body
This reverts commit 074dc55ab7e6eb3c1e9b29c2f634d3d811230349.

Antonio Scandurra created

074dc55 Temporary: ensure CI env variable is being set

Antonio Scandurra created

1cf5413 Increase timeout to 2s for fsevents tests

Antonio Scandurra created

65cf9b7 Remove `condition_with_duration` for `ModelHandle`

Click to expand commit body
Also, use a 2s timeout on CI for both `ModelHandle::condition` and
`ViewHandle::condition`.

Antonio Scandurra created

830fc38 Increase `condition` timeout on CI and remove `condition_with_duration`

Click to expand commit body
`condition_with_duration` wasn't really being used, as the default
timeout was `500ms` and the only places that did use it specified
`500ms` as well.

Antonio Scandurra created

8615046 Enable backtrace for tests on CI

Antonio Scandurra created

45e81dc Merge pull request #68 from zed-industries/optimizations-2

Click to expand commit body
Introduce a few optimizations to `SumTree` and `Buffer`

Max Brunsfeld created

a8ece75 Implement time::Global using a SmallVec

Click to expand commit body
Version vectors are going to be small most of the time, especially
as soon as we introduce an optimization that will let us only
track concurrent versions, thus preventing the version vector from
growing indefinitely over time in the tree.

Antonio Scandurra created

84e0efe Save a few allocations when pushing to a `SumTree`

Antonio Scandurra created

781aa92 Don't summarize unnecessary information when resolving anchor

Antonio Scandurra created

fd3b2c3 Try a diff upload action

Nathan Sobo created

f7b37cd Merge pull request #66 from zed-industries/upload-release

Click to expand commit body
Add a release upload action

Nathan Sobo created

aef21e1 Try not cleaning on checkout

Nathan Sobo created

f7e8e21 Reenable tests

Nathan Sobo created

614d749 🤦‍♂️

Nathan Sobo created

6c51ce9 Merge remote-tracking branch 'origin/master' into upload-release

Nathan Sobo created

c52968b Merge pull request #67 from zed-industries/delay-polling

Click to expand commit body
Reintroduce the 100ms delay when polling worktree entries

Nathan Sobo created

f6bb550 Revert "Does this make job setup faster?"

Click to expand commit body
This reverts commit e8985b46ddf7d883ac024930accf7e5aa899b55b.

Nathan Sobo created

e8985b4 Does this make job setup faster?

Nathan Sobo created

143ea24 Reintroduce the 100ms delay when polling worktree entries

Click to expand commit body
This regressed when I switched us over to the simplified async approach. I think it was causing us to contend on the mutex on during startup.

Nathan Sobo created

a750a09 Merge remote-tracking branch 'origin/master' into upload-release

Nathan Sobo created

6429123 Remove unnecessary step

Nathan Sobo created

693a96f Explicitly install aarch64 target

Nathan Sobo created

7f2da31 Install cargo-bundle if needed in script/bundle

Nathan Sobo created

08c7a49 Focus on bundling

Nathan Sobo created

667aa94 Will you work please?

Nathan Sobo created

4a3f3be Can we skip caching because we're self hosted?

Nathan Sobo created

28988fc Run CI on tag pushes

Nathan Sobo created

4f8caed Add a release upload action

Nathan Sobo created

d234f63 Update roadmap

Nathan Sobo created

a9108c7 Merge pull request #62 from zed-industries/multibyte-characters

Click to expand commit body
Get randomized tests passing in the presence of multibyte chars

Antonio Scandurra created

f550cb4 Merge pull request #63 from zed-industries/multibyte-characters-enhancement

Click to expand commit body
Improve handling of multibyte characters and optimize Rope some more

Antonio Scandurra created

81e1623 :lipstick:

Antonio Scandurra created

5f93d7f Return error in `Rope::to_offset(point)` when the point doesn't exist

Antonio Scandurra created

c9987f9 Optimize `Rope::append` by merging chunks only when they're underflowing

Antonio Scandurra created

76a74e4 Introduce `rope::Cursor::summary` to avoid slicing only to get a summary

Click to expand commit body
This also deletes `Rope::slice`, as it's just a convenience method that
can be easily re-implemented by using the cursor.

Antonio Scandurra created

def0aa9 Maximize chunks occupation by splitting chunks appropriately

Antonio Scandurra created

1190a87 Avoid heap allocation when splitting an existing chunk

Antonio Scandurra created