Commit graph

911 commits

Author SHA1 Message Date
Narawit Rakket
641e2ab256 refactor(display): various minor refactoring
* use `if let` syntax
* replace basic `matches!` macro with `==`
* use `format!` macro to create a `String`
2022-07-01 13:22:09 +05:30
Narawit Rakket
997dd9fa1a refactor(color): improve readability and flexibility
* Change parameter type of `colorize` function from `String` to generic type `Into<String>`
2022-06-30 19:40:05 +05:30
Narawit Rakket
a09896b3cd refactor(meta): improve readability and maintainability
* use `io::Result` to shorten the return type
* remove unnecessary reference (`&`)
* replace multiple `if` with `&&` operator
2022-06-29 19:25:56 +05:30
Narawit Rakket
2ffb59cc9e chore(permission): correct panic message
Co-authored-by: Abin Simon <abinsimon10@gmail.com>
2022-06-15 14:59:46 +05:30
Narawit Rakket
ffa5daa3c5 refactor(permission): replace unwrap with expect 2022-06-15 14:59:46 +05:30
Narawit Rakket
eea9dcaa26 perf: improve permission rendering 2022-06-15 14:59:46 +05:30
Narawit Rakket
660cae2143 refactor: remove unnecessary use of vec! macro 2022-06-15 09:15:06 +05:30
Narawit Rakket
0562dee61b refactor(blocks): get_header return &str instead of String 2022-06-13 21:36:25 +05:30
Narawit Rakket
ffa5b2bfaf refactor(display): remove unnecessary String clone 2022-06-13 08:32:04 +05:30
Narawit Rakket
a9bbab821e refactor(icon): simplify matching logic 2022-06-13 08:30:56 +05:30
Narawit Rakket
db3a60968e refactor(icon): construct icon hashmap from an array 2022-06-13 08:30:56 +05:30
Abin Simon
2ebc8529b1 Post release cleanup 2022-06-12 14:38:54 +05:30
Abin Simon
dadd350d2e
Release 0.22.0 2022-06-12 14:23:48 +05:30
Abin Simon
e9065f7ab3 Update .release.toml config 2022-06-12 14:22:40 +05:30
Abin Simon
02dbee9bb1 Fix CI issues and revert default icon
Don't give executable files executable icon in Windows as windows
marks everything as executable.
2022-06-12 11:52:38 +05:30
Tanner Babcock
f31375e931 Added more icons 2022-06-12 11:52:38 +05:30
Tanner Babcock
7cfeff6e10 See if this fixes Windows tests 2022-06-12 11:52:38 +05:30
Tanner Babcock
b7de869572 Reverted some changes 2022-06-12 11:52:38 +05:30
Tanner Babcock
811b86581e Fix the CI tests 2022-06-12 11:52:38 +05:30
Tanner Babcock
e63d7b89d1 One more icon 2022-06-12 11:52:38 +05:30
Tanner Babcock
b76cfc1d02 Subjective icon changes, and more additions - will revert if wanted 2022-06-12 11:52:38 +05:30
Tanner Babcock
1ad3068e57 Added new filenames and extensions 2022-06-12 11:52:38 +05:30
Tanner Babcock
bdb09f52c5 Use shell icon for when file is exec and has no extension 2022-06-12 11:52:38 +05:30
Alexander Eckert
8bf17ff89d chore: correct description in readme for hyperlink 2022-06-11 20:04:58 +05:30
MichaelAug
a58e2fd31f Update CHANGELOG, README and man page 2022-05-26 11:44:29 +08:00
MichaelAug
f3d294357a Add unit tests 2022-05-26 11:44:29 +08:00
MichaelAug
7e57df12ed Underline header instead of adding "-" characters on new line
adjust header names, always print header if there is any items to
display
2022-05-26 11:44:29 +08:00
MichaelAug
4260b0de64 Center block headers, add underline 2022-05-26 11:44:29 +08:00
MichaelAug
41deb1e65c Print block header if header flag and OneLine layout is set 2022-05-26 11:44:29 +08:00
MichaelAug
d5520d2791 Add --header flag 2022-05-26 11:44:29 +08:00
Kodi Craft
f6965bebe9 Updated CHANGELOG.md 2022-05-26 11:34:27 +08:00
Kodi Craft
282224e353 Removed redundant error message when using hyperlinks if file is a broken symlink 2022-05-26 11:34:27 +08:00
Juan
dd2ef0aad6 do not calculate total directory size unless it will be displayed 2022-05-09 11:19:37 +08:00
Narawit Rakket
23a11de5df chore: update Changelog 2022-05-02 11:56:47 +05:30
Narawit Rakket
392d56e515 feat(Icons): show icon for files with Dockerfile extension 2022-05-02 11:56:47 +05:30
Nix
46f596ff5d Update CHANGELOG 2022-05-02 10:56:24 +05:30
Nix
d723838243 Add icons for HEIC, PEM and TOML 2022-05-02 10:56:24 +05:30
Abin Simon
5f6aa76458 Update documentation for hyperlink 2022-04-14 00:38:32 +08:00
Abin Simon
2348dd8729 Add changelog entry 2022-04-14 00:38:32 +08:00
Abin Simon
208448e139 Fix hyperlink display 2022-04-14 00:38:32 +08:00
khai96_
52c04df660 Add --hyperlink flag 2022-04-14 00:38:32 +08:00
Abin Simon
7e49ca7a48 Fix theme doc in README 2022-03-31 09:41:57 +05:30
Martin Matous
d1051d21e9 fix context positioning
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
90199a206e rename context
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
f5debb878e fix feedback
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
35207e246a display security label/context
fixes #367

Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
3b6b343944 add access control indicators
fixes #347
fixes #515

Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Abin Simon
f1254a6b0c Fix some flaky integration tests 2022-03-21 09:34:35 +05:30
Abin Simon
79398d796d Fix a CI warning for window runs 2022-03-21 09:34:35 +05:30
Abin Simon
8dd54fee5e Add --permission octal to show permissions in octal 2022-03-21 09:34:35 +05:30