Commit log

9367f71 Rework db-seeding, so that it doesn't depend on a github auth token

Click to expand commit body
Instead, admins are specified using a JSON file, 'admins.json'. This file is
gitignored. If it is not present, there is a default list of admins in
'admins.default.json'.

Max Brunsfeld created

b2afa73 Decrease the size of timestamps in the assistant conversation editor (#4101)

Click to expand commit body
This PR decreases the size of the timestamps in the assistant's
conversation editor.

Ideally we'd want to align the baseline of the timestamp text with the
text in the sender button. I spent a while trying to do this, but it
seems like it may be pretty tricky.

Release Notes:

- Decreased the size of timestamps in the assistant panel conversation
editor.

Marshall Bowers created

d2eab5c Properly register workspace handlers for search elements (#4100)

Kirill Bulatov created

1e67577 Ignore buffer search events if it's not for the current buffer

Kirill Bulatov created

65be909 Implement similar workspace registration flow for project search actions

Kirill Bulatov created

0be2f7f Properly register buffer_search'es actions handlers

Click to expand commit body
Now those handlers do not intercept events/actions when the buffer search bar is dismissed.

co-authored-by: Piotr <piotr@zed.dev>

Kirill Bulatov and Piotr created

306e469 Start adding project search listeners to workspace

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

To be able to trigger them from search multibuffer excerpts.

Kirill Bulatov created

c6c56c3 Downgrade LiveKit client (#4096)

Click to expand commit body
There's a deadlock that we're seeing when joining a room, which we think
is a bug in the LiveKit client.

Also, we're still getting crashes when leaving calls:
https://github.com/livekit/client-sdk-swift/issues/299.

At this point, we believe both problems are due to recent changes to the
LiveKit swift sdk.

Max Brunsfeld created

15a21f5 Also update chat location when opening a new workspace (#4099)

Click to expand commit body
This happens a lot in guest workflows where they open the call with a
link and are jumped straight to a shared workspace.

Release Notes:

- Fixed opening the chat automatically in new windows

Conrad Irwin created

e1194e0 Document LSP crate (#4098)

Click to expand commit body
Release Notes:

- N/A

Julia created

552d2c2 Also update chat location when opening a new workspace

Click to expand commit body
This happens a lot in guest workflows where they open the call with a
link and are jumped straight to a shared workspace.

Conrad Irwin created

d7503a7 Document LSP crate

Click to expand commit body
Co-Authored-By: Thorsten Ball <thorsten@zed.dev>

Julia and Thorsten Ball created

cf5dc09 Add more documentation to `collab` (#4095)

Click to expand commit body
This PR adds more documentation to the `collab` crate.

Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>

Marshall Bowers and Conrad created

6734e52 Revert "Bump livekit client"

Click to expand commit body
This reverts commit 5730d0ef2107f2a10fe01595ce34f14f97e289ad.

Max Brunsfeld created

4e4a1e0 Document the public interface of the `vim` crate (#4093)

Click to expand commit body
This PR documents the public interface of the `vim` crate.

Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>

Marshall Bowers and Conrad created

ed67363 Update README.md

Click to expand commit body
FIx typos

Nate Butler created

c4ba5ef Update Readme & building Zed doc (#4094)

Click to expand commit body
This PR cleans out the README.md, moves most relevant build details to
`docs/src/developing_zed__building_zed.md`.

It also restructures and cleans up the Building Zed doc.

There are a number of outstanding TODOs to have this doc be ready for
external folks to be able to build Zed.

Release Notes:

- N/A

Nate Butler created

d0f22df Reorganize building zed doc

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>

Nate Butler and Joseph T. Lyons created

29df128 Add CONTRIBUTING.md (#3656)

Click to expand commit body
Written by @iamnbutler 

This PR adds a basic CONTRIBUTING.md. It has a few links that need to be
added, which we marked as coming soon.

Here are a number of follow up tasks we need to do:

- [ ] Add CLA link
- [ ] Add public roadmap link
- [ ] Add link to channels doc once it is up
- [ ] Add link explaining how to find a channel related to your
contribution or or to create one

Release Notes:

- N/A

Nate Butler created

b64ae4d Update developing zed doc

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>

Nate Butler and Joseph T. Lyons created

9415f09 Clean out old readme contents

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>

Nate Butler and Joseph T. Lyons created

6457ccf Add docs for buffer.rs

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

Max Brunsfeld and Antonio created

904695e Refine MVP CONTRIBUTING.md

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>

Nate Butler and Joseph T. Lyons created

ef0432d Hide cursors by default, but show some

Conrad Irwin created

df67917 Make channel buttons square (#4092)

Click to expand commit body
This PR makes the channel buttons square.

Release Notes:

- Adjusted the shape of the channel buttons.

Marshall Bowers created

19c488b Add the `color` crate (#4063)

Click to expand commit body
This PR adds the `color` crate, which will be the home of a number of
color-related utilities, and also acts as an interface between
[`palette`](https://crates.io/crates/palette) and the way `gpui` colors
work.

The goal of this crate is to centralize color utilities like mixing and
blending, building color ramps and sets of colors for state and more.

## Todo:

- [x] hex -> Color
- [x] Color mixing
- [x] Color blending using blend modes (overlay, multiply, etc)
- [ ] ~~Build color ramp from color~~
- [x] Build state set from color
- [ ] ~~Update Theme to use the color crate~~

Release Notes:

- None (Internal changes: Adds the `color` crate for working with
colors.)

Nate Butler created

4cdcac1 Update docs

Nate Butler created

9c557aa Fix regression of welcome screen background color (#4091)

Click to expand commit body
In #3910 we made the welcome screen use the same background color as the
editor.

However, this later regressed in
cdd5cb16ed896b2ee3bbb041983ee7cb812f6991.

This PR fixes that regression and restores the correct color for the
welcome page.

Release Notes:

- Fixed the background color of the welcome screen.

Marshall Bowers created

e2788f1 Limit number of collaborators in local Facepiles (#4083)

Click to expand commit body
Release Notes:

- Improves the rendering of the facepile in the titlebar with many
people

Conrad Irwin created

6566445 Allow leaving calls once project is unshared (#4081)

Click to expand commit body
Release Notes:

- Fixes a bug where you could not use call controls after a project was
unshared

Conrad Irwin created

2fbf42d Z index shenanigans (#4089)

Click to expand commit body
Release Notes:

- Fixed a bug allowing certain UI elements to render incorrectly when
overlapping.

Julia created

a601e96 Style collab notifications properly

Kirill Bulatov created

21ceb14 Remove memmove to improve terminal performance (#4088)

Click to expand commit body
This removes the terminal performance slightly by removing memmoves that
aren't needed after inlining a call.

It also removes a possibly unnecessary `String` allocation.

Release Notes:

- Improved terminal rendering performance by reducing allocations and
memory operations.

Thorsten Ball created

977832a Refresh window, bypassing view cache, when opening hover or context menu

Julia created

5112746 Remove memmove to improve terminal performance

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

Thorsten Ball and Antonio created

79679cb Submit bigger primitive batches when rendering (#4087)

Click to expand commit body
Before this change we wouldn't submit all possible primitives of the
same kind that are less-than the max order.

Result was that we would submit, say, 10 paths each in a separate batch
instead of actually batching them.

This was overly strict because even if the order of two different
primitives was the same, we could have still batched the 1st primitive
kind, if its implicit ordering was less than 2nd kind.

Example: say we have the following primitives and these orders

  5x paths, order 3
  2x sprites, order 3

Previously, we would submit 1 path, 1 path, 1 path, 1 path, 1 path, then
the sprites.

With this changes, we batch the 5 paths into one batch.

Release Notes:

- Improved performance when rendering lots of selection.

Antonio Scandurra created

5b0b9ff Submit bigger primitive batches when rendering

Click to expand commit body
Before this change we wouldn't submit all possible primitives of the
same kind that are less-than the max order.

Result was that we would submit, say, 10 paths each in a separate batch
instead of actually batching them.

This was overly strict because even if the order of two different
primitives was the same, we could have still batched the 1st primitive
kind, if its implicit ordering was less than 2nd kind.

Example: say we have the following primitives and these orders

  5x paths, order 3
  2x sprites, order 3

Previously, we would submit 1 path, 1 path, 1 path, 1 path, 1 path, then
the sprites.

With this changes, we batch the 5 paths into one batch.

Co-authored-by: Antonio <antonio@zed.dev>

Thorsten Ball and Antonio created

f6b7a06 Fix missing Ctrl-[ bindings in Vim mode (#4086)

Click to expand commit body
This "adds" the keybindings I was missing in Vim mode (e.g. `Ctrl-[` to
cancel a selection) by fixing the definitions in the keymap from
`Ctrl+[` to `Ctrl-[`.

Release Notes:

- Fixed missing `Ctrl-[` keybindings in Vim mode where `Ctrl-[` should
act like `Esc` but didn't.

Thorsten Ball created

04922d6 Fix missing Ctrl-[ bindings in Vim mode

Click to expand commit body
This "adds" the keybindings I was missing in Vim mode (e.g. `Ctrl-[` to
cancel a selection) by fixing the definitions in the keymap from
`Ctrl+[` to `Ctrl-[`.

Thorsten Ball created

0cfec6e Fix segfault when drawing paths (#4084)

Click to expand commit body
Previously, we were using `size_of` but passing the wrong type in
(`MonochromeSprite` instead of `PathSprite`). This caused us to read
outside of the `sprites` smallvec and triggered the segfault. This
reverts #4078 because I don't think using a `SmallVec` was the issue (it
might have masked this problem though, because we would most of the time
copy from the stack and not from the heap).

With this pull request we are also fixing another potential source of
segfaults, due to checking if we exhausted the instance buffer too late
when drawing underlines.

Release Notes:

- Fixed a crash that could happen during rendering.

Antonio Scandurra created

3789e7e Stop using button for collab notifications (#4085)

Click to expand commit body
Attempts to fix 
<img width="472" alt="Screenshot 2024-01-16 at 19 41 56"
src="https://github.com/zed-industries/zed/assets/2690773/5a8d0691-eabb-4e92-9186-362ca8ef9ca6">

by switching from buttons to labels (so that they can wrap) and adding a
background to them, so they are more visible

<img width="446" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/bb228aae-0abc-45b4-a0f5-a928a2e64390">
<img width="485" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/b7fa3598-59b8-4a74-97e6-790695e37047">


Release Notes:

- N/A

Kirill Bulatov created

39dff0e Stop using button for collab notifications

Kirill Bulatov created

9c33790 Check if we exhausted the instance buffer prior to copying underlines

Click to expand commit body
This fixes another potential segfault.

Antonio Scandurra created

97bd3e1 Fix segfault caused by wrong size of path sprites bytes length

Click to expand commit body
Previously, we were using `size_of` but passing the wrong type in
(MonochromeSprite instead of PathSprite). This caused us to read outside
of the `sprites` smallvec and triggered the segfault.

Antonio Scandurra created

80852c3 Add documentation to the new test

Mikayla created

a99ee5e Fix test failures

Mikayla created

cae35d3 Fix draw helper, add helper traits for selecting groupings of input events

Mikayla created

0ca9f28 Show cursors for remote participants

Conrad Irwin created

1d5b237 Allow leaving calls once project is unshared

Conrad Irwin created

8be798d Limit number of collaborators in local Facepiles

Conrad Irwin created