Commit log

142a8b6 Avoid casting view ids to u32

Click to expand commit body
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:

![image](https://github.com/zed-industries/zed/assets/24362066/b744d82e-328f-4554-becf-96f9fa92bfc8)
Note how the line with rust analyzer error does not have a git diff
hunk.
vs:

![image](https://github.com/zed-industries/zed/assets/24362066/e285af7a-b8ab-40e9-a9c6-b4ab8d6c4cd0)

Release Notes:
- N/A

Piotr Osiewicz created

6503dd5 enviroment -> environment

Mikayla created

0df4bfa Increase debug mode queue size

Joseph T. Lyons created

8a61d50 Never send an an empty set of events

Joseph T. Lyons created

f418bd9 Stop following when project is unshared

Click to expand commit body
Before this change the views would continue to update in the background
of the "disconnected" dialogue, which was disconcerting.

Conrad Irwin created

31689c0 Uncomment last tests (#4009)

Click to expand commit body
With this, we're done all known things that need porting. 

Release Notes:

-

Mikayla Maki created

83163a0 Reverse context arrays in child predicate test

Mikayla created

38396d4 Add remaining tests

Click to expand commit body
co-authored-by: Conrad <conrad@zed.dev>

Mikayla and Conrad created

a5ca583 Fix first few asserts

Mikayla created

bddf827 Add reminder for the future

Joseph T. Lyons created

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.

Max Brunsfeld created

1932a29 Add back ime_key

Mikayla created

75fdaeb Detect when a track is unpublished due to reconnecting to livekit

Click to expand commit body
Co-authored-by: Julia <julia@zed.dev>

Max Brunsfeld and Julia created

2d1eb0c Expose a single `updates` stream from live_kit_client::Room

Click to expand commit body
Co-authored-by: Julia <julia@zed.dev>

Max Brunsfeld and Julia created

0dca67f Add --top flag to zed-local script, for making windows take up half the screen

Max Brunsfeld created

b907f37 Fix fold-related panic (#4008)

Click to expand commit body
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

Conrad Irwin created

766a869 Fix fold-related panic

Conrad Irwin created

b4444bd Rename field in telemetry struct

Joseph T. Lyons created

3c1ed15 Remove active call data when it was accepted (#4007)

Click to expand commit body
That hopefully helps with call notifications sometimes not being closed

Release Notes:

- N/A

Kirill Bulatov created

2e9c9ad Remove active call data when it was accepted

Click to expand commit body
That hopefully helps with call notifications sometimes not being closed

co-authored-by: Max <max@zed.dev>

Kirill Bulatov and Max created

e0dd5a5 Debugging

Kirill Bulatov created

7b3e7ee Enfoce no dbg! and todo! in Rust code via clippy lints in the CI job

Kirill Bulatov created

a4ef1bc Rename reuse_geometry to reuse_view

Antonio Scandurra created

9df29fb WIP

Joseph T. Lyons created

1c260e6 Merge remote-tracking branch 'origin/main' into cache

Click to expand commit body
# Conflicts:
#	crates/copilot/src/sign_in.rs
#	crates/gpui/src/window.rs
#	crates/workspace/src/pane_group.rs

Antonio Scandurra created

b26a468 Merge branch 'main' into instrument-keyboard-events

Joseph T. Lyons created

f71a0cd Remove last todos

Mikayla created

4bcac68 Restore GPUI test

Mikayla created

9553759 Remove todo from search tests

Piotr Osiewicz created

7ef8839 Fix seg fault when using the WindowContext::on_window_should_close() API

Mikayla created

2a09c6a Restore missing test

Mikayla created

c98d7ad Audit all TODOs in Zed and mark port related todos

Mikayla created

02ef6fc Ensure `ArenaRef` pointers are aligned to their contained type (#4002)

Click to expand commit body
We think this may fix a segfault that sometimes occurs during
`display_layer`.

Max Brunsfeld created

61a9a3a Revert "Remove ChannelsAlpha flag"

Click to expand commit body
This reverts commit 1c1151a0ed2f26ea2cf637aa4d07567ab6b4f372.

Conrad Irwin created

69a93ed Ensure `ArenaRef` pointers are aligned to their contained type

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

8d1bca4 Remove extra assertion

Click to expand commit body
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.

Piotr Osiewicz created

f16331a Remove ChannelsAlpha flag (#4001)

Click to expand commit body
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

Conrad Irwin created

1c1151a Remove ChannelsAlpha flag

Click to expand commit body
Welcome to the party!

Conrad Irwin created

2923b71 Replace `WindowContext::notify` with `WindowContext::refresh`

Antonio Scandurra created

f8e4fd0 collab 0.36.0

Conrad Irwin created

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

Antonio Scandurra created

1c77104 chore: Enable asset compression

Click to expand commit body
This reduces size of release binary by ~20% from 134MB to 107MB without noticeable slowdown on startup. Assets are decompressed granularly, on first access

Piotr Osiewicz created

1d000f1 Fix uniform_list scrolling logic (#3996)

Click to expand commit body
Release Notes:

- Fixed theme selector not showing currently selected theme on open

Kirill Bulatov created

c197ea4 Simplify uniform list scrolling logic

Kirill Bulatov created