Commits

Fix movement across soft wrap boundaries

492a09f1be • Nathan Sobo • Jul 30, 2021

Make unfolding inclusive

c779633154 • Nathan Sobo • Jul 30, 2021

Only honor rightward bias for buffer points *inside* of folds

38d4662a4e • Nathan Sobo • Jul 30, 2021

Introduce a struct for spanned_rows result

a6a8f4fd81 • Nathan Sobo • Jul 30, 2021

Respect buffer row boundaries in line-oriented edit operations

029460bf7e • Nathan Sobo • Jul 30, 2021

Don't let people retry randomized tests

84fc8f0f4f • Nathan Sobo • Jul 30, 2021

Reuse FontCache across randomized tests

6efadd19dd • Nathan Sobo • Jul 30, 2021

Report the end of the current row rather than the start of the next

a1991a7458 • Nathan Sobo • Jul 30, 2021

Fix bugs in {prev,next}_row_boundary

82ed33a924 • Max Brunsfeld • Jul 30, 2021

Add a bias parameter when converting buffer points to fold points

05f8a61bc8 • Max Brunsfeld • Jul 30, 2021

Add randomized test for DisplayMap

c1808d09ef • Max Brunsfeld • Jul 30, 2021

WIP

576cabea93 • Antonio Scandurra • Jul 30, 2021

Parse randomized test env vars at runtime

8ba8fa546b • Max Brunsfeld • Jul 30, 2021

Setup randomized test harness in `gpui::test`

c1a9a20ac9 • Antonio Scandurra • Jul 30, 2021

Allow passing `iterations` and `seed` as env variables

b0f3778381 • Antonio Scandurra • Jul 30, 2021

Move buffer rows test into `WrapMap` randomized test

42e2b9ff4d • Antonio Scandurra • Jul 30, 2021

Use a uniform distribution for generating random characters

d6eb6d33b6 • Antonio Scandurra • Jul 30, 2021

Expand edits correctly when there are folds or multi-byte chars

169a298af1 • Antonio Scandurra • Jul 30, 2021

Add fold mutations to randomized test for `WrapMap`

e7d1af2735 • Antonio Scandurra • Jul 30, 2021

Don't render line numbers for soft-wrapped line segments

613192974f • Nathan Sobo • Jul 30, 2021

Clip left when moving cursor to end of line

47187172b7 • Nathan Sobo • Jul 30, 2021

Clip left when moving vertically

b14721fd7f • Nathan Sobo • Jul 30, 2021

Preserve logical scroll position when wrap width changes

7a5f1b5446 • Nathan Sobo • Jul 30, 2021

Remove unnecessary `Mutex` from scroll-related state in `Editor`

3d07be34f8 • Antonio Scandurra • Jul 30, 2021

Fix outdated test assertions after changing wrapping behavior

694ab0d69d • Antonio Scandurra • Jul 30, 2021

Preserve indentation when soft-wrapping

164cafa57d • Antonio Scandurra • Jul 30, 2021

Use `LineWrapper` in a thread-local fashion

2f1a5c48d3 • Antonio Scandurra • Jul 30, 2021

Avoid allocation in LineWrapper::wrap_line

2dcf04cfb9 • Max Brunsfeld • Jul 30, 2021

:racehorse: Avoid SumTree::update_last when wrapping lines

59bb6624e2 • Max Brunsfeld • Jul 30, 2021

Fix panic when fuzzy-matching on a `Worktree` that contains no files

8de8c679c7 • Antonio Scandurra • Jul 30, 2021

Avoid crashes from trying to lay out too large of lines

dd6820e714 • Max Brunsfeld • Jul 26, 2021

Store pending edits until applying them to a non-interpolated snapshot

9d14ca8d33 • Antonio Scandurra • Jul 26, 2021

Change wrap width in randomized test and fix discovered bugs

1ef7474564 • Antonio Scandurra • Jul 26, 2021

Fix unused variable warning

0586a897ca • Antonio Scandurra • Jul 26, 2021

Make `WrapMap` and `DisplayMap` models

b647e3ee71 • Antonio Scandurra • Jul 26, 2021

Set snapshot in the foreground after recomputing it in the background

b04c5741aa • Antonio Scandurra • Jul 26, 2021

Fix mistakenly moved line in beginning/end of line editor tests

623d574b51 • Antonio Scandurra • Jul 26, 2021

Remove remaining I/O nomenclature for `DisplayMap` coordinates

0004dc6921 • Antonio Scandurra • Jul 26, 2021

Fix panic due to incorrectly calculating editor text size in layout

58054c605b • Antonio Scandurra • Jul 26, 2021

Eliminate input/output nomenclature from fold_map

61b5d66ba8 • Nathan Sobo • Jul 25, 2021

Fix remaining errors and warnings

da50576129 • Nathan Sobo • Jul 25, 2021

WIP

9edc8b9a06 • Nathan Sobo • Jul 24, 2021

WIP

3bf47be51e • Nathan Sobo • Jul 24, 2021

WIP

f81f043058 • Nathan Sobo • Jul 23, 2021

Pass a MutableAppContext to Element::layout and ::dispatch_event

11285f3762 • Nathan Sobo • Jul 23, 2021

Optimize `Buffer::edits_since` when the version hasn't changed

61f45800d3 • Antonio Scandurra • Jul 23, 2021

Don't insert empty isomorphic transforms when interpolating

14fcc26e73 • Antonio Scandurra • Jul 23, 2021

Get wrapping randomized test passing with wrap width as small as 0

a8db06426c • Antonio Scandurra • Jul 23, 2021

Expand tabs correctly in `TabMap`'s highlighted chunks iterator

174a546c18 • Antonio Scandurra • Jul 23, 2021

Don't poll foreground futures during `DeterministicExecutor::block_on`

502f54a021 • Antonio Scandurra • Jul 23, 2021

Fix wrap map randomized tests

416571e8e0 • Antonio Scandurra • Jul 23, 2021

Get randomized test compiling against new WrapMap structure

d61f26d03e • Max Brunsfeld • Jul 23, 2021

Move LineWrapper test to line_wrapper.rs

53fd3a1a92 • Max Brunsfeld • Jul 23, 2021

Start restructuring WrapMap with simpler concurrency

5d22c6c4bd • Max Brunsfeld • Jul 22, 2021

WIP

80f13dd737 • Antonio Scandurra • Jul 22, 2021

Fix panic in `WrapMap::highlighted_chunks_for_rows`

f7c8864995 • Antonio Scandurra • Jul 22, 2021

Start work on wrapping lines without text shaping

830f5336b9 • Max Brunsfeld • Jul 22, 2021

Ensure that soft wrapped lines don't cause horizontal scrolling

f169f8e358 • Nathan Sobo • Jul 21, 2021

Remove logging

699e558db9 • Nathan Sobo • Jul 21, 2021

Fix `WrapMap::clip_point` at the end of a soft-wrapped line

ef42d14b8c • Antonio Scandurra • Jul 21, 2021

Ensure that we use the `WrapMap` where appropriate in `DisplayMap`

915c710f94 • Antonio Scandurra • Jul 21, 2021

Account for the impact of edits on tab expansion

0875a86c69 • Antonio Scandurra • Jul 21, 2021

Add randomized test for `DisplayMap::buffer_rows` and fix logic errors

62ad97a728 • Antonio Scandurra • Jul 21, 2021

Start rendering highlighted text and line numbers via the wrap map

72fdd3fb9a • Max Brunsfeld • Jul 21, 2021

WIP

b513df3844 • Nathan Sobo • Jul 20, 2021

wip

07e97e6cad • Max Brunsfeld • Jul 20, 2021

Get simple unit test passing for soft-wrap in DisplayMap

d0fdc7b5e8 • Max Brunsfeld • Jul 20, 2021

Add WrapMap as a member of DisplayMap

7832562675 • Max Brunsfeld • Jul 20, 2021

Fix assertions in fold map test

dbc8fc3bfa • Max Brunsfeld • Jul 20, 2021

Avoid holding executor's state lock while parked

61397f2f2f • Max Brunsfeld • Jul 20, 2021

Replace DeterministicExecutor::reset with forbid_parking

ee213696aa • Nathan Sobo • Jul 20, 2021

Allow DeterministicExecutor to park until forbid_parking is called

64927abbc4 • Nathan Sobo • Jul 20, 2021

WIP: interpolate edits into snapshot coming from `BackgroundWrapper`

f6263768b3 • Antonio Scandurra • Jul 20, 2021

Add `DeterministicExecutor::block_on(duration, future)`

3d3a14b650 • Antonio Scandurra • Jul 20, 2021

Implement `Snapshot::interpolate`

3d8c59af31 • Antonio Scandurra • Jul 20, 2021

Ensure that `WrapMap`'s input lines match `TabMap`'s output lines

b66de06d0e • Antonio Scandurra • Jul 20, 2021

Coalesce contiguous isomorphic transforms

d0113a114c • Antonio Scandurra • Jul 20, 2021

Remove stray logging statements

3d845f81b1 • Antonio Scandurra • Jul 20, 2021

Make randomized tests pass with one operation

39b73496cb • Antonio Scandurra • Jul 20, 2021

Iterate on randomized wrapping test and fix some bugs

3b77b011e2 • Nathan Sobo • Jul 20, 2021

Get the randomized soft wrap test passing with no edits

e0da3fd714 • Nathan Sobo • Jul 20, 2021

Honor the last line when wrapping even if it doesn't end in \n

2ce42ff6b6 • Nathan Sobo • Jul 20, 2021

Start work on WrapMap::chunks_at

f9e13f3429 • Max Brunsfeld • Jul 19, 2021

Fix typo in Point::add_assign

8e9a5e072d • Max Brunsfeld • Jul 19, 2021

WIP

e193a660aa • Nathan Sobo • Jul 19, 2021

WIP

5a33612f0f • Antonio Scandurra • Jul 19, 2021

Re-enable `wrap_map` module and fix compile errors

631a6a2f45 • Antonio Scandurra • Jul 19, 2021

Extract tab expansion logic into `TabMap`

359132ac19 • Antonio Scandurra • Jul 19, 2021

Clarify input and output coordinates in `display_map`

5a0d156cc5 • Antonio Scandurra • Jul 19, 2021

WIP

e00eafb3e8 • Antonio Scandurra • Jul 19, 2021

Add `fold_map::Snapshot::text_summary_for_range`

9e448e694d • Antonio Scandurra • Jul 19, 2021

Change `fold_map::Edit` to return `DisplayOffset`s

7a86a2c831 • Antonio Scandurra • Jul 19, 2021

Fix errors in WrapMap randomized tests

38dffc310f • Antonio Scandurra • Jul 19, 2021

Implement FontSystem::wrap_line

05e5e5f747 • Max Brunsfeld • Jul 17, 2021

WIP

9895c77f5c • Antonio Scandurra • Jul 16, 2021

Start on adding a randomized test for `BackgroundWrapper`

1ba9e48271 • Antonio Scandurra • Jul 16, 2021

Work on a randomized test for edits/snapshots returned by `FoldMap`

8d3c3d7c46 • Antonio Scandurra • Jul 16, 2021

Make writing/reading `FoldMap` explicit so that we can retrieve edits

831b620e51 • Antonio Scandurra • Jul 16, 2021

Pull snapshot history out of fold map

23b55d88d9 • Antonio Scandurra • Jul 16, 2021

Add FoldMapSnapshot::edits_since_creation

e0930ddc09 • Max Brunsfeld • Jul 16, 2021