zed/crates
Marshall Bowers 2980f0508c
Rework loading images from files (#7088)
This PR is a follow-up to #7084, where I noted that I wasn't satisfied
with using `SharedUri` to represent both URIs and paths on the local
filesystem:

> I'm still not entirely happy with this naming, as the file paths that
we can store in here are not _really_ URIs, as they are lacking a
protocol.
>
> I want to explore changing `SharedUri` / `SharedUrl` back to alway
storing a URL and treat local filepaths differently, as it seems we're
conflating two different concerns under the same umbrella, at the
moment.

`SharedUri` has now been reverted to just containing a `SharedString`
with a URI.

`ImageSource` now has a new `File` variant that is used to load an image
from a `PathBuf`.

Release Notes:

- N/A
2024-01-30 11:26:02 -05:00
..
activity_indicator Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
ai Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
assets Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
assistant Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
audio Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
auto_update Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
breadcrumbs Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
call Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
channel Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
cli Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
client Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
clock Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
collab Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
collab_ui Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
collections Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
color Licenses: change license fields in Cargo.toml to AGPL-3.0-or-later. (#5535) 2024-01-27 13:51:16 +01:00
command_palette Fix casing of OpenZedUrl action (#7045) 2024-01-29 23:50:31 -05:00
copilot Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
copilot_ui Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
db Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
diagnostics Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
editor vim: implement <space> in normal mode (#7011) 2024-01-30 10:47:39 +01:00
feature_flags Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
feedback Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
file_finder Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
fs Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
fsevent fix: isolate macos-specific dependencies (#6854) 2024-01-27 13:38:55 +01:00
fuzzy Fix panic in fuzzy-finder for unicode characters (#7080) 2024-01-30 16:10:35 +01:00
git Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
go_to_line Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
gpui Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
gpui_macros Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
install_cli Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
journal Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
language Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
language_selector Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
language_tools Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
live_kit_client Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
live_kit_server Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
lsp Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
media Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
menu Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
multi_buffer Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
node_runtime Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
notifications Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
outline Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
picker Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
plugin Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
plugin_macros Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
plugin_runtime Fix two typos (#7056) 2024-01-30 10:17:06 +02:00
prettier Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
project Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
project_panel Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
project_symbols Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
quick_action_bar Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
recent_projects Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
refineable Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
rich_text Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
rope Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
rpc Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
search Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
semantic_index Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
settings Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
snippet Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
sqlez Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
sqlez_macros Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
story Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
storybook Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
sum_tree Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
terminal Fix a spelling typo (#7059) 2024-01-30 11:40:33 +02:00
terminal_view Fix terminal line background being reset on each line (#7040) 2024-01-29 21:01:02 -08:00
text Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
theme Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
theme_importer Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
theme_selector Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
ui Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
util Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
vcs_menu Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
vim vim: implement <space> in normal mode (#7011) 2024-01-30 10:47:39 +01:00
welcome Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
workspace Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
zed Add taplo toml LSP (#7034) 2024-01-30 11:50:15 +02:00
zed_actions Fix casing of OpenZedUrl action (#7045) 2024-01-29 23:50:31 -05:00