ZIm/crates/zed
Santeri Salmijärvi 13dcb42c1c
Change PathLikeWithPosition<P> into a non-generic type and replace ad-hoc Windows path parsing (#15373)
This simplifies `PathWithPosition` by making the common use case
concrete and removing the manual, incomplete Windows path parsing.
Windows paths also don't get '/'s replaced by '\\'s anymore to limit the
responsibility of the code to just parsing out the suffix and creating
`PathBuf` from the rest. `Path::file_name()` is now used to extract the
filename and potential suffix instead of manual parsing from the full
input. This way e.g. Windows paths that begin with a drive letter are
handled correctly without platform-specific hacks.

Release Notes:

- N/A
2024-07-30 16:39:33 +03:00
..
contents Fix bundle script 2023-11-17 17:44:41 -08:00
resources linux: Update TryExec value in desktop file (#15149) 2024-07-25 10:16:23 -06:00
src Change PathLikeWithPosition<P> into a non-generic type and replace ad-hoc Windows path parsing (#15373) 2024-07-30 16:39:33 +03:00
build.rs windows: Fix executable display name (#13091) 2024-06-17 13:02:09 -06:00
Cargo.toml Bump tree-sitter and related core language parser libraries (#14986) 2024-07-24 23:38:21 +03:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00
RELEASE_CHANNEL Put release channel back to dev 2023-11-17 14:31:49 -08:00