267c0b9
chore: Update Cargo.lock following rodio PR (#2870)
Click to expand commit body
That's merely a follow-up to a previous PR.
Release Notes:
- N/A
Piotr Osiewicz
created
1cae475
manage for edge case in which file documents are larger than the allowable limit
KCaverly
created
9ea0ed3
chore: remove unused features from rodio crate. (#2869)
Click to expand commit body
This reduces our dep count by 1% at the expense of not supporting
playback of .flac, .mp3 and .vorbis formats. We only use .wav anyways.
Release Notes:
- N/A
This reverts commit c0f042b39a595da6f93de2268e5990a3c5604912, where I
deleted the semantic-search related UI code.
Apologies to @KCaverly for the misunderstanding
Release Notes:
- N/A
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.
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
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)
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
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.
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