zed/crates
Lukas Wirth fc0b249136
multi_buffer: Fix handling of ExcerptId::max() (#38887)
This removes a hack from `MultiBuffer::anchor_at` that works around
missing logic for handling `ExcerptId::max()` by implementing that said
missing logic.

Generally, `ExcerptId::min()` is already being handled correctly due to
how `Cursor` seeking works, we tend to seek to or beyond a seek target,
meaning `min` will always match the first excerpt as expected. `max` on
the other hand will always seek beyond the last excerpt resulting in no
excerpt being found, so any code path dealing with the excerpt sumtree
will have to specially check for this special excerpt ID to work
correctly.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2025-10-01 07:43:22 +00:00
..
acp_thread acp_thread: Skip git pagination on windows (#39229) 2025-09-30 18:10:04 +00:00
acp_tools acp: Rename dev command (#36908) 2025-08-25 16:04:44 -06:00
action_log Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
activity_indicator auto_update: Show update error on hover and open logs on click (#38241) 2025-09-16 08:07:02 +00:00
agent Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
agent2 Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
agent_servers acp: Add NO_PROXY if not set otherwise to not proxy localhost urls (#39100) 2025-09-29 11:34:52 +00:00
agent_settings Dismiss agent panel when disable_ai is toggled to true (#38461) 2025-09-19 17:05:39 +02:00
agent_ui agent: Only show profile manage list item selection keybinding on the focused item (#39242) 2025-09-30 19:39:12 -03:00
ai_onboarding Remove billing-v2 feature flag (#38843) 2025-09-25 02:11:48 +00:00
anthropic Default to Sonnet 4.5 in BYOK (#39132) 2025-09-29 18:56:03 +00:00
askpass windows: Fix ssh reporting wrong password even it's actually correct (#38263) 2025-09-30 21:03:06 +08:00
assets Use IBM Plex Sans / Lilex (#36084) 2025-08-13 13:25:52 -06:00
assistant_context assistant_context: Fix thread_summary_model not getting used in Text Threads (#38859) 2025-09-25 14:41:49 +02:00
assistant_slash_command Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
assistant_slash_commands diagnostics: Reduce cloning of DiagnosticEntry (#39193) 2025-09-30 11:41:49 +00:00
assistant_tool windows: Fix inconsistent separators in buffer headers and breadcrumbs (#38898) 2025-09-25 22:24:32 +00:00
assistant_tools zeta2: Use bounded parallelism for tree-sitter indexing + await completion in zeta_cli (#39147) 2025-09-29 22:15:00 +00:00
audio Revert "Replace linear resampler with fft based one" (#39120) 2025-09-29 16:50:17 +00:00
auto_update Forbid std::process::Command spawning, replace with smol where appropriate (#38894) 2025-09-26 15:17:36 +00:00
auto_update_helper windows: Fix auto-update for conpty.dll (#39178) 2025-09-30 21:02:46 +08:00
auto_update_ui Use serde 1.0.221 instead of serde_derive hackery (#38137) 2025-09-14 14:01:04 +02:00
aws_http_client bedrock: Fix remaining streaming delays (#33931) 2025-07-22 11:55:24 -04:00
bedrock Default to Sonnet 4.5 in BYOK (#39132) 2025-09-29 18:56:03 +00:00
breadcrumbs Revert "Remote LSP logs (#36709)" (#37051) 2025-08-27 23:24:19 +00:00
buffer_diff sum_tree: Reduce Cursor size for contextless summary types (#38776) 2025-09-24 14:35:38 +02:00
call call: Play a different sound when a guest joins (#38987) 2025-09-27 09:20:55 -04:00
channel Remove Chat (#37789) 2025-09-08 21:53:17 -06:00
cli windows: Fix ssh reporting wrong password even it's actually correct (#38263) 2025-09-30 21:03:06 +08:00
client Clean up RelPath API (#38912) 2025-09-25 14:42:32 -07:00
clock
cloud_api_client http_client: Relax lifetime bounds and add fluent builder methods (#38448) 2025-09-19 01:39:26 +02:00
cloud_api_types Make plans backwards compatible (#37941) 2025-09-10 20:11:07 +00:00
cloud_llm_client zeta2: Allow provider to suggest edits in different files (#39110) 2025-09-29 15:48:58 +00:00
cloud_zeta2_prompt zeta2 cli: Include section ranges in new full output format (#39203) 2025-09-30 14:30:13 +00:00
collab Remove panic/crash reporting from collab (#39249) 2025-09-30 23:10:13 -06:00
collab_ui git_ui: Render avatars in git blame gutter (#39168) 2025-09-30 06:55:09 +00:00
collections Forbid std::process::Command spawning, replace with smol where appropriate (#38894) 2025-09-26 15:17:36 +00:00
command_palette Bump Rust to 1.90 (#38436) 2025-09-22 14:36:10 -07:00
command_palette_hooks Syntax tree view improvements (#37570) 2025-09-05 14:22:32 +02:00
component tests: Fix doctests in crates/component (#37716) 2025-09-08 12:23:33 +03:00
context_server Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
copilot zeta2: Allow provider to suggest edits in different files (#39110) 2025-09-29 15:48:58 +00:00
crashes zed: Add binary type to sentry crash tags (#39107) 2025-09-29 09:03:00 -07:00
credentials_provider Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
dap Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
dap_adapters Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
db Centralize ZED_STATELESS (#37492) 2025-09-03 22:10:14 +00:00
debug_adapter_extension Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
debugger_tools Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
debugger_ui windows: Fix breakpoints in WSL (#39196) 2025-10-01 00:17:45 +02:00
deepseek Change DeepSeek max token count to 128k (#36864) 2025-09-04 05:51:48 +00:00
denoise Fix experimental audio, add denoise, auto volume.Prep migration (#38874) 2025-09-25 15:11:12 +02:00
diagnostics diagnostics: Reduce cloning of DiagnosticEntry (#39193) 2025-09-30 11:41:49 +00:00
docs_preprocessor docs_preprocessor: Update deprecated actions message (#39062) 2025-09-29 10:11:48 -04:00
edit_prediction zeta2: Allow provider to suggest edits in different files (#39110) 2025-09-29 15:48:58 +00:00
edit_prediction_button edit_prediction_button: Fix Copilot menu not updating after sign out (#38854) 2025-09-26 12:42:06 -06:00
edit_prediction_context zeta_cli: Avoid unnecessary rechecks in retrieval-stats (#39267) 2025-10-01 06:31:27 +00:00
editor multi_buffer: Fix handling of ExcerptId::max() (#38887) 2025-10-01 07:43:22 +00:00
eval Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
explorer_command_injector Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
extension JSON Schema URIs (#38916) 2025-09-26 11:41:26 -04:00
extension_api Windows: Fix issues with paths in extensions (#37811) 2025-09-11 13:56:06 -07:00
extension_cli Forbid std::process::Command spawning, replace with smol where appropriate (#38894) 2025-09-26 15:17:36 +00:00
extension_host Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
extensions_ui Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
feature_flags Remove billing-v2 feature flag (#38843) 2025-09-25 02:11:48 +00:00
feedback Add GPU info to Sentry crashes (#36624) 2025-08-21 19:59:42 -04:00
file_finder Clean up RelPath API (#38912) 2025-09-25 14:42:32 -07:00
file_icons Add support for named folder icons (#36351) 2025-09-12 14:55:25 -04:00
fs Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
fsevent fsevent: Check CFURLCreateFromFileSystemRepresentation return value (#38996) 2025-09-26 22:28:52 +00:00
fuzzy Clean up RelPath API (#38912) 2025-09-25 14:42:32 -07:00
git git_ui: Render avatars in git blame gutter (#39168) 2025-09-30 06:55:09 +00:00
git_hosting_providers settings: Use a derive macro for refine (#38451) 2025-09-18 21:13:49 +00:00
git_ui git_ui: Fix blame avatars using wrong config (#39195) 2025-09-30 12:32:48 +00:00
go_to_line Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
google_ai Settings refactor (#38367) 2025-09-18 16:47:23 +00:00
gpui gpui: Respect macOS 'Do Nothing' window double-click setting (#39235) 2025-10-01 07:02:33 +00:00
gpui_macros gpui_macros: Hide inner test function from project symbols (#38809) 2025-09-24 18:07:34 +00:00
gpui_tokio Use Tokio::spawn instead of getting an executor handle (#36701) 2025-08-21 17:19:57 +00:00
html_to_markdown Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
http_client http_client: Relax lifetime bounds and add fluent builder methods (#38448) 2025-09-19 01:39:26 +02:00
http_client_tls
icons rules library: Improve delineation of default and non-default rules (#39209) 2025-09-30 12:27:23 -03:00
image_viewer Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
inspector_ui Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
install_cli zed: Hide Install CLI menu button on Windows (#37843) 2025-09-09 20:56:08 +02:00
journal Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
json_schema_store Fix panic due to ThemeRegistry::global call in remote server (#39111) 2025-09-29 14:24:17 +00:00
keymap_editor JSON Schema URIs (#38916) 2025-09-26 11:41:26 -04:00
language diagnostics: Reduce cloning of DiagnosticEntry (#39193) 2025-09-30 11:41:49 +00:00
language_extension Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
language_model language_models: Add xAI support to Zed Cloud provider (#38928) 2025-09-26 03:19:12 +00:00
language_models Default to Sonnet 4.5 in BYOK (#39132) 2025-09-29 18:56:03 +00:00
language_onboarding Hide BasedPyright banner in toolbar when dismissed (#38135) 2025-09-15 09:43:04 +02:00
language_selector Fix crash when filtering items in Picker (#37929) 2025-09-10 23:06:09 +05:30
language_tools Clean up RelPath API (#38912) 2025-09-25 14:42:32 -07:00
languages python: Fix user settings not getting passed on for Ty (#39174) 2025-09-30 08:19:23 +00:00
line_ending_selector Fix crash when filtering items in Picker (#37929) 2025-09-10 23:06:09 +05:30
livekit_api
livekit_client Fix experimental audio, add denoise, auto volume.Prep migration (#38874) 2025-09-25 15:11:12 +02:00
lmstudio language_models: Fix tool_choice null issue for other providers (#34554) 2025-09-03 01:22:57 +02:00
lsp language: Split LSP installation handling into a separate trait (#38046) 2025-09-12 09:37:45 +00:00
markdown zeta2: Use bounded parallelism for tree-sitter indexing + await completion in zeta_cli (#39147) 2025-09-29 22:15:00 +00:00
markdown_preview markdown: Add support for HTML heading elements (#38590) 2025-09-30 12:39:22 +02:00
media Forbid std::process::Command spawning, replace with smol where appropriate (#38894) 2025-09-26 15:17:36 +00:00
menu
migrator Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
mistral Delete unused types for Mistral non-streaming requests (#38758) 2025-09-24 04:31:06 +00:00
multi_buffer multi_buffer: Fix handling of ExcerptId::max() (#38887) 2025-10-01 07:43:22 +00:00
nc Claude experiment (#34577) 2025-07-17 14:25:55 +00:00
net
node_runtime Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
notifications sum_tree: Reduce Cursor size for contextless summary types (#38776) 2025-09-24 14:35:38 +02:00
ollama ollama: Remove dead code (#38550) 2025-09-24 02:19:52 -06:00
onboarding Correct button label on basics_page.rs (Jetbrains to JetBrains) (#39240) 2025-09-30 20:41:30 +00:00
open_ai Settings refactor (#38367) 2025-09-18 16:47:23 +00:00
open_router Settings refactor (#38367) 2025-09-18 16:47:23 +00:00
outline Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
outline_panel Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
panel Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
paths Clean up RelPath API (#38912) 2025-09-25 14:42:32 -07:00
picker acp: Support model selection for ACP agents (#38652) 2025-09-22 15:07:40 +00:00
prettier Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
project Fix bug in code action formatter handling (#39246) 2025-09-30 19:13:20 -04:00
project_panel vim: Add vim counts and vim shortcuts to project_panel (#36653) 2025-09-29 15:53:59 -06:00
project_symbols Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
prompt_store Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
proto Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
recent_projects git_ui: Render avatars in git blame gutter (#39168) 2025-09-30 06:55:09 +00:00
refineable Run doctests in CI and fix up existing doctests (#37851) 2025-09-12 23:24:04 +03:00
release_channel
remote Clean up RelPath API (#38912) 2025-09-25 14:42:32 -07:00
remote_server zed: Add binary type to sentry crash tags (#39107) 2025-09-29 09:03:00 -07:00
repl Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
reqwest_client reqwest_client: Remove example (#37410) 2025-09-03 00:52:04 +00:00
rich_text Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
rope sum_tree: Reduce Cursor size for contextless summary types (#38776) 2025-09-24 14:35:38 +02:00
rpc Remove Chat (#37789) 2025-09-08 21:53:17 -06:00
rules_library rules library: Improve delineation of default and non-default rules (#39209) 2025-09-30 12:27:23 -03:00
scheduler Read env vars in TestScheduler::many (#38897) 2025-09-25 13:03:56 -06:00
schema_generator
search search: Fix panic in project search due to workspace double lease (#39049) 2025-09-28 11:35:36 +00:00
semantic_version
session settings_ui: Collect all settings files (#38816) 2025-09-24 21:16:06 +00:00
settings Add SettingsFile APIs to SettingsStore (#39129) 2025-09-30 17:08:06 +00:00
settings_macros Tighten up MergeFrom trait (#38473) 2025-09-18 22:28:17 -06:00
settings_profile_selector Restore user-defined ordering of profiles (#38665) 2025-09-22 19:35:44 +00:00
settings_ui settings ui: Fix bug with navbar index to page index translation (#39245) 2025-09-30 17:25:49 -04:00
snippet Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
snippet_provider JSON Schema URIs (#38916) 2025-09-26 11:41:26 -04:00
snippets_ui snippets: Fix configure snippets not opening on remote workspaces (#38790) 2025-09-27 11:01:04 +02:00
sqlez Give most spawned threads names (#38302) 2025-09-17 10:11:51 +02:00
sqlez_macros
story Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
storybook Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
streaming_diff Extract a scheduler crate from GPUI to enable unified integration testing of client and server code (#37326) 2025-09-04 17:14:53 +02:00
sum_tree sum_tree: Reduce Cursor size for contextless summary types (#38776) 2025-09-24 14:35:38 +02:00
supermaven zeta2: Allow provider to suggest edits in different files (#39110) 2025-09-29 15:48:58 +00:00
supermaven_api Use serde 1.0.221 instead of serde_derive hackery (#38137) 2025-09-14 14:01:04 +02:00
svg_preview Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
system_specs Forbid std::process::Command spawning, replace with smol where appropriate (#38894) 2025-09-26 15:17:36 +00:00
tab_switcher Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
task agent: Fix terminal tool on Windows (#39260) 2025-09-30 23:19:32 -04:00
tasks_ui Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
telemetry Run doctests in CI and fix up existing doctests (#37851) 2025-09-12 23:24:04 +03:00
telemetry_events Remove old telemetry events and transformation layer (#36263) 2025-08-15 15:37:52 -04:00
terminal Add basic shell tests (#39232) 2025-09-30 22:45:36 +03:00
terminal_view git_ui: Render avatars in git blame gutter (#39168) 2025-09-30 06:55:09 +00:00
text editor: Shrink size of Inlay slightly (#39089) 2025-09-29 15:33:21 +02:00
theme Fix remote server crash with JSON files (#38678) 2025-09-22 22:30:27 +00:00
theme_extension
theme_importer Bump Rust to 1.90 (#38436) 2025-09-22 14:36:10 -07:00
theme_selector Settings refactor (#38367) 2025-09-18 16:47:23 +00:00
time_format
title_bar Represent relative paths using a dedicated, separator-agnostic type (#38744) 2025-09-24 18:57:33 -04:00
toolchain_selector Fix selecting and deleting user toolchains (#39068) 2025-09-29 18:08:47 +02:00
ui git_ui: Render avatars in git blame gutter (#39168) 2025-09-30 06:55:09 +00:00
ui_input edit prediction: Context debug view (#38435) 2025-09-18 15:09:44 -03:00
ui_macros Settings refactor (#38367) 2025-09-18 16:47:23 +00:00
ui_prompt ui prompt: Adjust UI and focus visibility (#39106) 2025-09-29 10:09:31 -03:00
util windows: Fix ssh reporting wrong password even it's actually correct (#38263) 2025-09-30 21:03:06 +08:00
util_macros perf: Doc fixes (#39150) 2025-09-29 21:16:00 +00:00
vercel openai: Don't send prompt_cache_key for OpenAI-compatible models (#36231) 2025-08-15 13:54:24 +03:00
vim multi_buffer: Fix handling of ExcerptId::max() (#38887) 2025-10-01 07:43:22 +00:00
vim_mode_setting settings: Use a derive macro for refine (#38451) 2025-09-18 21:13:49 +00:00
watch acp: Model-specific prompt capabilities for 1PA (#36879) 2025-08-25 14:28:11 -04:00
web_search Fix clippy::redundant_clone lint violations (#36558) 2025-08-20 12:20:13 +02:00
web_search_providers Another batch of lint fixes (#36521) 2025-08-19 20:33:44 +00:00
workspace diagnostics: Reduce cloning of DiagnosticEntry (#39193) 2025-09-30 11:41:49 +00:00
worktree worktree: Remove unwrap in BackgroundScanner::update_ignore_status (#39191) 2025-09-30 22:01:45 +02:00
x_ai x_ai: Add support for tools and images with custom models (#38792) 2025-09-29 11:38:55 +00:00
zed windows: Fix ssh reporting wrong password even it's actually correct (#38263) 2025-09-30 21:03:06 +08:00
zed_actions Remove experimental jj UI, for now (#38743) 2025-09-23 21:40:22 +00:00
zed_env_vars Reload API keys when URLs configured for LLM providers change (#38163) 2025-09-15 03:36:24 +00:00
zeta zeta2: Allow provider to suggest edits in different files (#39110) 2025-09-29 15:48:58 +00:00
zeta2 zeta2: Use bounded parallelism for tree-sitter indexing + await completion in zeta_cli (#39147) 2025-09-29 22:15:00 +00:00
zeta2_tools zeta2: Use bounded parallelism for tree-sitter indexing + await completion in zeta_cli (#39147) 2025-09-29 22:15:00 +00:00
zeta_cli zeta_cli: Avoid unnecessary rechecks in retrieval-stats (#39267) 2025-10-01 06:31:27 +00:00
zlog JSON Schema URIs (#38916) 2025-09-26 11:41:26 -04:00
zlog_settings settings: Use a derive macro for refine (#38451) 2025-09-18 21:13:49 +00:00