Commit graph

264 commits

Author SHA1 Message Date
Abin Simon
e8015ebd3e switch to one line when not outputting to tty 2019-02-16 13:11:28 +01:00
Peltoche
e4882c5c99 Fix the module import paths 2019-02-16 11:34:33 +01:00
Peltoche
1cd275de76 Drop the support of V1.30.1 and move to the rust 2018 edition 2019-02-16 11:34:33 +01:00
Sebastian Zivota
e1138bbec3 Refactored classic mode 2019-02-03 12:04:37 +01:00
Sebastian Zivota
1b7eec351c Added --classic flag 2019-02-03 12:04:37 +01:00
Eduardo Pinho
373a218157 Update Cargo.toml
remove homepage manifest attribute for compliance with C-METADATA
2019-02-03 11:16:40 +01:00
Peltoche
0fa68098e2 Improve the tree display 2019-01-23 23:09:34 +01:00
Peltoche
73bcd96613
Fix some display errors inside the CHANGELOG 2019-01-23 14:46:35 +01:00
Peltoche
5b28831bfd
(cargo-release) start next development iteration 0.12.1-pre 2019-01-23 14:30:46 +01:00
Peltoche
be30d81361
(cargo-release) version 0.12.0 2019-01-23 14:30:16 +01:00
Peltoche
f2878dca5b
Update the CHANGELOG.md file 2019-01-23 14:29:40 +01:00
Peltoche
a17eb10656 Fix the permissions 2019-01-23 10:57:09 +01:00
Peltoche
3d85169377 Add the pacman install inside the Readme 2019-01-23 10:17:12 +01:00
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