Commit graph

30043 commits

Author SHA1 Message Date
Max Brunsfeld
4a3d56749e Remove debugging code, commented code 2025-07-30 16:04:59 -07:00
Max Brunsfeld
3519e8fd7c Restore text example 2025-07-30 15:59:47 -07:00
Max Brunsfeld
b3372e7eac Read direct_composition env var once, pass it everywhere 2025-07-30 15:51:26 -07:00
Max Brunsfeld
4f7bb14acf Merge branch 'windows/dx11' into windows/remove-d2d 2025-07-30 15:51:03 -07:00
Kate
99c5b72b3d
finally the font looks nice 2025-07-31 00:00:35 +02:00
Junkui Zhang
c995dd2016 more context 2025-07-31 01:18:29 +08:00
Junkui Zhang
80be0e29b9 add more context for errors 2025-07-31 01:15:39 +08:00
Junkui Zhang
b75f6e2210 use if-else 2025-07-31 00:59:46 +08:00
Junkui Zhang
b8f85be372 use log::warn instead 2025-07-31 00:58:23 +08:00
Junkui Zhang
34e433ad90 check debug layer before creating 2025-07-31 00:05:56 +08:00
Junkui Zhang
6a91ac26d7 remove unneeded change 2025-07-30 23:29:32 +08:00
Junkui Zhang
345fd526fc log the feature level we are using 2025-07-30 23:17:15 +08:00
Junkui Zhang
7c8074ce5c update feature level 2025-07-30 22:56:28 +08:00
Junkui Zhang
0a0803e2a7 remove enable-renderdoc 2025-07-30 18:22:30 +08:00
Junkui Zhang
8c8b91470a remove unused 2025-07-30 18:10:04 +08:00
Junkui Zhang
98692cc928 fix linux 2025-07-30 17:42:47 +08:00
Junkui Zhang
d194bf4f52 QOL improvement when device lost happens 2025-07-30 17:36:14 +08:00
Junkui Zhang
cc763729a0 add GPUI_DISABLE_DIRECT_COMPOSITION env 2025-07-30 14:53:36 +08:00
Junkui Zhang
e370c3d601 misc 2025-07-30 09:29:09 +08:00
Kate
1d60984cb6
get the blending state a bit closer to vulkan
still looks bad :(
2025-07-29 21:41:11 +02:00
Junkui Zhang
eb3bb95c91 fix error msg 2025-07-29 22:45:58 +08:00
Junkui Zhang
554b36fd3c fix where fxc.exe 2025-07-29 22:44:05 +08:00
Junkui Zhang
89a863d012 update workspace-hack 2025-07-29 20:01:39 +08:00
Junkui Zhang
441731de2e fix build.rs 2025-07-29 19:59:04 +08:00
Junkui Zhang
ead7a1e1f0 remove blade 2025-07-29 19:54:34 +08:00
Junkui Zhang
73eaee8f6f use none instead of stretch 2025-07-29 17:44:54 +08:00
Junkui Zhang
98f31172ab fix atlas sometime fails 2025-07-29 16:56:01 +08:00
Junkui Zhang
181f324473 fix device lost 2025-07-29 16:50:10 +08:00
Junkui Zhang
a1f03ee42c log unknown vendor id 2025-07-29 16:03:59 +08:00
Junkui Zhang
741b38f906 remove unused repr(c) 2025-07-29 14:45:28 +08:00
Junkui Zhang
599b82fc9d remove unused 2025-07-29 14:41:52 +08:00
Junkui Zhang
64b3b050e3 fix 2025-07-29 14:24:43 +08:00
Junkui Zhang
62d1b7e36f fix PathRasterization pipeline 2025-07-29 14:05:38 +08:00
Junkui Zhang
d7b14d8dc5 rename pipeline 2025-07-29 13:24:56 +08:00
Junkui Zhang
ce67ce1482 Revert "Use pre-multiplied alpha for path rasterization"
This reverts commit 8eea9aad40.
2025-07-29 13:07:00 +08:00
Max Brunsfeld
8eea9aad40 Use pre-multiplied alpha for path rasterization 2025-07-28 17:52:55 -07:00
Max Brunsfeld
e9697e4639 Start work on doing path MSAA using intermediate texture 2025-07-28 17:45:35 -07:00
Max Brunsfeld
92b0a7e760 Merge branch 'main' into windows/dx11 2025-07-28 15:41:04 -07:00
Kirill Bulatov
798aa50df8
Fix tasks leaked despite workspace window close (#35246)
Closes https://github.com/zed-industries/zed/issues/34932

Release Notes:

- Fixed tasks leaked despite workspace window close
2025-07-28 22:37:48 +00:00
Julia Ryan
11c7b498b3
Fix panic feature flag detection (#35245)
The flag was being checked before feature flags were resolved.

Release Notes:

- N/A
2025-07-28 22:18:20 +00:00
Finn Evers
ca34ead6d9
onboarding: Add proper icon for action (#35241)
This change updates one icon within the onboarding flow to the indended
icon for that entry.

Release Notes:

- N/A
2025-07-28 22:02:12 +00:00
Finn Evers
158f65fd1e
gpui: Ensure tab index handles are properly reused across frames (#35235)
This fixes an issue where focus handles with a tab index would get lost
between rendered frames because the focus handles were not reused for
the following paint cycle.

Release Notes:

- N/A
2025-07-28 23:33:20 +02:00
Ben Kunkle
fa6b1a0114
keymap_ui: Fix bug introduced in #35208 (#35237)
Closes #ISSUE

Fixes a bug that was cherry picked onto stable and preview branches
introduced in #35208 whereby modifier keys would show up and not be
removable when editing a keybind

Release Notes:

- (preview only) Keymap Editor: Fixed an issue introduced in v0.197.2
whereby modifier keys would show up and not be removable while recording
keystrokes in the keybind edit modal
2025-07-28 17:27:10 -04:00
Danilo Leal
f3dc842ce6
keymap editor: Make table denser (#35236)
Hopefully, this will make it a bit easier to parse as a whole.

Release Notes:

- Made the keymap editor denser, improving how easy you can parse it at
a glance.
2025-07-28 21:25:48 +00:00
Finn Evers
7ccf8c2f8c
onboarding: Continue work on new flow (#35233)
This PR continues the work on the new and revamped onboarding flow.


Release Notes:

- N/A
2025-07-28 23:10:28 +02:00
Peter Tripp
8207621a4a
Improve JetBrains keymap for dock toggling (#35234)
Follow-up to: 
- https://github.com/zed-industries/zed/pull/34641
- https://github.com/zed-industries/zed/pull/35230

This improves Zed's behavior with the Jetbrains keymap for toggling
specific docks/sidebars with cmd-0 thru cmd-9 (macos) and alt-0 thru
alt-9 (linux). Added in
https://github.com/zed-industries/zed/pull/34641. Additionally, this
also maps `ctrl-b` / `ctrl-alt-`b to their JetBrains equivalents
(`editor::GoToDefinition` and `editor::GoToDefinitionSplit`) instead of
the default vscode-compatable behavior (toggle left / right dock). This
is because we those specific toggles and a default Hide keyboard
shortcut (`shift-escape`) added in
https://github.com/zed-industries/zed/pull/35230.

Thanks to @thomaseizinger for raising this in:
-
https://github.com/zed-industries/zed/discussions/34643#discussioncomment-13856746

Release Notes:

- Improve support keyboard-based dock show/hide in Jetbrains keymap.
2025-07-28 21:00:01 +00:00
Marshall Bowers
ab90ed41da
collab: Remove POST /billing/subscriptions/sync endpoint (#35232)
This PR removes the `POST /billing/subscriptions/sync` endpoint, as it
has been moved to `cloud.zed.dev`.

Release Notes:

- N/A
2025-07-28 20:22:54 +00:00
Peter Tripp
994d400ab8
Map shift-escape in the Jetbrains keymaps (#35230)
Release Notes:

- Added support for closing docks (sidebars) with `shift-escape` in the
Jetbrains keymaps.
2025-07-28 19:59:01 +00:00
Smit Barmase
cf13a76618
editor: Prioritize fuzzy score over sort positions in code completion sort (#35229)
We already prioritize matches that come after separators like `_`: 


cef7d53607/crates/fuzzy/src/matcher.rs (L274)

and deprioritize non-consecutive matches using distance penalty:


cef7d53607/crates/fuzzy/src/matcher.rs (L281)

In completion sort, letting fuzzy score be the primary sort factor and
sort positions be secondary yields better results upon testing. We still
need sort positions because of this kind of test case:


cef7d53607/crates/editor/src/code_completion_tests.rs (L195-L217)

Before/After:

<img height="250" alt="image"
src="https://github.com/user-attachments/assets/38495576-add6-4435-93f0-891f48ec9263"
/>
<img height="250" alt="image"
src="https://github.com/user-attachments/assets/0c73b835-0e23-4e30-a3ff-28bb56294239"
/>


Release Notes:

- N/A
2025-07-29 01:15:29 +05:30
Richard Feldman
b64977f6f4
Use zed settings to detect .zed folders (#35224)
Behind-the-scenes enhancement of
https://github.com/zed-industries/zed/pull/35221

Release Notes:

- N/A
2025-07-28 19:38:20 +00:00