Commit log
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
2 years ago
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
2 years ago
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
2 years ago
17d505b
Reset search index on mode change
Piotr Osiewicz
created
2 years ago
28a5766
buffer: Add magnifying glass icon
Piotr Osiewicz
created
2 years ago
6fbef9f
chore: update fn paint
Piotr Osiewicz
created
2 years ago
7ef5656
Merge branch 'main' into project_search_design
Piotr Osiewicz
created
2 years ago
8b03322
Go back to previous mode on rejection of semantic indexing
Piotr Osiewicz
created
2 years ago
82c903d
Rename node to frame
Nathan Sobo
created
2 years ago
c95aecd
Merge branch 'main' into cells
Nathan Sobo
created
2 years ago
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
2 years ago
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
2 years ago
c523ccc
Fix code that identifies language via extension
Joseph T. Lyons
created
2 years ago
2605ae1
Use Arc::make_mut in ChannelStore
Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>
Max Brunsfeld
and
Mikayla
created
2 years ago
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
2 years ago
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
2 years ago
db96fb1
Merge remote-tracking branch 'origin/main' into paint-context
Nathan Sobo
created
2 years ago
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
2 years ago
d34da2d
fix dismiss tooltip for project search
Piotr Osiewicz
created
2 years ago
22f630e
chore: remove unused function
Piotr Osiewicz
created
2 years ago
f978acd
buffer: use shared func for nav button rendering
Piotr Osiewicz
created
2 years ago
0dc70e6
Rename mac platform Window to MacWindow for clarity
Nathan Sobo
created
2 years ago
fc96676
Use AppContext::update when updating windows so we handle effects
Nathan Sobo
created
2 years ago
e2b8e6c
chore: fix compiler warnings
Piotr Osiewicz
created
2 years ago
a583d1c
Do not display match count when query is empty
Piotr Osiewicz
created
2 years ago
b282bdf
buffer: finish up moving things around
Piotr Osiewicz
created
2 years ago
e1724da
buffer: WIP style sides of buffer search
Piotr Osiewicz
created
2 years ago
8e49d14
Minimize window id usage
Nathan Sobo
created
2 years ago
a7bd05e
buffer: use icons for search options
Piotr Osiewicz
created
2 years ago
afd89b2
Store AnyWindowHandles instead of usizes
Nathan Sobo
created
2 years ago
bbe4a9b
Position and style the channel editor correctly
Click to expand commit body
Fix a bug where some channel updates would be lost
Add channel name sanitization before storing in the database
Mikayla
created
2 years ago
b708824
Position and style the channel editor correctly
Click to expand commit body
Fix a bug where some channel updates would be lost
Add channel name sanitization before storing in the database
Mikayla
created
2 years ago
c96b03a
Piotr/optimize search selections with a limit (#2831)
Click to expand commit body
/cc @nathansobo @maxbrunsfeld
Release Notes:
- Fixed scrollbar selections causing noticeable slowdowns with large
quantities of selections.
Piotr Osiewicz
created
2 years ago
d00f6a4
Fix a bug where channel invitations would show up in the channels section
Click to expand commit body
Block non-members from reading channel information
WIP: Make sure Arc::make_mut() works
Mikayla
created
2 years ago
6a7245b
Fix positioning on face piles, fix panic on member invite removal
Mikayla
created
2 years ago
1e8a9cc
Merge remote-tracking branch 'origin/main' into window-handles
Nathan Sobo
created
2 years ago
b77c336
Return window handles from WeakItemHandle
Nathan Sobo
created
2 years ago
b2d9ccc
Move more window methods off AsyncAppContext
Nathan Sobo
created
2 years ago
95cd96e
Move debug_elements to AnyWindowHandle
Nathan Sobo
created
2 years ago
4f10f0e
Remove window methods from AsyncAppContext
Nathan Sobo
created
2 years ago
1fd80ba
Remove AsyncAppContext::remove_window
Nathan Sobo
created
2 years ago
fe6a188
Remove unused dock code
Nathan Sobo
created
2 years ago
0a4633f
Remove more window id usage
Nathan Sobo
created
2 years ago
da7dc9c
Work with window handles instead of ids in drag code
Nathan Sobo
created
2 years ago
d896d89
Store an AnyWindowHandle in WindowContext
Nathan Sobo
created
2 years ago
Mikayla
created
2 years ago
662e196
Calculate the range for each color family in a theme (#2738)
Click to expand commit body
Release Notes:
- N/A (Internal theme stuff)
Nate Butler
created
2 years ago
49f1f1c
Remove window when closing workspace in test
Nathan Sobo
created
2 years ago
2c570fb
Move option button rendering to search_bar
Piotr Osiewicz
created
2 years ago
343e9d0
Finish migration to modes for buffer search
Piotr Osiewicz
created
2 years ago
Page 78 of 301