From 7dd815abd35c368011948ac7b3a1db704988ff4d Mon Sep 17 00:00:00 2001 From: Canop Date: Fri, 31 May 2024 21:15:40 +0200 Subject: [PATCH] version 1.39.0 --- CHANGELOG.md | 6 ++++-- Cargo.lock | 2 +- Cargo.toml | 2 +- compile-all-targets.sh | 2 +- src/help/help_features.rs | 6 ++++++ 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62154d04..7580f4fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ -### next -- fix build on Android - thanks @dead10ck +### v1.39.0 - 2024-05-31 + - `:open_trash` shows the content of the trash. Other new internals & verbs: `:delete_trashed_file`, `:restore_trashed_file`, `:purge_trash` - Fix #855 +- it's now possible to remove a default keybinding by defining a verb with no execution - Fix #632 +- fix build on Android - thanks @dead10ck ### v1.38.0 - 2024-05-04 diff --git a/Cargo.lock b/Cargo.lock index 6627dcd7..262fdf73 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -203,7 +203,7 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" [[package]] name = "broot" -version = "1.39.0-dev" +version = "1.39.0" dependencies = [ "ansi_colours", "base64 0.21.7", diff --git a/Cargo.toml b/Cargo.toml index 62d29dc8..04c0d560 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "broot" -version = "1.39.0-dev" +version = "1.39.0" authors = ["dystroy "] repository = "https://github.com/Canop/broot" homepage = "https://dystroy.org/broot" diff --git a/compile-all-targets.sh b/compile-all-targets.sh index 7ed4a4c5..07bce630 100755 --- a/compile-all-targets.sh +++ b/compile-all-targets.sh @@ -57,7 +57,7 @@ cross_build "Windows" "x86_64-pc-windows-gnu" "clipboard,trash" # Build the default linux version (with clipboard support, needing a recent GLIBC) # recent glibc echo -e "${H2}Compiling the standard linux version${EH}" -cargo build --quiet --release --features "clipboard" +cargo build --quiet --release --features "clipboard trash" strip "target/release/$NAME" mkdir build/x86_64-linux/ cp "target/release/$NAME" build/x86_64-linux/ diff --git a/src/help/help_features.rs b/src/help/help_features.rs index b9999a00..da0b305d 100644 --- a/src/help/help_features.rs +++ b/src/help/help_features.rs @@ -14,5 +14,11 @@ pub fn list() -> Vec<(&'static str, &'static str)> { ":copy_path (copying the current path), and :input_paste (pasting into the input)", )); + #[cfg(feature = "trash")] + features.push(( + "trash", + ":trash, :open_trash, :restore_trashed_file, :purge_trash, :delete_trashed_file", + )); + features }