Commit log

76426ee Fix path to zed languages

Max Brunsfeld created

1184de6 Fix UI doc test

Max Brunsfeld created

a806123 cargo fmt

Max Brunsfeld created

83f4c61 Remove 2 suffix from gpui_macros, fix compile errors in tests

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

Max Brunsfeld and Mikayla created

f5ba226 Remove 2 suffix from gpui

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

Max Brunsfeld and Mikayla created

3c81dda Remove 2 suffix from live_kit_client

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

Max Brunsfeld and Mikayla created

ce4bc99 Merge branch 'main'

Max Brunsfeld created

dfcb17f Remove 2 suffix for theme

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

Max Brunsfeld and Mikayla created

4305c5f Remove 2 suffix for ui, storybook, text

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

Max Brunsfeld and Mikayla created

0cf6522 Remove 2 suffix for collab, rope, settings, menu

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

Max Brunsfeld and Mikayla created

177e302 Remove 3 suffix for git crate

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

Max Brunsfeld and Mikayla created

5ddd298 Remove 2 suffix for fs, db, semantic_index, prettier

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

Max Brunsfeld and Mikayla created

324ac96 Remove unneeded `theme` dependency

Marshall Bowers created

5007724 Remove unneeded `theme` dependency

Marshall Bowers created

6cb913d Decouple `theme_importer` from old GPUI 1 crates (#3866)

Click to expand commit body
This PR decouples the `theme_importer` from the `theme` and `gpui`
crates.

We achieve this by inlining all of the relevant bits needed to
deserialize Zed1 themes.

This will allow us to continue to import Zed1 themes after we land
#3862.

Release Notes:

- N/A

Marshall Bowers created

e43d5df Decouple `theme_importer` from old GPUI 1 crates (#3866)

Click to expand commit body
This PR decouples the `theme_importer` from the `theme` and `gpui`
crates.

We achieve this by inlining all of the relevant bits needed to
deserialize Zed1 themes.

This will allow us to continue to import Zed1 themes after we land
#3862.

Release Notes:

- N/A

Marshall Bowers created

53bdf6b Remove 2 suffix for client, call, channel

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

Max Brunsfeld and Mikayla created

9f99e58 Remove 2 suffix for lsp, language, fuzzy

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

Max Brunsfeld and Mikayla created

c5a1950 Remove 2 suffix for project

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

Max Brunsfeld and Mikayla created

4ddb262 Remove 2 suffix for ai, zed_actions, install_ci, feature_flags

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

Max Brunsfeld and Mikayla created

ecbd115 Remove 2 suffix for assistant, journal

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

Max Brunsfeld and Mikayla created

789ce8d Remove 2 suffix for workspace

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

Max Brunsfeld and Mikayla created

492805a Remove 2 suffix for multi_buffer, outline, copilot

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

Max Brunsfeld and Mikayla created

588976d Remove 2 suffix for editor

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

Max Brunsfeld and Mikayla created

bcad3a5 Remove 2 suffix for picker, feedback

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

Max Brunsfeld and Mikayla created

0ac8aae Remove 2 suffix for language_tools, search, terminal_view, auto_update

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

Max Brunsfeld and Mikayla created

292b339 Remove 2 suffix for language selector, project panel, recent_projects, copilot_button, breadcrumbs, activity_indicator

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

Max Brunsfeld and Mikayla created

2526943 Remove 2 suffix for vim, diagnostics, go_to_line, theme_selector, command_palette, file_finder

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

Max Brunsfeld and Mikayla created

37e6533 Remove 2 suffix for project_symbols, theme_selector

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

Max Brunsfeld and Mikayla created

2b8822f Remove 2 suffix for welcome, vcs_menu, quick_action_bar, collab_ui

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

Max Brunsfeld and Mikayla created

5ab789e v0.120.x dev

Joseph T. Lyons created

c268505 v0.119.x preview

Joseph T. Lyons created

7986ee1 Rename zed2 -> zed

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

Max Brunsfeld and Mikayla created

b594e59 Lay some groundwork for language plugins (#3837)

Click to expand commit body
This PR adds undocumented functionality for loading custom language
plugins at runtime. I don't intend to expose the functionality to end
users yet, but this will allow the team to test the capability
internally.

### Implementation

There isn't much new code in Zed. Most of the work here is within
Tree-sitter, in PRs https://github.com/tree-sitter/tree-sitter/pull/1864
and https://github.com/tree-sitter/tree-sitter/pull/2840, which allow
Tree-sitter to load languages from WASM blobs. I've tested the
functionality in Tree-sitter's test suite and via its CLI, but having it
wired into Zed allows us to test the functionality more fully.

### Details

Now, on startup, Zed will look for subdirectories inside of
`~/Application Support/plugins`. These subdirectories are expected to
look similar to the per-language subdirectories in
[`crates/zed2/src/languages`](https://github.com/zed-industries/zed/tree/main/crates/zed2/src/languages),
except that they also contain a `.wasm` file for the parser itself.

I'll add more details here as I go.

Max Brunsfeld created

5f84172 Return `impl IntoElement` in `Render` and `RenderOnce` traits (#3839)

Click to expand commit body
- Returning `IntoElement` because it's more universal than `Element` and
allows us to easily return components.
- Using `impl IntoElement` in `RenderOnce` for consistency, which
requires `Component` to allocate an `AnyElement`. We use a bump
allocated arena anyway for these, and my benchmark doesn't show an
impact.


![frame-time-histogram](https://github.com/zed-industries/zed/assets/1789/d3889cca-9ebc-4d72-aa68-34a5be3bad3c)

In this histogram, frames-0 is this PR, frames-1 is main.

Release Notes:

- N/A

Nathan Sobo created

d3e9760 Layout completion single-line documentation to the right of item (#3845)

Click to expand commit body
Don't love how this turned out, it seems uniform list doesn't tie the
widths of its items together, so there needs to be a set size to fill in
order to put the documentation detail on the right side. That means it
won't be able to shrink for completion lists which don't need the full
width. Zed1 has this same limitation but it would be nice to do it nicer
now

Before
![CleanShot 2024-01-02 at 16 04
04](https://github.com/zed-industries/zed/assets/30666851/6c154465-83cd-41c3-a16a-5f2ff5041bc1)

After
![CleanShot 2024-01-02 at 16 05
29](https://github.com/zed-industries/zed/assets/30666851/4f641040-a06a-4474-a2c7-bd3c89ae049e)

Release Notes:

- N/A

Marshall Bowers created

15fb9d9 Standardize icon naming

Nate Butler created

c4f7ded Merge branch 'main' into completion-menu-detail-layout

Marshall Bowers created

092eb37 Tweak styling for inline documentation labels

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

Marshall Bowers and Julia created

231fd1c Clip completion labels when they would otherwise overflow their container

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

Marshall Bowers and Julia created

127aced Update keybinding rendering

Nate Butler created

124604c Add pageup and pagedown icons and keybinding icons

Nate Butler created

b0bbb74 Add return, space, tab, escape keybinding icons

Nate Butler created

b348d0e Focus active item when pressing tab in buffer search bar (#3859)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

f4f9aab Remove `text_ui`

Click to expand commit body
So we don't regress from #3852.

Marshall Bowers created

209fe7e Focus active item when pressing tab in buffer search bar

Antonio Scandurra created

f73f735 Polish off channel buttons (#3858)

Click to expand commit body
This PR polishes off the channel buttons such that they behave as
expected.

The absolutely-positioned button container will now no longer take up
space—and thus obscure the channel name—when there are no notifications
and the channel entry is not hovered.

Release Notes:

- N/A

Marshall Bowers created

b4a205b Pane: Fix flicker when opening/closing tabs

Click to expand commit body
Tab bar was losing focus for one frame which led to it skipping rendering of tab controls & flickering. It also occured when opening new tabs.

Piotr Osiewicz created

406edd2 Merge branch 'main' into refine-render-traits

Piotr Osiewicz created

7747c5d Fix up storybooks in theme2

Piotr Osiewicz created