Commit graph

290 commits

Author SHA1 Message Date
Abin Simon
e6de6d54f0 add a new way to style size 2019-03-29 17:11:48 +01:00
Abin Simon
854ed96594 change from two spaces to one 2019-03-29 11:30:37 +05:30
Abin Simon
0d20479c0f stick to user colors for permissions 2019-03-29 11:30:37 +05:30
Abin Simon
2426efd5b0 bugfix: only one value for multi value options in clap 2019-03-27 14:10:38 +01:00
sal0max
4cc852cdc4 Added macOS installation instruction
…via Homebrew package manager
2019-03-15 13:24:06 +01:00
Matthias Beyer
bd25db9a04 Add "manual" clap alias for -A
This is requested as a feature, but because clap does not support
"short" aliases, we have to create another clap argument for this.

Not the best possible way to implement this (because the best way would
be to patch clap itself to allow short aliases) but the fastest one.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-03-15 14:16:39 +05:30
Peltoche
d81a6f97c9
Release 1.14.0 2019-03-12 13:13:16 +01:00
Abin Simon
3477b6e723 refactor how width is computed for colored strings 2019-03-12 12:01:19 +01:00
Peltoche
c6dcf2ed0f Fall back on epoch if the modification time is invalid
This allow to avoid a panic each time it try to read a broken file.
2019-03-12 10:00:39 +01:00
Abin Simon
c9b3550f61 fix spacing issue on colors 2019-03-11 18:01:36 +01:00
Peltoche
27d57b2b86 Handle all the color code format for the visible width calculation 2019-03-11 18:01:36 +01:00
Sebastian Zivota
e05b389986 Added Layout enum 2019-03-11 13:25:30 +01:00
Jonathan Neidel
01a7eaee9e Fix wording 2019-03-07 09:58:35 +01:00
Abin Simon
deea0df83d do not pass tense explicitly 2019-03-06 15:12:29 +01:00
Daniel Thomsen
0498ebd46c Add -h arg for ls compatibility 2019-03-06 09:53:29 +01:00
Peltoche
1e9f83f0bd
Add the titles to the changelog 2019-03-04 20:15:06 +01:00
Peltoche
dbff549a87
Release the 1.13.0 2019-03-04 19:52:43 +01:00
Peltoche
7ab13a3b6e Remove the clippy pedantic linter
It cause errors in stable version which are not possibly fixed for older
versions
2019-03-04 19:34:54 +01:00
Peltoche
c00a1ef691 Fix the confinement rule for the snapcraft package 2019-03-04 19:34:54 +01:00
Ryan O'Beirne
9ec57c47b2 Use package description in clap 2019-02-26 13:14:45 +01:00
Peltoche
596d20500e Update the snapcraft.yaml
- Enforce the use of --classic required to access the filesystem
- Remove the i386 support because it doesn't build
2019-02-25 11:06:35 +01:00
Mitchell Tannenbaum
0041c1c591 Fix Abin's CODEOWNERS username spelling 2019-02-24 00:06:55 +05:30
Abin Simon
67bf8d742e Update tests to work with LSCOLORS update
Added another enum value to Theme `NoLscolors`.
As of right now it only helps with tests, but maybe useful for something
in future.

Colouring based on LSCOLORS should be tested in the package so we should
be good.
2019-02-17 12:17:29 +01:00
Abin Simon
aba3e96a28 color files with lscolors 2019-02-17 12:17:29 +01:00
Peltoche
d191c154cf Add @meain to the code owners 2019-02-17 11:58:31 +01:00
Termuellinator
3d11dd5e46 added color documentation/FAQ-Section 2019-02-17 11:26:18 +01:00
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