Commit graph

463 commits

Author SHA1 Message Date
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
Roy Ivy III
d299073eed maint/cicd ~ remove "i686-apple-darwin" from GHA:Build
- remove "i686-apple-darwin" build target
  - ... not buildable with the baseline GHA VM MacOS image (MacOS 10.15, OS X 10.15.1, Xcode 11.1)

.# Discussion

In 2017, Apple deprecated 32-bit executables, requiring 64-bit only submissions
by Jan 2018. 32-bit support was completely removed from tooling with Xcode 10
and beyond.

.# References

<https://forums.developer.apple.com/thread/100211> @@ <https://archive.is/WHgYD>
<https://forums.developer.apple.com/thread/108704> @@ <https://archive.is/qvfqL>
<https://appleinsider.com/articles/18/04/11/new-macos-alert-notifies-users-apple-will-soon-end-32-bit-app-support> @@ <https://archive.is/vIyue>
<https://appleinsider.com/articles/17/06/07/high-sierra-runs-on-all-sierra-capable-hardware-starts-process-to-kill-32-bit-apps> @@ <https://archive.is/kZdiW>
2019-12-04 11:09:11 +01:00
Roy Ivy III
9d97d3a8e6 maint/cicd ~ fix *-pc-windows-gnu GHA:Build 2019-12-04 11:09:11 +01:00
Roy Ivy III
b7adc55b54 maint/cicd ~ add GHA:MinSRV 2019-12-04 11:09:11 +01:00
Roy Ivy III
4136222576 maint/cicd ~ add DPKG to GHA:Build:Package 2019-12-04 11:09:11 +01:00
Roy Ivy III
bd795e8125 maint/cicd ~ add GHA:"Code Coverage" job (results to CodeCov.io) 2019-12-04 11:09:11 +01:00
Roy Ivy III
e2468e6983 maint/cicd ~ add arm-* strip support for GHA:Build:Package 2019-12-04 11:09:11 +01:00
Roy Ivy III
94883c9d42 maint/cicd ~ repackage/compress files in GHA:Build:Package 2019-12-04 11:09:11 +01:00