Commit log

b1bee77 v0.118.x preview

Joseph T. Lyons created

a125610 Assign draw order to surfaces using plane splitter (#3739)

Click to expand commit body
It looks like we neglected to incorporate surfaces into the
plane-splitting code path, which assigns each graphics primitive's draw
order.

This fixes an issue where screensharing frames were not visible when the
screenshare tab was zoomed.

Max Brunsfeld created

8f677cc Assign draw order to surfaces using plane splitter

Max Brunsfeld created

e1a4e8e Reintroduce LSP diagnostic/status message (#3728)

Click to expand commit body
Release Notes:

- N/A

Julia created

11140a1 Use ButtonLike rather than ad-hoc button

Click to expand commit body
Co-Authored-By: Marshall Bowers <marshall@zed.dev>

Julia and Marshall Bowers created

90db278 Prevent `ArenaRef` from being cloned (#3738)

Click to expand commit body
This could cause multiple mutable references to be acquired for the same
arena element, which is unsafe. I didn't see it cause problems in
practice, but I realized this could have been a problem and fixed it
before it bit us.

Release Notes:

- N/A

Antonio Scandurra created

e72f56c Port `language_tools` crate to gpui2 (#3673)

Click to expand commit body
Add back a way to show syntax trees and LSP logs in Zed.

Release Notes:

- N/A

Kirill Bulatov created

6e2346c Prevent `ArenaRef` from being cloned

Antonio Scandurra created

5840750 Avoid workspace use while leased

Julia created

fc923a2 Close syntax tree view menu on click too

Kirill Bulatov created

331af82 Rework context menu's custom element API to handle clicks properly

Kirill Bulatov created

19d1568 Lsp log selector fixes

Kirill Bulatov created

fe40e39 Fix remaining z-index bugs

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

1474816 Syntax tree panel style fixes

Kirill Bulatov created

7b83d65 Remove temporary imports, fix syntax_tree_view

Kirill Bulatov created

6a90a76 Use stock gpui2 ui components

Kirill Bulatov created

3586bf8 Display something

Kirill Bulatov created

c1f8929 Add new panels into zed2

Kirill Bulatov created

7e6dac3 Uncomment tests

Kirill Bulatov created

8471a5f Finish all but the styling

Kirill Bulatov created

75074c3 Apply more fixes to the visual part

Kirill Bulatov created

676a072 First fixes

Kirill Bulatov created

6492523 Create a new crate

Kirill Bulatov created

229b5aa Style links in terminal (#3736)

Click to expand commit body
This PR styles links in the terminal using the colors from the theme.

Release Notes:

- N/A

Marshall Bowers created

57a372f Perform a bounds check when allocating in the arena (#3735)

Click to expand commit body
This ensures we don't invoke undefined behavior when overflowing.

Release Notes:

- N/A

Antonio Scandurra created

12bb13b Perform a bounds check when allocating in the arena

Click to expand commit body
This ensures we don't invoke undefined behavior when overflowing.

Co-Authored-By: Antonio <antonio@zed.dev>

Nathan Sobo and Antonio created

8f9e813 Show button as selected if screen sharing is on (#3734)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

53a1b26 Show a "disconnected overlay" when project becomes read-only (#3733)

Click to expand commit body
<img width="1136" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/9daaf21a-90d6-4074-9c65-360df5661221">


Release Notes:

- N/A

Antonio Scandurra created

6e1ba64 Show button as selected if screen sharing is on

Antonio Scandurra created

57f3a88 Render disconnected overlay when project becomes readonly

Antonio Scandurra created

390ccbc Disable focus when disconnecting from host

Antonio Scandurra created

8273865 Introduce `InteractiveElement::capture_any_mouse_{down,up}`

Antonio Scandurra created

5781cf6 Use `InteractiveBounds` everywhere we change the cursor style

Antonio Scandurra created

2f57a3c Popover buttons titlebar (#3732)

Click to expand commit body
Migrate project picker/vcs menu to use popover_menu.

Release Notes:
- N/A

Piotr Osiewicz created

ed5a9eb Fix sluggish experience when dragging tabs (#3731)

Click to expand commit body
The problem was caused by a missing call to `WindowContext::notify` when
moving the mouse. Actually, we *did* notify as part of a
`MouseMoveEvent` listener registered in `Interactivity` but that code
path was never exercised because we were clearing the
`pending_mouse_down`.

This pull request fixes the issue by automatically redrawing the window
in gpui when there is an active drag and the mouse moves.

Release Notes:

- N/A

Antonio Scandurra created

00927db Fix sluggish experience when dragging tabs

Click to expand commit body
The problem was caused by a missing call to `WindowContext::notify` when
moving the mouse. Actually, we *did* notify as part of a `MouseMoveEvent`
listener registered in `Interactivity` but that code path was never
exercised because we were clearing the `pending_mouse_down`.

This commit fixes the issue by automatically redrawing the window in gpui
when there is an active drag and the mouse moves.

Antonio Scandurra created

dfed171 Ensure that new view observers are called by WindowContext::replace_root_view (#3730)

Click to expand commit body
This fixes a bug where the window got into a bad, non-interactive state
when opening a project from an empty window.

Max Brunsfeld created

c81e89a Ensure that new view observers are called by WindowContext::replace_root_view

Max Brunsfeld created

71d17e2 Fix layout of diagnostic blocks (#3729)

Click to expand commit body
Previously, all of the lines in a multi-line error message were painted
on top of each other. I also simplified the logic for highlighting
backtick-enclosed ranges in a diagnostic message.

Max Brunsfeld created

305cd9b Style go-to-definition links (#3727)

Click to expand commit body
This PR styles go-to-definition links using the link color from the
theme.

Release Notes:

- N/A

Marshall Bowers created

3fccc64 Fix layout of diagnostic blocks

Max Brunsfeld created

0390fb1 Reintroduce LSP diagnostic/status message

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Julia and Antonio Scandurra created

afcf6c6 Map `textLink.activeForeground` from VS Code to `link_text_hover`

Marshall Bowers created

a0224b9 Use `link_text_hover` for go-to-definition links

Marshall Bowers created

53b76e3 Style pane drop targets (#3726)

Click to expand commit body
This PR styles the pane drop targets using the `drop_target_background`
color from the theme.

We do have to adjust the alpha channel of the color so that it doesn't
obscure the contents of the buffer.

Release Notes:

- N/A

Marshall Bowers created

547ad77 Style tab drop targets for project entries (#3725)

Click to expand commit body
This PR styles the drop targets when dragging a project entry onto a tab
or the tab bar.

I also adjusted the existing tab drop targets to use the
`drop_target_background` from the theme.

Release Notes:

- N/A

Marshall Bowers created

599ec5c Make collab panel usable from the keyboard, add missing styling (#3724)

Click to expand commit body
* allow confirming all items via the keyboard
* allow deploying the channel context menu via the keyboard
* add missing selected styling for list items

Max Brunsfeld created

afd3bf7 Add missing selected state and keyboard action for some collab panel items

Max Brunsfeld created

901795b Don't reset the collab panel when it loses focus

Max Brunsfeld created

1b09862 Restrcit context for some editor bindings that don't apply to single-line editors

Max Brunsfeld created