Commit graph

1625 commits

Author SHA1 Message Date
Benjamin Sago 83f245237b Faster debug builds by excluding debug symbols
This also cleans up the release profile in Cargo.toml, which was having its default settings overridden with identical default settings.
2021-04-01 10:30:21 +01:00
Benjamin Sago 622904d07c Fix integration tests after merged PRs
• The spaces between icons and filenames are now coloured too
• Some icons are different
• File sizes are now more accurate
• New help text, which needed a newline at the end
2021-04-01 10:19:34 +01:00
Benjamin Sago 4a108c1786 Fix a new compile-time warning 2021-04-01 09:39:12 +01:00
Benjamin Sago 5d13a65e4f Justfile improvements 2021-04-01 09:39:03 +01:00
Benjamin Sago c1435411c3
Merge pull request #813 from b05902132/numeric_gid_uid
Add options for -n or --numeric-gid-uid.
2021-04-01 09:18:59 +01:00
b05902132 2f72b3ff3a Use --numeric instead of --numeric-uid-gid. 2021-03-31 21:48:59 +08:00
b05902132 53ccf18746 Add test for parsing '--numeric-uid-gid'. 2021-03-31 21:48:59 +08:00
b05902132 76f20f8b7d Add strictness check for '-n'. 2021-03-31 21:48:59 +08:00
b05902132 46a3e59e66 Some minor fixes
Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>

Also add more spaces to make the descriptions of other options align that of `-n`.
2021-03-31 21:48:34 +08:00
Chester Liu 0ea8f17b22 Clean 2021-03-31 11:04:11 +08:00
Benjamin Sago f27fb2ab7a
Merge pull request #822 from ariasuni/fix-exa-rounding
Fix a rounding error in human readable filesizes
2021-03-30 14:50:29 +01:00
Benjamin Sago 96e3f3d8d3
Merge pull request #818 from PatriotRossii/feature/determine_time_zone
Update determine_time_zone according to GNU manual
2021-03-30 14:49:48 +01:00
Benjamin Sago 6e0a080c15
Merge pull request #793 from DesmondWillowbrook/patch-1
Added sudo to installation command for Linux
2021-03-30 14:38:17 +01:00
Benjamin Sago 96e9307b99
Merge pull request #790 from ariasuni/fix-too-many-headers-in-grid-details
Don’t produce extra column sometimes with long grid + header
2021-03-30 14:37:52 +01:00
Chester Liu 00f97a9738 Mimic 'Mode' in gci 2021-03-30 17:13:00 +08:00
Chester Liu 78a3bc9838 Merge branch 'master' into chesterliu/dev/win-support 2021-03-30 11:58:39 +08:00
Benjamin Sago 3c69169993
Merge pull request #784 from ariasuni/fix-icons-not-showing-right-in-konsole
Use same styling for spaces between icon and file name
2021-03-30 00:18:39 +01:00
Benjamin Sago e6edb888a0
Merge pull request #762 from ariasuni/warm-when-git-feature-is-disabled
Warm when git feature is disabled instead of ignoring flags
2021-03-29 23:51:30 +01:00
Benjamin Sago 005a174e60
Merge pull request #759 from stuartcarnie/sgc/icons
feat: New Icons and CLI argument to suppress icons
2021-03-29 23:09:26 +01:00
Benjamin Sago da171c405f Fix argument sorting in test outputs
See GH-756.
2021-03-29 23:02:35 +01:00
Benjamin Sago cf5070a20e
Merge pull request #756 from whonore/fix-sort-arguments
Apply sort order to files in line and grid outputs
2021-03-29 22:58:03 +01:00
Chester Liu 9d613016c0 Git works! Hooray! 2021-03-28 11:30:32 +08:00
Chester Liu e874584a55 Try to fix CI 2021-03-28 09:31:03 +08:00
Mélanie Chauvel 435161e6e4
Merge pull request #819 from PatriotRossii/feature/actualize_readme
Add "octal-permissions" flag to list of options
2021-03-27 19:12:19 +01:00
ariasuni 74ecf6d311 Fix a rounding error in human readable filesizes 2021-03-27 18:54:00 +01:00
Chester Liu 33dd8fd2ca Clean 2021-03-26 20:34:16 +08:00
Chester Liu 13b3635407 Fix tests 2021-03-26 20:28:23 +08:00
Chester Liu 5503e4756e Clean 2021-03-26 18:45:52 +08:00
Chester Liu 31583691d5 Timestamps 2021-03-26 18:40:22 +08:00
Chester Liu aeb4a679e8 It actually works 2021-03-26 17:47:18 +08:00
Chester Liu e9d0af0343 Restore more 2021-03-26 16:53:31 +08:00
Chester Liu 0e8a4582d0 Restore 2021-03-26 16:50:34 +08:00
Chester Liu 6a642d0f32 merge 2021-03-26 16:37:17 +08:00
PatriotRossii 98e1948cd2 Add "octal-permissions" flag to fish and zsh autocomplete 2021-03-25 12:31:56 +06:00
PatriotRossii 4e5e2ce8f0
Replace "replace" with "replacen" 2021-03-25 11:20:11 +05:00
PatriotRossii 5743e6d8e3
Replace strip_prefix with replace 2021-03-24 19:05:38 +05:00
PatriotRossii 77ad59347a
Add "octal-permissions" flag to list of options 2021-03-24 18:53:57 +05:00
PatriotRossii 57cf0f1b23 Update determine_time_zone according to GNU manual 2021-03-24 17:36:13 +05:00
b05902132 4ea79ee11d Add options for -n or --numeric-gid-uid.
This option is only avaialable in -l.
There's test for rendering, but no test for option parsing.
(I don't understand that section of code.)
2021-03-19 09:49:17 +08:00
Stuart Carnie c946bab08e
chore: PR feedback 2021-02-28 07:48:00 +11:00
Stuart Carnie 765fcf64c9
Update src/output/icons.rs
Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
2021-02-28 07:43:42 +11:00
Stuart Carnie c42e0b3945
feat: New Icons and CLI argument to suppress icons 2021-02-28 07:18:17 +11:00
Kartavya Vashishtha b417433644
Added sudo to installation command for Linux 2021-01-19 01:46:38 +05:30
whonore cfa00bf4b2 Fix new tests 2021-01-15 16:45:54 -05:00
whonore c8ed69368e Add tests 2021-01-14 10:01:27 -05:00
whonore 2708360fb5 Apply sort order to line and grid outputs. Fix #404 2021-01-14 10:01:27 -05:00
Mélanie Chauvel 13b91cced4
Merge pull request #772 from 0xflotus/patch-2 2021-01-14 14:29:34 +01:00
0xflotus d11ac5d49b
Recognize SCSS and Stylus as source for CSS files (#770) 2021-01-14 13:54:45 +01:00
Jakub Jirutka a6ad5fa2cd
Add Alpine Linux into Installation in Readme (#767)
* Add Alpine Linux into Installation in Readme

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
2021-01-14 13:46:48 +01:00
ariasuni 0f414cf0b9 Don’t produce extra column sometimes with long grid + header
The number of necessary columns was computed by producing a grid in different sizes and see if all columns were used. However, if there was two files and we tried to fit them in a 3-column grid, it would produces three headers and all three columns would be used; when trying a 4-column grid, the two supplementary headers would fill the third column and the fourth would be empty; so 3 columns would be used.

Now, when the grid fits into the terminal and the number of columns is exactly the number of files to display, it returns immediately instead of trying bigger grids.

Fixes GH-436.
2021-01-12 20:18:19 +01:00