Commit Graph

1420 Commits

Author SHA1 Message Date
Benjamin Sago
03cd3a81ff v0.10.0 2021-04-03 17:42:56 +01:00
Benjamin Sago
aee9c0e623 Remove some unused Cargo.toml options 2021-04-03 17:41:54 +01:00
Benjamin Sago
8c34b46a22 Version output changes
• Bring what's shown in the version string in line with my other projects (URL, description, git hash and date for release-mode non-final builds only, potential for colours in the future)
• Show +git or -git depending on feature status
• Tests for the above, and for checking that the command-line flag is warned about
2021-04-03 17:41:48 +01:00
Benjamin Sago
b051ac9477
Merge pull request #827 from Tezkerek/patch-1
Fix completions.zsh syntax
2021-04-03 11:44:45 +01:00
Tezkerek
1da705c355
Fix completions.zsh syntax 2021-04-03 11:47:59 +03:00
Benjamin Sago
ba763d4bbd
Merge pull request #801 from alexanderadam/add-termux
documentation: add hint how to install exa on Android / Termux
2021-04-02 13:27:11 +01:00
Alexander Adam
8f8e81182a
documentation: add hint how to install exa on Android / Termux 2021-04-01 18:50:57 +02:00
Benjamin Sago
004589d079 Upgrade datetime to remove some dependencies 2021-04-01 16:58:01 +01:00
Benjamin Sago
701a2e60e5 Add 'exa: ' before all command-line errors 2021-04-01 11:25:50 +01:00
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
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
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
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
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
ariasuni
73e43c0700 Fix Vagrantfile and extended tests 2021-01-11 18:55:06 +01:00
ariasuni
79bac416f6 Use same styling for spaces between icon and file name
This is only visible when selecting both icon and file name, as most terminal emulators then invert background and foreground color.

It also workaround a Konsole bug: https://bugs.kde.org/show_bug.cgi?id=422776
2021-01-03 22:44:16 +01:00
0xflotus
7b15f32da8
feat: add support Typescript and ReasonML projects
Close #771
2020-12-16 00:08:04 +01:00
ariasuni
13c6c75d3a Tell in the man that some flags needs exa built with git support 2020-12-10 19:29:37 +01:00