summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-06-23 13:49:32 +0200
committerCanop <cano.petrole@gmail.com>2021-06-23 13:49:32 +0200
commit47eb104a5bb84e5886e53e1bcdf6ab9c0243330a (patch)
treedb65fd483aa7d57999fbff90caceaf74d11f6eb3
parentd5b5840a786da77faa575941450310be2f27791e (diff)
version 1.6.1v1.6.1
-rw-r--r--CHANGELOG.md4
-rw-r--r--Cargo.lock40
-rw-r--r--Cargo.toml4
-rw-r--r--src/filesystems/filesystems_state.rs8
4 files changed, 29 insertions, 27 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7aa6ba3..69ba936 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,10 @@
-### next
+<a name="v1.6.1"></a>
+### v1.6.1 - 2021-06-23
- fix compilation on freeBSD
- fix `:filesystems` view not listing disks whose mount point has a space character
- fix panic on searching `cr/.*` if a file starts with an empty line - Fix #406
- fix preview of linux pseudo-files
+- identify "RAM" and "crypted" disks in `:filesystems` view
<a name="v1.6.0"></a>
### v1.6.0 - 2021-06-16
diff --git a/Cargo.lock b/Cargo.lock
index 89f1494..a0a7bef 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -43,9 +43,9 @@ dependencies = [
[[package]]
name = "ansi_colours"
-version = "1.0.2"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52cb663b84aea8670b4a40368360e29485c11b03d14ff6283261aeccd69d5ce1"
+checksum = "06b68b3cb7ce8d8122321966c5db428a98644b2033eb2e89725d95deefc0c386"
dependencies = [
"cc",
]
@@ -140,7 +140,7 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
[[package]]
name = "broot"
-version = "1.6.1-dev"
+version = "1.6.1"
dependencies = [
"ahash 0.7.4",
"ansi_colours",
@@ -809,9 +809,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "lfs-core"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e081de7baf470066d5caa416f998f984d50df206c35ad6b663530a06d7dc621"
+checksum = "bf1759bfc99a5cbb7f47588b118578498c24c251982600829b0e1c5a5063801e"
dependencies = [
"lazy-regex",
"libc",
@@ -1248,14 +1248,14 @@ dependencies = [
[[package]]
name = "rand"
-version = "0.8.3"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e"
+checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
dependencies = [
"libc",
"rand_chacha 0.3.1",
- "rand_core 0.6.2",
- "rand_hc 0.3.0",
+ "rand_core 0.6.3",
+ "rand_hc 0.3.1",
]
[[package]]
@@ -1275,7 +1275,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
- "rand_core 0.6.2",
+ "rand_core 0.6.3",
]
[[package]]
@@ -1289,9 +1289,9 @@ dependencies = [
[[package]]
name = "rand_core"
-version = "0.6.2"
+version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7"
+checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
dependencies = [
"getrandom 0.2.3",
]
@@ -1307,11 +1307,11 @@ dependencies = [
[[package]]
name = "rand_hc"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
+checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
dependencies = [
- "rand_core 0.6.2",
+ "rand_core 0.6.3",
]
[[package]]
@@ -1350,9 +1350,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.2.8"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "742739e41cd49414de871ea5e549afb7e2a3ac77b589bcbebe8c82fab37147fc"
+checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee"
dependencies = [
"bitflags",
]
@@ -1590,7 +1590,7 @@ checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
dependencies = [
"cfg-if",
"libc",
- "rand 0.8.3",
+ "rand 0.8.4",
"redox_syscall",
"remove_dir_all",
"winapi",
@@ -1780,9 +1780,9 @@ dependencies = [
[[package]]
name = "vcpkg"
-version = "0.2.13"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "025ce40a007e1907e58d5bc1a594def78e5573bb0b1160bc389634e8f12e4faa"
+checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "vec_map"
diff --git a/Cargo.toml b/Cargo.toml
index 4ec13d2..7271f09 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "broot"
-version = "1.6.1-dev"
+version = "1.6.1"
authors = ["dystroy <denys.seguret@gmail.com>"]
repository = "https://github.com/Canop/broot"
documentation = "https://dystroy.org/broot"
@@ -64,7 +64,7 @@ unicode-width = "0.1.8"
glassbench = "0.3.0"
[target.'cfg(unix)'.dependencies]
-lfs-core = "0.3.3"
+lfs-core = "0.3.4"
users = "0.11"
[target.'cfg(windows)'.dependencies]
diff --git a/src/filesystems/filesystems_state.rs b/src/filesystems/filesystems_state.rs
index 83ed728..0d9927a 100644
--- a/src/filesystems/filesystems_state.rs
+++ b/src/filesystems/filesystems_state.rs
@@ -247,7 +247,7 @@ impl PanelState for FilesystemState {
if con.show_selection_mark {
wc_fs += 1;
}
- let w_dsk = 3;
+ let w_dsk = 5; // max width of a lfs-core disk type
let w_type = mounts.iter()
.map(|m| m.info.fs_type.chars().count())
.max().unwrap_or(0)
@@ -304,7 +304,7 @@ impl PanelState for FilesystemState {
cw.queue_g_string(&styles.default, format!("{:width$}", "filesystem", width = wc_fs))?;
cw.queue_char(border_style, '│')?;
if e_dsk {
- cw.queue_g_string(&styles.default, "dsk".to_string())?;
+ cw.queue_g_string(&styles.default, " dsk ".to_string())?;
cw.queue_char(border_style, '│')?;
}
if e_type {
@@ -373,10 +373,10 @@ impl PanelState for FilesystemState {
txt_style,
match_style,
);
- matched_string.fill(3, Alignment::Left);
+ matched_string.fill(5, Alignment::Center);
matched_string.queue_on(&mut cw)?;
} else {
- cw.queue_g_string(txt_style, " ".to_string())?;
+ cw.queue_g_string(txt_style, " ".to_string())?;
}
cw.queue_char(border_style, '│')?;
}