Also, it looks like using a u64 directly doesn't work well with Metal
shaders, so we unpack the u64 into two u32s.
Antonio Scandurra
created
0db7559
editor: extend diff hunk range for custom transform blocks. (#4012)
Click to expand commit body
Reported by Mikayla:

Note how the line with rust analyzer error does not have a git diff
hunk.
vs:

Release Notes:
- N/A
4496946
Remove remaining port related todos (#3994)
Click to expand commit body
TODO:
- [x] Audit all TODO comments in Zed source and mark port related ones
with a !
- [x] Resolve all todos written as `todo!`
Release Notes:
- N/A
Mikayla Maki
created
cb5d4ed
Handle reconnects to the livekit server in which local tracks are unpublished (#3992)
Click to expand commit body
Release notes:
* Fixed a bug where network interruptions could cause audio and screen
sharing to stop working without indicating that they were stopped, and
there was no way to restart the audio stream.
Although it's not super clear why this fails; in zed1 we used to have a
bounds
check. Restoring the bounds check for now, but leaving a debug_assert!
in case
a local reproduction happens.
Release Notes:
- Fix a panic that happened sometimes when rendering folds
As part of debugging the port of following tests we added an assertion
that the project was dropped. Now that we initialize the editor and
handle focus correctly in tests, the project is retained by
`refresh_document_highlights`. That doesn't affect the meaning of the
tests
Conrad Irwin
created
282184a
editor: Use inclusive ranges for git diff resolution. (#3999)
Click to expand commit body
The culprit was in display map which was resolving next valid point for
the editor, without regard for whether that point belongs to the same excerpt. We now make an end point a minimum of the end point passed in and the start of excerpt header, if there are any.
This bug existed in Zed1 as well.
Fixes: Diff markers in multibuffer search overlap with dividers between
excepts (shouldn't extend all the way into the divider region)
Release Notes:
- Fixed diff markers being drawn incorrectly near headers in multibuffer
views.
Welcome to the party!
[[PR Description]]
Release Notes:
- Added Channels for structured real-time collaboration (TODO: link)
Conrad Irwin
created
5dff458
Ensure focus_in and focus_out fire on window activation (#3993)
Click to expand commit body
Also:
- Rename cx.on_blur to cx.on_focus_lost
- Fix a bug where notify calls in focus handlers were ignored
- Fix a bug where vim would get stuck in the wrong mode when switching
windows
Release Notes:
- (preview only) vim: fix switching between multiple windows
a520336
Use the `.selected` style for buffer search option buttons (#4000)
Click to expand commit body
This PR updates the `IconButton`s used to control the buffer search
options to use the `.selected` state to denote when they are active.
This matches what we are doing in the project search.
This should improve the contrast in certain themes.
Release Notes:
- Improved the active style for the search options in buffer search.
Marshall Bowers
created
aff119b
Fix possessive "its" in docs and comments (#3998)
Click to expand commit body
This PR fixes a number of places where we were incorrectly using "it's"
where we needed to use the possessive "its".
Release Notes:
- N/A
Marshall Bowers
created
d0c101c
Reuse depth map entries and retain element states for cached trees
This reduces size of release binary by ~20% from 134MB to 107MB without noticeable slowdown on startup. Assets are decompressed granularly, on first access