Commit log

0b1fda3 Remove `postage` from `zed-server`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

24cb44f Remove `postage` from `rpc`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

32fd4eb Insert project id in connection's project during project registration

Click to expand commit body
...in contrast to doing so during worktree registration. This fixes a
randomized test failure which would panic because store invariants would be
violated. This would happen when a peer disconnected before it had a chance
to register a worktree because, when removing all the state associated with
that peer upon disconnection, we would notice the registered project without
however finding it in the peer's connection state.

Antonio Scandurra created

222cd09 Allow host to reconnect to the server in randomized test

Antonio Scandurra created

c994263 Don't insert an empty vector in `Project::buffer_snapshots`

Click to expand commit body
Other code paths rely on at least a version always being there, so
we should enforce that invariant everywhere.

Antonio Scandurra created

663beab Avoid panicking when receiving a request for a dropped buffer

Antonio Scandurra created

3daaef0 Replace `postage::oneshot` with `futures::channel::oneshot`

Click to expand commit body
This fixes an error in the randomized test that would cause the future
returned from `Worktree::share` to never finish due to a bug in `postage`
that causes its waker to not be notified upon drop.

Antonio Scandurra created

da97601 Allow `simulate_guest` and `simulate_host` to fail when host disconnects

Antonio Scandurra created

fae9048 Remove non-determinism from `Peer` caused by using std's `HashMap`

Antonio Scandurra created

3e40b5b dynamically inject theme names and language properties into schema

Keith Simmons created

c801a52 Convert some actions to use named fields

Click to expand commit body
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Keith Simmons <keith@zed.dev>

Max Brunsfeld , Nathan Sobo , and Keith Simmons created

5242a3a Restructure action macro to assign a namespace to every action

Click to expand commit body
Also, allow arbitrary types to be used as Actions via the impl_actions macro

Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Keith Simmons <keith@zed.dev>

Max Brunsfeld , Nathan Sobo , and Keith Simmons created

035cd37 Add explicit types for LanguageOverrides and Themes to SettingsFileContent in order to improve completions in zed settings file

Keith Simmons created

206b0f0 0.25.0

Max Brunsfeld created

717f53e WIP

Nathan Sobo created

0b8eed6 Merge pull request #765 from zed-industries/yield-lsp

Click to expand commit body
Don't starve UI thread when rapidly receiving LSP messages

Antonio Scandurra created

80d55fd Don't starve UI thread when rapidly receiving LSP messages

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

Nathan Sobo and Antonio Scandurra created

7a151ff Merge pull request #764 from zed-industries/refine-event-handlers-behavior

Click to expand commit body
Calculate hit-box based on visible bounds in `{Mouse}EventHandler`

Nathan Sobo created

b396909 Calculate hitbox based on visible bounds in `{Mouse}EventHandler`

Click to expand commit body
This is in contrast to not dispatching the event altogether in `Flex` when
the event is not contained in the flex element bounds. That approach was
problematic because it didn't give an opportunity to `MouseEventHandler`s
to handle mouse move events when they didn't intersect with the element bounds,
causing elements to never clear their hover state, cursor style, etc.

Antonio Scandurra created

73f2fd6 Pass visible bounds to `Element::dispatch_event`

Antonio Scandurra created

ae415ee Merge pull request #763 from zed-industries/inconsistent-diagnostic-state

Click to expand commit body
Fix bad diagnostic state when restarting a language server w/ a running diagnostic task

Antonio Scandurra created

7c21b61 Merge pull request #748 from zed-industries/fix-outline-panic

Click to expand commit body
Don't assume there are always matches in outline view

Antonio Scandurra created

52251c3 Merge pull request #745 from zed-industries/scroll-tabs

Click to expand commit body
Allow pane tabs to be scrolled when they overflow

Antonio Scandurra created

f73de20 Fix diagnostic updates after restarting an LSP w/ a pending diagnostic job

Max Brunsfeld created

b354af7 Use an unbounded channel in gpui test helper methods

Click to expand commit body
The bounded channel could fill up when many events were emitted in one
effect cycle.

Max Brunsfeld created

ce54701 Merge pull request #759 from zed-industries/breadcrumb-multibuffer-fix

Click to expand commit body
Update breadcrumbs when multibuffers' excerpts change

Max Brunsfeld created

ec837fa Update breadcrumbs when multibuffers' excerpts change

Max Brunsfeld created

8f38ac8 Tweak structure of Project::on_lsp_progress so it can be auto-formatted

Click to expand commit body
Previously, rustfmt seems to have given up on formatting this method.

Max Brunsfeld created

f9e1b4d Merge pull request #758 from zed-industries/open-excerpts-in-same-pane

Click to expand commit body
Don't activate the next pane when opening excerpts

Max Brunsfeld created

ea63df0 Don't activate the next pane when opening excerpts

Max Brunsfeld created

3d8e4ad Merge pull request #757 from zed-industries/restructure-settings

Click to expand commit body
Enable language specific tab sizes

Max Brunsfeld created

67b15ee Use language specific tabsize in editor commands

Click to expand commit body
Co-authored-by: Max Brunsfeld <max@zed.dev>

Keith Simmons and Max Brunsfeld created

36f4d8f Fix typescript indent size

Keith Simmons created

1812480 Tab size is pulled properly from settings instead of hardcoded

Keith Simmons created

866ffdd Move Settings to its own crate

Click to expand commit body
Co-authored-by: Keith Simmons <keith@zed.dev>

Max Brunsfeld and Keith Simmons created

664f17f Avoid maintaining indent size as state on buffers

Click to expand commit body
Indent size is still hard-coded, but it's now controlled by the
editor and not the buffer.

Co-authored-by: Keith Simmons <keith@zed.dev>

Max Brunsfeld and Keith Simmons created

0214bec Don't dispatch events to flex children outside of parent flex's bounds

Nathan Sobo created

e21f90f Merge pull request #747 from zed-industries/styles-in-typescript

Click to expand commit body
Style the Zed app using Typescript styleTrees and Design Tokens

Nathan Sobo created

b1eda1a Add border to top of status bar

Nate Butler created

e584e89 Update light theme

Nate Butler created

d3cfd1c Use standard text sizes for signInPrompt

Nate Butler created

ca64b08 Don't assume there are always matches in outline view

Nathan Sobo created

c289cdc 💄

Nathan Sobo created

36fede7 💄 token-building script and output destinations

Click to expand commit body
Just some organization here.

Nathan Sobo created

f29b8c7 Remove `message.txt`

Nate Butler created

d7342e2 Use `Pane::activate_item` when navigating to remove duplicated logic

Antonio Scandurra created

1453954 Autoscroll to active tab when activating a new item

Antonio Scandurra created

e201826 Update Light & Dark themes

Nate Butler created

eb99588 Remove stray dbg! expressions

Nathan Sobo created

ab3bbe1 Make the tabs scrollable when they overflow

Click to expand commit body
This adds the ability to make a Flex element scrollable by passing a type tag and instance id, which we use to store the scroll position in an ElementStateHandle.

Still need to allow the element to auto-scroll.

Nathan Sobo created