Commit graph

551 commits

Author SHA1 Message Date
Peltoche
6bdf9ca3c2 Fix a panic with multiple icon options 2019-01-22 19:36:12 +01:00
Peltoche
c4a99ed8f4
big refacto 2019-01-22 17:51:40 +01:00
Peltoche
581ff0920b Handle the errors into the core 2019-01-22 17:48:07 +01:00
Sebastian Zivota
70af39ed0a Added data to File and Dir variants of Elem, FileType enums
This obviates the need for separate variants for such things as
executableness and setuid.
2019-01-20 11:45:24 +01:00
Sebastian Zivota
0d215dca50 Added SetuidDir and SetuidFile variants to Elem and FileType
This allows us to display files and directories that have the uid
flag set with a red background.
2019-01-20 11:45:24 +01:00
Sebastian Zivota
5ad0fb1b21 Added unicode symbols in comments 2019-01-19 11:57:27 +01:00
Sebastian Zivota
5151446fcb Added default icons to Icons struct
Also added tests for unicode icon set
2019-01-19 11:57:27 +01:00
Sebastian Zivota
390f5e4280 Renamed theme flag to icon-theme and default option to fancy 2019-01-19 11:57:27 +01:00
Sebastian Zivota
bc3e47c6d7 Added --theme option to select icon theme
Possible values are `default` and `unicode`.
2019-01-19 11:57:27 +01:00
Sebastian Zivota
662f3ddf38 Added Unicode icon set
It's just an icon set with empty icon maps, so everything should
fall through to the default folder/file icons.
2019-01-19 11:57:27 +01:00
Peltoche
092c961ea7 Do not panic in case of broken pipe 2019-01-16 15:06:01 +01:00
Peltoche
92d018255a Add the directory-order flag 2019-01-12 16:42:05 +01:00
Peltoche
5f50be78e9 Fix the --icon=never in case of no tty 2019-01-12 12:13:29 +01:00
Peltoche
398907f81a
Add the Gentoo package into the README 2019-01-11 14:15:52 +01:00
cat12079801
d8d91051ec delete "yarn.lock" from Icons::get_default_icons_by_extension() 2018-12-27 17:39:28 +01:00
cat12079801
389d46c3a6 use "if" instead of "match" 2018-12-27 17:39:28 +01:00
cat12079801
2c4e69c906 Icon in test code changed to Unicode code 2018-12-27 17:39:28 +01:00
cat12079801
972991d484 Add some tests for Icons::get 2018-12-27 17:39:28 +01:00
cat12079801
748b9c0368 Check directory first 2018-12-27 17:39:28 +01:00
cat12079801
c7c795856f Fix wrong indent 2018-12-27 17:39:28 +01:00
Pierre Peltier
92af678167 Update --depth help messages
Co-Authored-By: jorpic <jorpic@gmail.com>
2018-12-27 14:44:17 +01:00
Max Taldykin
c74b5d619e Add a depth parameter for the -R and --tree options 2018-12-27 14:44:17 +01:00
Peltoche
115e9f5036
(cargo-release) start next development iteration 0.11.2-pre 2018-12-27 14:10:10 +01:00
Peltoche
722a4740e9
(cargo-release) version 0.11.1 2018-12-27 14:09:49 +01:00
Peltoche
dc0155daa4
Add the description for 0.11.1 into the CHANGELOG 2018-12-27 14:09:02 +01:00
Peltoche
ac82815c19 Do not panic if the group name is not available 2018-12-27 13:08:58 +01:00
Peltoche
d1fdee3725
(cargo-release) start next development iteration 0.11.1-pre 2018-12-20 17:31:20 +01:00
Peltoche
68b2bd9747
(cargo-release) version 0.11.0 2018-12-20 17:30:56 +01:00
Peltoche
b9eea7a85b
Add the 0.11.0 and 0.10.0 changes into the CHANGELOG.md 2018-12-20 17:30:22 +01:00
Peltoche
e30ac3827a Fix the get_visible_width with no color set 2018-12-20 17:23:36 +01:00
Kenta Kubo
a8162471bc Remove unused import 2018-12-20 14:01:03 +01:00
Kenta Kubo
c1a3ef81ac cargo fmt src/display.rs 2018-12-20 14:01:03 +01:00
Kenta Kubo
1ecbdeef46 Add tests for Display::get_visible_width 2018-12-20 14:01:03 +01:00
Kenta Kubo
fca6498d99 Use unicode-width crate to count width of filename 2018-12-20 14:01:03 +01:00
Peltoche
072757b33d Add support to the arm-unknown-linux-gnueabihf platform 2018-12-17 18:43:40 +01:00
Peltoche
f162a677dd Fix the name ordering 2018-12-17 11:43:28 +01:00
boxdot
af9a24b490 Fix usage of touch in test. 2018-12-16 14:26:11 +01:00
boxdot
0eef7aea59 Make sure that mod time of file in the test is before dir created. 2018-12-16 14:26:11 +01:00
boxdot
9a83bda871 Review improvements + unittest of sorting. 2018-12-16 14:26:11 +01:00
boxdot
8e331ff566 Fix test. 2018-12-16 14:26:11 +01:00
boxdot
3514d79642 Add options to sort by time and to reverse sorting order. 2018-12-16 14:26:11 +01:00
Peltoche
097b708b89
(cargo-release) start next development iteration 0.10.1-pre 2018-12-16 11:29:54 +01:00
Peltoche
33f7607f09
(cargo-release) version 0.10.0 2018-12-16 11:29:35 +01:00
Peltoche
ff3ed0cf6a
Update the CHANGELOG 2018-12-16 11:28:49 +01:00
Peltoche
f8cf084a98
Fix the snap installation instruction into the README 2018-12-16 11:18:22 +01:00
Peltoche
cd586b330c
Remove a println 2018-12-15 09:29:02 +01:00
Peltoche
0c877b1cdb Fix a multi icon issue 2018-12-14 17:07:52 +01:00
Peltoche
d781e49c67 Add several icons 2018-12-14 17:07:52 +01:00
Peltoche
629c934c58 Make the clippy lints available for older compilers 2018-12-14 16:20:22 +01:00
Peltoche
be41956919 Fix the lint errors 2018-12-14 16:20:22 +01:00