Commit log

6663d3f Checkpoint

Nathan Sobo created

afff46b Checkpoint

Nathan Sobo created

2c6f692 Checkpoint

Nathan Sobo created

0747131 Compiling checkpoint

Nathan Sobo created

b7e0350 Update components.rs

Mikayla Maki created

76993f6 WIP: Trying to find a composable approach to styling that plays nice with layout engine

Nathan Sobo created

29c339e Revert "Remove semantic search UI" (#2865)

Click to expand commit body
This reverts commit c0f042b39a595da6f93de2268e5990a3c5604912, where I
deleted the semantic-search related UI code.

Apologies to @KCaverly for the misunderstanding

Release Notes:

- N/A

Mikayla Maki created

15f91f3 Remove potential osascript hijacking attack (#2867)

Click to expand commit body
Fixes
https://linear.app/zed-industries/issue/Z-2818/security-vulnerability-dylib-injection

Release Notes:

- Fixed a potential local code-injection if a user installs the Zed CLI
for the first time with a hijacked `osascript` in their path.

Mikayla Maki created

d22caf5 Fix erorr in revert

Mikayla created

5a356a4 Remove potential osascript hijacking

Mikayla created

ef9686c Reorganize the structure of the collab crate's `db` module (#2866)

Click to expand commit body
This PR just moves some code around, with the goal of making it easier
to find things in the `collab::db` module. That has become a large
module. Previously, most of the logic lived in one giant `impl Database`
item in `db.rs`.

I broke up this `impl` into several different `impl` blocks, grouped by
topic, each in a different file in a folder called `queries`.

I also pulled out the macro-generated id types into their own file,
moved the `TestDb` struct into its own file, and moved the `sea_orm`
entity declarations into a folder called `tables`.

New folder structure:

```
db
├── db_tests.rs
├── ids.rs
├── queries
│   ├── access_tokens.rs
│   ├── channels.rs
│   ├── contacts.rs
│   ├── projects.rs
│   ├── rooms.rs
│   ├── servers.rs
│   ├── signups.rs
│   └── users.rs
├── queries.rs
├── tables
│   ├── access_token.rs
│   ├── channel.rs
│   ├── channel_member.rs
│   ├── channel_path.rs
│   ├── contact.rs
│   ├── follower.rs
│   ├── language_server.rs
│   ├── project.rs
│   ├── project_collaborator.rs
│   ├── room.rs
│   ├── room_participant.rs
│   ├── server.rs
│   ├── signup.rs
│   ├── user.rs
│   ├── worktree.rs
│   ├── worktree_diagnostic_summary.rs
│   ├── worktree_entry.rs
│   ├── worktree_repository.rs
│   ├── worktree_repository_statuses.rs
│   └── worktree_settings_file.rs
├── tables.rs
└── test_db.rs
```

Release Notes:

- N/A

Max Brunsfeld created

b35aaf1 Break up Database impl into multiple files, organized by topic

Max Brunsfeld created

e964137 Reorganize source files of collab::db

Click to expand commit body
* Move all sea_orm tables into a 'tables' module
* Move TestDb into its own file
* Move id types into their own module

Max Brunsfeld created

48553d7 Revert "Remove semantic search UI"

Click to expand commit body
This reverts commit c0f042b39a595da6f93de2268e5990a3c5604912.

Mikayla created

eec39dc WIP

Nathan Sobo created

cb55204 Move the collab panel to the left by default (#2864)

Click to expand commit body
Increase the indent size on channels
Switch font UI mono

Release Notes:

- Switch the collaboration panel font to Zed's sans-mono (preview only)
- Switch the default dock side to the left (preview-only)
- Increase the indent size on the channels panel (preview-only)

Mikayla Maki created

64cbfe0 Update bump-version.sh

Mikayla Maki created

24fbea1 Update collab_panel.rs

Mikayla Maki created

4c15f26 Finish rename correctly

Mikayla created

4c3227c Fix example compile erorr

Mikayla created

84f35d4 Add pub

Mikayla created

8ef671d Move the collab panel to the left by default

Click to expand commit body
Increase the indent size on channels
Switch font UI mono

Mikayla created

f0ebbd0 Don't show vim mode when disabled (#2863)

Click to expand commit body
Fixes vim's mode indicator showing up when vim is disabled.

Conrad Irwin created

3ab3042 Don't show vim mode when disabled

Conrad Irwin created

e48bb18 Fix failure to detect string scope, and disable quote autoclose in Rust (#2862)

Click to expand commit body
This regressed in https://github.com/zed-industries/zed/pull/2723
Fixes https://github.com/zed-industries/community/issues/684
Fixes
https://linear.app/zed-industries/issue/Z-1516/avoid-double-quotes-when-closing-a-string

Release Notes:

- Fixed a bug where auto-closing quotation marks were inserted
incorrectly in Rust.

Max Brunsfeld created

1c46749 Fix regression in Buffer::language_scope_at

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

Max Brunsfeld and Julia created

98186fc Add more file icons (#2861)

Click to expand commit body
Release Notes:

- Added file icons for Python and Elixir

Joseph T. Lyons created

0842916 Upgrade Tree-sitter for error recovery bug fix (#2860)

Click to expand commit body
Bumps Tree-sitter for
https://github.com/tree-sitter/tree-sitter/pull/2526.

Release Notes:

- Fixed a bug where small syntax errors would mess up syntax
highlighting more than necessary when editing certain languages, like
Scheme and PHP.

Max Brunsfeld created

e26d6d7 Add elixir icons

Joseph T. Lyons created

9dab6b6 vim: Fix cursor adjustment on scroll (#2859)

Click to expand commit body
Fixes: zed-industries/community#1929

Also preserves visual modes correctly.

[[PR Description]]

Release Notes:

- vim: Fix scroll offset on `ctrl-{e,y,u,b}`
([#1929](https://github.com/zed-industries/community/issues/1929)).

Conrad Irwin created

09fcacd Upgrade Tree-sitter for error recovery bug fix

Max Brunsfeld created

93461d3 Fix <Enter> to go to non-whitespace character

Click to expand commit body
Fixes: zed-industries/community#831

Conrad Irwin created

ab73375 Alphabetize list

Joseph T. Lyons created

ffdca77 Add python file icon

Joseph T. Lyons created

5029587 Add ctrl-q as an alias for ctrl-v

Click to expand commit body
Fixes: zed-industries/community#871

Conrad Irwin created

e3c0e93 Fix cursor adjustment on scroll

Click to expand commit body
Fixes: zed-industries/community#1929

Also preserves visual modes correctly.

Conrad Irwin created

d1aa82b vim visual block (#2849)

Click to expand commit body
Release notes:

- vim: add Visual Block mode
([#984](https://github.com/zed-industries/community/issues/984)),
([#1415](https://github.com/zed-industries/community/issues/1415)).
- vim: add support for `a<object>` and `i<object>` in visual modes
- vim: fix scroll shortcuts (`ctrl-{f,b,d,u,e,y}`) in visual modes
- allow `shift-enter` to type a newline.

Conrad Irwin created

273a8b4 editor: Recognize '$' as a Word character.

Click to expand commit body
This fixes PHP variable completion. When we were querying for completions, PHP LS returned proper matches for variables which we filtered out as our query did not include a `$` character.

Z-2819

Piotr Osiewicz created

760c491 Respect completion resolve server capabilities (#2858)

Click to expand commit body
Only query for additional edits if the server supports it

Release Notes:

- N/A

Kirill Bulatov created

269dad5 Respect completion resolve server capabilities

Click to expand commit body
Only query for additional edits if the server supports it

Co-Authored-By: Julia Risley <julia@zed.dev>

Kirill Bulatov and Julia Risley created

8451e7e Project search design (#2834)

Click to expand commit body
TODO before merging: 
- [x] Re-run project search when options (case, word, regex) change

/cc @PixelJanitor 
Release Notes:
- Revamped project & buffer search UI.
- Added "Cycle Mode" command for search

Kyle Caverly created

b910c85 Still need to wire up MouseMove with the new regions

Nathan Sobo created

3709eff Compiling

Nathan Sobo created

9b74dc1 Introduce Refinement trait and derive macro

Nathan Sobo created

66e94aa Make search re-query eagerly when changing modes

Click to expand commit body
Fix a bug where focus could be lost when clearing the search results

Mikayla created

19ccb19 Compiling

Nathan Sobo created

c0f042b Remove semantic search UI

Mikayla created

21fa609 Add action button component for rendering the search options

Mikayla created

802911d Fix AppKit screen coordinate conversion leading to wrong window bounds (#2856)

Click to expand commit body
Fixes
https://linear.app/zed-industries/issue/Z-1510/join-project-notification-takes-up-full-screen-on-a-second-monitor

There were multiple mistakes in the positioning of Zed's notification
windows, one of which lead to the notifications taking up the full
screen on secondary displays 😱 .
* Wrong sign for the vertical padding (moving the window *upward*
instead of downward)
* Using the screen's full frame instead of its "visible frame" (which
accounts for app menu bar)
* Wrong coordinate translation between our coordinates and AppKit's
coordinates. Regardless of which display a given window appears on, the
coordinate translation needs to use the height of the *main* display.

Release Notes:

- Fixed a bug where call notifications were accidentally full-screen on
all displays except the main display.

Max Brunsfeld created

b0ba0f8 Fix visual objects

Click to expand commit body
Adds 'a'/'i' in visual mode

Conrad Irwin created