Commit log

d6412fd Delete old `Peer` implementation and adapt previous code paths

Click to expand commit body
This still doesn't compile but should be close.

Antonio Scandurra created

5dee7ec Start using the new `zrpc::peer2::Peer` in Server

Antonio Scandurra created

9336c02 Start on a peer2 module with an alternative implementation

Nathan Sobo created

3f5db72 Remove shared_worktrees map from ClientState

Click to expand commit body
Each worktree instance now handles its own messages.

Nathan Sobo created

37f24d1 Subscribe to worktree messages at the entity level

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

4191e3a Simplify logic for guaranteeing stable sort order of references

Max Brunsfeld created

ef421d7 Implement broadcast of typed envelopes

Click to expand commit body
This required a rework of the macro so that we can always construct a typed envelope from our list of available message types from incoming protobuf envelopes.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

541f58e Start on subscribing to messages in channel entity instances

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

Nathan Sobo , Max Brunsfeld , and Antonio Scandurra created

1a4bd3a Implement a topological sort for references in themes

Max Brunsfeld created

92df60f In themes, replace variables with more general reference construct

Max Brunsfeld created

5b599a3 WIP

Nathan Sobo created

ff822c9 wip

Max Brunsfeld created

4a32bd6 Implement initial RPC endpoints for chat

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

Max Brunsfeld and Nathan Sobo created

149fb57 Expose titlebar_height in LayoutContext

Nathan Sobo created

e16c62e Add platform::Window::titlebar_height

Nathan Sobo created

13ee9c2 Start work on server-side RPC handling for chat

Max Brunsfeld created

109d827 Add server methods for creating chat domain objects

Click to expand commit body
Also, consolidate all sql into a `db` module

Max Brunsfeld created

2b9b9b8 Add seed-db script

Max Brunsfeld created

0b6376b Add several proto messages for chat

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

Max Brunsfeld and Nathan Sobo created

775bf8d Add seed target for inserting seed data

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

Max Brunsfeld and Nathan Sobo created

14f45ac Log error when failing to load a theme in ThemeSelector

Max Brunsfeld created

1910a4c Add DB migration for chat tables

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

Max Brunsfeld and Nathan Sobo created

34eb2c4 Start on custom titlebar

Nathan Sobo created

d9ab406 Merge pull request #123 from zed-industries/fix-word-boundary-movement-multibyte

Click to expand commit body
Fix moving to next word boundary with multi-byte characters

Nathan Sobo created

01fcec5 Merge pull request #125 from zed-industries/theme-variables

Click to expand commit body
Add flexible theme system

Nathan Sobo created

d37a987 Improve border parsing in themes

Click to expand commit body
The `top`, `left`, `bottom` and `right` fields are optional.
If none are specified, then they are all set to true.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

522fac9 Fix compile error in tests

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

1a21902 Move fuzzy mod out of worktree

Click to expand commit body
We now match against arbitrary strings in addition to paths.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

593afb2 Change reload theme binding

Nathan Sobo created

039dae0 Remove logging

Nathan Sobo created

85a0763 Merge branch 'main' into theme-variables

Nathan Sobo created

d484d80 Match file finder icon color to label color

Nathan Sobo created

33a8942 Pull empty selector label styling from correct place in theme

Nathan Sobo created

7494a39 Specify tab padding in theme

Nathan Sobo created

4d94758 Reload current theme on cmd-k shift-T

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

8238c87 Test bundled themes and store names on themes

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

Max Brunsfeld and Nathan Sobo created

802f1f4 Get new theme structure working

Click to expand commit body
* Fix precedence of extends directives
* Always group color with font properties for text theming

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

56354c7 Avoid crashes when laying out lines containing byte order marks

Click to expand commit body
This solution isn't perfect and we'll probably have layout bugs with these lines, but this prevents us from triggering undefined behavior.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

5761756 Move remaining theme-related code and tests from settings mod to theme mod

Nathan Sobo created

90b51c3 Implement themes::ThemeRegistry::get

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

ca9862f Start on new theme::ThemeRegistry

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

81041d7 Restructure Theme with new style objects

Max Brunsfeld created

ef0ffbe Use custom color wrapper type everywhere in gpui & zed

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

Max Brunsfeld and Nathan Sobo created

fa01273 Extract {Container,Label}Style structs from those elements

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

Max Brunsfeld and Nathan Sobo created

200e278 💄

Nathan Sobo created

4c53470 Notify all views when a theme is selected

Nathan Sobo created

b30d0da Add a theme picker

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

Max Brunsfeld and Nathan Sobo created

e080739 Remove use of replace_with crate for managing element lifecycles

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

Max Brunsfeld and Nathan Sobo created

76c07fb Make Theme::default have a non-empty replica theme vector

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

Max Brunsfeld and Nathan Sobo created

d5ec0c8 Fix moving to next word boundary with multi-byte characters

Click to expand commit body
Previously, for a given point, we would create a char iterator at
the start of the row and the skip `column` characters. This is
however incorrect because display points are expressed in bytes,
and so we could park the anchor midway through a multi-byte character.

This commit fixes the issue by switching `DisplayMap::chars_at` to
take a point instead and skipping characters correctly when a point with
a non-zero column is provided.

Antonio Scandurra created