Commit graph

570 commits

Author SHA1 Message Date
zwPapEr
d30f375078 revert the match to if else for blocks 2020-01-11 14:17:44 +05:30
zwPapEr
4e50ea2b55 inode: 🎨 update the inode help msg 2020-01-11 14:17:44 +05:30
zwPapEr
7ca7290e23 args/inode: 🔨 inode work with long 2020-01-11 14:17:44 +05:30
zwPapEr
74660f1d70 test: add inode args integration test 2020-01-11 14:17:44 +05:30
zwPapEr
11d10caf0f args: add inode(i) args for showing inode,name 2020-01-11 14:17:44 +05:30
zwPapEr
1af45a10e8 inode: 🎨 use option for inode, and two color for valid or not 2020-01-11 14:17:44 +05:30
zwPapEr
d9b68ccd10 test: 🔨 fix test after delete default, add inode windows test 2020-01-11 14:17:44 +05:30
zwPapEr
37a97353a1 inode: 🔨 using - for not supported windows inode 2020-01-11 14:17:44 +05:30
zwPapEr
da2e2081e3 test: 🎨 fix clippy style and tests, add an inode test
inode: 🔨 only get inode on unix, return 0 for windows
2020-01-11 14:17:44 +05:30
zwPapEr
0ebb39d60c impl showing inode by setting blocks
working on https://github.com/Peltoche/lsd/issues/276
2020-01-11 14:17:44 +05:30
Pierre Peltier
87e87d87cd Do not panic if the pipes a closed before all the output is written 2020-01-07 16:40:58 +01:00
Qwerty-Space
748a2722a2 Add nerd fonts, minor typo and positional changes
• Add nerd fonts to xresources
• Move ls alias to "optional", as it is not required for lsd to function, so keeping it in "required" is misleading
• you→your
2020-01-07 15:35:05 +01:00
dvvvvvv
f1fed05413 squeeze if-branches in date validation method 2019-12-16 16:41:50 +05:30
dvvvvvv
58d44a6450 change string literal into char literal 2019-12-16 16:41:50 +05:30
dvvvvvv
e6ee773277 add date validation message 2019-12-16 16:41:50 +05:30
dvvvvvv
50cf660567 change test parse to validation function 2019-12-16 16:41:50 +05:30
dvvvvvv
698bc2ef3b add date formatting validation 2019-12-16 16:41:50 +05:30
dvvvvvv
c4c9ee01f4 add date formatting feature 2019-12-16 16:41:50 +05:30
Roy Ivy III
13fa068868 maint/cicd ~ refactor - improve CICD workflow job specification 2019-12-11 10:53:23 +01:00
Roy Ivy III
5fb58ce0bc maint/cicd ~ always run all GHA:Style testing steps
- always runs all style testing steps regardless of failure of the prior step
- with this change, `clippy` tests will run regardless of `fmt` test success/failure

.# [why]

The GHA:Style testing steps are essentially independent of each other and give
independent / complementary information about style issues. So, running all of
them despite errors can increase code iteration efficiency.

Note: as intended, the GHA:Style job will still fail if any individual step fails.
2019-12-11 10:53:23 +01:00
Pierre Peltier
200c5d2c68 Fix the spacing rules between the grid and online layout 2019-12-06 11:35:03 +05:30
Pierre Peltier
f344f42bfe Fix the tests and avoid a regression 2019-12-06 11:35:03 +05:30
Pierre Peltier
80ab697fb9 Fix the spacing, following the @meain recomandations 2019-12-06 11:35:03 +05:30
Pierre Peltier
d031c4b192 Revert the two space separator 2019-12-06 11:35:03 +05:30
Pierre Peltier
75f413ae8a Fix the tests about the name format 2019-12-06 11:35:03 +05:30
Pierre Peltier
53ad81f006 Fix the name and icon spacing 2019-12-06 11:35:03 +05:30
Pierre Peltier
7c0bdb6b6a Fix the display tree with the -l flag 2019-12-06 11:35:03 +05:30
Pierre Peltier
e4342f86d1 Remove the SizeUnit padding calculation
This padding calculation is not more required because the right padding
is handled by the term_grid package.

I hope be able to remove the left padding once I had push some changes
into the term_grid package.
2019-12-06 11:35:03 +05:30
Pierre Peltier
2efce04b0a Fix the error message for the minimum rust version required 2019-12-06 11:35:03 +05:30
Pierre Peltier
820edf97d4 Increase the minimum rust supported channel to 1.33 2019-12-06 11:35:03 +05:30
Pierre Peltier
7ead8aec4e Remove the --prefix-indent flag
This flag is not more possible with the term_grid layout tool
2019-12-06 11:35:03 +05:30
Pierre Peltier
27f8fd3c6f Run clippy 2019-12-06 11:35:03 +05:30
Pierre Peltier
c7236ea04b Remove the "name-with-symlink" flag 2019-12-06 11:35:03 +05:30
Pierre Peltier
524ce6ba71 Fix the tests 2019-12-06 11:35:03 +05:30
Pierre Peltier
6064fc3b65 Handle the no-symlink flag 2019-12-06 11:35:03 +05:30
Pierre Peltier
e4d7b7de96 Update the dependencies 2019-12-06 11:35:03 +05:30
Pierre Peltier
0edfd18a01 Run cargo update 2019-12-06 11:35:03 +05:30
Pierre Peltier
41fd5a5b2a Use the term_grid package for the output of tree 2019-12-06 11:35:03 +05:30
Pierre Peltier
6ca2bd948d Merge the display functions 2019-12-06 11:35:03 +05:30
Pierre Peltier
f6c3e68463 Remove some unused stuff 2019-12-06 11:35:03 +05:30
Pierre Peltier
5b51b6cb94 Use the term_grid for the one line layout 2019-12-06 11:35:03 +05:30
Pierre Peltier
03adf997cc Remove the short/long output and use only the blocks 2019-12-06 11:35:03 +05:30
Pierre Peltier
2ee9f8b46a Fix the size tests 2019-12-06 11:35:03 +05:30
Pierre Peltier
8b8c776eaa Remove the not more used PadingRules struct 2019-12-06 11:35:03 +05:30
Pierre Peltier
8d9bcc3910 Avoid the meta vector copy 2019-12-06 11:35:03 +05:30
Pierre Peltier
61e2e88d8e Handle the block padding in a generic way 2019-12-06 11:35:03 +05:30
Pierre Peltier
f3481ceef6 Split the rendering of size parts 2019-12-06 11:35:03 +05:30
Pierre Peltier
3eaf763745 Split the size value and the size unit
This will allow to handle all the block in a generic way
2019-12-06 11:35:03 +05:30
abazylewicz
76aa327bb7 Depth args parsing compatible with Rust 1.31 2019-12-05 11:43:01 +05:30
abazylewicz
939e9008bb Allow usage of multiple 'depth' arguments 2019-12-05 11:43:01 +05:30