Commit log

da3a417 Bump row_count for buffer search

Piotr Osiewicz created

b2f773e Increase padding on search

Piotr Osiewicz created

3b1e5e9 What if we base themes on Rose Pine

Nathan Sobo created

b3447ad Dial in the channel creating/renaming UI

Click to expand commit body
* Ensure channel list is in a consistent state with no flicker while the
  channel creation / rename request is outstanding.
* Maintain selection properly when renaming and creating channels.
* Style the channel name editor more consistently with the non-editable
  channel names.

Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

076b72c Improve styling of collab panel

Max Brunsfeld created

ac1b2b1 Send user ids of channels of which they are admins on connecting

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

Max Brunsfeld and Mikayla created

60e25d7 Send channel permissions to clients when they fetch their channels

Max Brunsfeld created

268f4b1 Restore shutdown behavior (#2837)

Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/1898

Restores original close behavior from
https://github.com/zed-industries/zed/pull/2832/files#diff-89af0b4072205c53b518aa977d6be48997e1a51fa4dbf06c7ddd1fec99fc510eL444
(load diff for the last file, zed.rs)

and adds a better name for the variable.

Release Notes:

- Fixes `cmd-q` not working

Max Brunsfeld created

704ab33 Restore shutdown behavior

Kirill Bulatov created

a3623ec Add renames

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

Mikayla and max created

eed49a8 Fix bad merge

Mikayla created

707e41c Merge branch 'collab-panel' of github.com:zed-industries/zed into collab-panel

Mikayla created

99daa73 Merge branch 'main' into collab-panel

Mikayla created

778fd6b Represent channel relationships using paths table

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

Max Brunsfeld and Mikayla created

498d043 Avoid leak of channel store

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

Max Brunsfeld and Mikayla created

beffe6f WIP BROKEN

Nate Butler created

230b894 v0.100.x dev

Joseph T. Lyons created

40030f3 Fix two mouse event bugs (#2835)

Click to expand commit body
This PR fixes two bugs we discovered in Zed's mouse event handling while
investigating an interesting and mysterious bug we we were seeing, where
spurious `MouseMoved` events would continuously be dispatched after
control-clicking.

Release Notes:

- Fixed a rendering glitch that could occur after control-clicking
certain elements.

Mikayla Maki created

c58cf39 Add cycle mode command for buffer search

Piotr Osiewicz created

a5cb4c6 Fix selections and enter-to-create-file

Mikayla created

6cc0b81 Add `ui_sans` as a font option in the theme (#2836)

Click to expand commit body
This adds IBM Plex as a font option available to use as `ui_sans`

Note: This PR adds a static list of accepted font types in `/font`, as
LICENSE files were causing the app to crash when Zed was trying to load
them as fonts.

Release Notes:

- N/A (No user facing changes)

Thanks @ForLoveOfCats for getting me unstuck ❤️

Nate Butler created

85af025 Add IBM Plex license

Nate Butler created

af388e7 Only load TTF fonts for now, additional font types will need to be manually added

Click to expand commit body
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>

Nate Butler and Julia created

183c292 Remove license causing unwrap error

Click to expand commit body
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>

Nate Butler and Julia created

b23f1c8 WIP add IBM Plex Sans

Click to expand commit body
(base) natebutler@Nate16 zed % cargo run
   Compiling zed v0.99.0 (/Users/natebutler/Code/zed/zed/crates/zed)
    Finished dev [unoptimized + debuginfo] target(s) in 9.15s
     Running `target/debug/Zed`
Thread "main" panicked with "called `Result::unwrap()` on an `Err` value: parse error" at crates/zed/src/main.rs:667:10
   0: backtrace::backtrace::libunwind::trace
             at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/libunwind.rs:93:5
      backtrace::backtrace::trace_unsynchronized
             at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/mod.rs:66:5
   1: backtrace::backtrace::trace
             at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/mod.rs:53:14
   2: backtrace::capture::Backtrace::create
             at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/capture.rs:176:9
   3: backtrace::capture::Backtrace::new
             at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/capture.rs:140:22
   4: Zed::init_panic_hook::{{closure}}
             at crates/zed/src/main.rs:436:29
   5: std::panicking::rust_panic_with_hook
   6: std::panicking::begin_panic_handler::{{closure}}
   7: std::sys_common::backtrace::__rust_end_short_backtrace
   8: _rust_begin_unwind
   9: core::panicking::panic_fmt
  10: core::result::unwrap_failed
  11: core::result::Result<T,E>::unwrap
             at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/core/src/result.rs:1089:23
  12: Zed::load_embedded_fonts
             at crates/zed/src/main.rs:664:5
  13: Zed::main
             at crates/zed/src/main.rs:80:5
  14: core::ops::function::FnOnce::call_once
             at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/core/src/ops/function.rs:250:5
  15: std::sys_common::backtrace::__rust_begin_short_backtrace
             at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/sys_common/backtrace.rs:134:18
  16: std::rt::lang_start::{{closure}}
             at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/rt.rs:166:18
  17: std::panicking::try
  18: std::rt::lang_start_internal
  19: std::rt::lang_start
             at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/rt.rs:165:17
  20: _mai

Nate Butler created

17d505b Reset search index on mode change

Piotr Osiewicz created

28a5766 buffer: Add magnifying glass icon

Piotr Osiewicz created

6fbef9f chore: update fn paint

Piotr Osiewicz created

7ef5656 Merge branch 'main' into project_search_design

Piotr Osiewicz created

8b03322 Go back to previous mode on rejection of semantic indexing

Piotr Osiewicz created

82c903d Rename node to frame

Nathan Sobo created

c95aecd Merge branch 'main' into cells

Nathan Sobo created

8ed5e8f Pass PaintContext to Element::paint (#2788)

Click to expand commit body
I want to use this on another branch, but it's a sweeping change, so
this prepares the ground for it. This can always be reverted if it
doesn't work out.

Nathan Sobo created

bed0d1d Fix language detection when file name begins with a `.` (#2833)

Click to expand commit body
I went to add in `zprofile` to the bash language config to get syntax
highlighting for it. After adding it in, Zed was still not highlighting
the file. I checked and saw that we are using `Path::extension()` in
`language_for_file()`, which [returns `None` when a file's name begins
with a
`.`](https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.extension),
such as in the case of `.zprofile`. This PR adds a custom method, with
some tests, that just tries to grab the last component in the file name
if `Path::extension` returns `None`. Not sure if `ext` is the best name,
but I can't use `extension`.

Maybe this method should be called `extension_or_hidden_file_name()`?

Release Notes:

- Fixed a bug where language detection would fail for files starting
with `.` in their names.
- Added syntax highlighting for `.zprofile` files

Joseph T. Lyons created

c523ccc Fix code that identifies language via extension

Joseph T. Lyons created

2605ae1 Use Arc::make_mut in ChannelStore

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

Max Brunsfeld and Mikayla created

0b93a30 Terminate synthetic drag state on mouse up w/ ctrl held

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

Max Brunsfeld and Mikayla created

e3bb5e5 Fix failure to remove hovered region_ids on element removal

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

Max Brunsfeld and Mikayla created

db96fb1 Merge remote-tracking branch 'origin/main' into paint-context

Nathan Sobo created

54ca5f1 Replace context methods that take a window id with methods on window handles (#2832)

Click to expand commit body
With this PR, I've eliminated almost all references to window ids
outside of the internals of GPUI. All public methods taking these ids
are now defined on `AnyWindowHandle`, which provides a more coherent
narrative around windows as a concept.

Nathan Sobo created

d34da2d fix dismiss tooltip for project search

Piotr Osiewicz created

22f630e chore: remove unused function

Piotr Osiewicz created

f978acd buffer: use shared func for nav button rendering

Piotr Osiewicz created

0dc70e6 Rename mac platform Window to MacWindow for clarity

Nathan Sobo created

fc96676 Use AppContext::update when updating windows so we handle effects

Nathan Sobo created

e2b8e6c chore: fix compiler warnings

Piotr Osiewicz created

a583d1c Do not display match count when query is empty

Piotr Osiewicz created

b282bdf buffer: finish up moving things around

Piotr Osiewicz created

e1724da buffer: WIP style sides of buffer search

Piotr Osiewicz created

8e49d14 Minimize window id usage

Nathan Sobo created