Commit graph

11701 commits

Author SHA1 Message Date
Sylvestre Ledru 5b45159996
Improve the comment 2023-12-17 17:40:44 +01:00
Sylvestre Ledru af2625c8ce
fix order
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-17 17:39:02 +01:00
Daniel Hofstetter 9167a84358 ls: enable "colors" feature 2023-12-16 17:17:44 +01:00
Sylvestre Ledru f6d3f9afbf ls: manages the COLOR and COLORTERM variables
Should fix GNU tests/ls/color-term.sh
2023-12-16 09:50:37 +01:00
Daniel Hofstetter f5b228d876
Merge pull request #5651 from tertsdiepraam/remove-parsemode
`mknod`: remove `parsemode.rs`
2023-12-15 16:36:32 +01:00
Daniel Hofstetter 88428cf5d7
Merge pull request #5649 from tertsdiepraam/remove-collect-lossy-and-ignore
all: remove `collect_{lossy,ignore}` calls where possible
2023-12-15 16:30:08 +01:00
Terts Diepraam 9512c6ec4f
Merge pull request #5650 from cakebaker/docs_installation
docs: remove scoop badge, adapt links to repos
2023-12-15 16:06:39 +01:00
Terts Diepraam 30c27c143c mknod: remove parsemode.rs
This file was entirely unused, so it's probably safe to remove it
2023-12-15 15:56:41 +01:00
Daniel Hofstetter 8ce6fdc195 docs: remove scoop badge, adapt links to repos 2023-12-15 15:35:22 +01:00
Terts Diepraam 92692c815d
docs: add winget installer (#5648)
* docs: add winget installer

* docs: add "winget" to spell-checker:ignore

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-15 15:02:46 +01:00
Terts Diepraam c32e730a1f all: remove collect_{lossy,ignore} calls where possible 2023-12-15 14:38:27 +01:00
Arpit Bhadauria 3a7a3bf639
fmt: remove crash! macro (#5589)
* fmt: remove crash! macro

* Fix styling in fmt

* Revert "Fix styling in fmt"

This reverts commit 002e02f50c.

* Revert "fmt: remove crash! macro"

This reverts commit d65a3f85a1.

* Replace crash! with unreachable! macro

* Remove crash! import

* Remove unreachable! from fmt

* keep the helpful comment

* Fix lint and format issues

* review fixes
2023-12-15 12:14:31 +01:00
Daniel Hofstetter 2e6005a902
Merge pull request #5646 from uutils/renovate/actions-upload-artifact-4.x
chore(deps): update actions/upload-artifact action to v4
2023-12-15 06:57:47 +01:00
renovate[bot] 97857d5be0
chore(deps): update actions/upload-artifact action to v4 2023-12-14 17:51:36 +00:00
Sylvestre Ledru f248cc641c
Merge pull request #5614 from Arp-1/feat-refactor-expr
expr: Optimizing for integer values
2023-12-14 18:50:50 +01:00
Terts Diepraam 66bd065835
Merge pull request #5641 from cakebaker/ls_block_size_si_human_readable
ls: make --block-size and --human-readable/--si override each other
2023-12-14 17:04:34 +01:00
Terts Diepraam 7f23faf899 expr: clean up conversion from bigint to usize 2023-12-14 16:35:56 +01:00
Sylvestre Ledru 60fbf1db84
Merge pull request #5645 from cakebaker/mv_rename_two_tests
mv: rename two tests
2023-12-13 14:59:28 +01:00
Daniel Hofstetter 6fb3bbb8a0 mv: rename two tests 2023-12-13 14:27:19 +01:00
Daniel Hofstetter 818719e62c
Merge pull request #5644 from uutils/renovate/dawidd6-action-download-artifact-3.x
chore(deps): update dawidd6/action-download-artifact action to v3
2023-12-13 11:02:18 +01:00
renovate[bot] 5d57fdc7f8
chore(deps): update dawidd6/action-download-artifact action to v3 2023-12-13 09:25:44 +00:00
Daniel Hofstetter 42558344f1 ls: enable "args override self" 2023-12-12 14:23:51 +01:00
Arpit Bhadauria 3bf966df56 remove from trait for NumOrStr 2023-12-11 20:47:36 +00:00
Daniel Hofstetter 6711dd5694 ls: make --block-size and --human-readable/--si
override each other
2023-12-11 16:38:55 +01:00
Terts Diepraam 181cfc885b
Merge pull request #5634 from cakebaker/ls_use_show_dir_name
ls: use show_dir_name to output dir name
2023-12-11 14:38:47 +01:00
Daniel Hofstetter 3dad5d4d56
Merge pull request #5635 from tertsdiepraam/fix-echo-override
`echo`: make `-e` and `-E` override each other
2023-12-11 14:21:15 +01:00
Terts Diepraam f165c8e1fd fuzz/echo: set should_pass to true 2023-12-11 13:40:55 +01:00
Daniel Hofstetter 9f6eb453fa
Merge pull request #5636 from sylvestre/quick-timeout
fuzzing: quick timeout because seq is freezing
2023-12-11 13:16:07 +01:00
Sylvestre Ledru 9d0c1b3482 fuzzing: quick timeout because seq is freezing 2023-12-11 11:02:50 +01:00
Terts Diepraam 191eb9ac12 echo: make -e and -E override each other 2023-12-11 10:53:55 +01:00
Daniel Hofstetter 3dab2b7390 ls: use show_dir_name to output dir name 2023-12-11 09:33:36 +01:00
Sylvestre Ledru 4442b35370
Merge pull request #5626 from cakebaker/ls_invalid_block_size
ls: handle invalid block size as GNU does
2023-12-11 07:49:38 +01:00
Sylvestre Ledru 62afd786f6
Merge pull request #5502 from ids1024/redox
Fix build on Redox, and add `stat` to Redox feature
2023-12-11 07:48:43 +01:00
Ian Douglas Scott db91e12a1d Fix build on Redox, and add stat to Redox feature 2023-12-11 04:38:17 -08:00
Daniel Hofstetter 3a9bd60b1c
Merge pull request #5633 from uutils/renovate/libc-0.x
chore(deps): update rust crate libc to 0.2.151
2023-12-11 06:47:38 +01:00
Arpit Bhadauria 824371d884 style lint fixes 2023-12-11 02:12:24 +00:00
Arpit Bhadauria fa0c64ddde review fixes 2023-12-11 02:05:55 +00:00
Arpit Bhadauria 17f2b830d8 Merge branch 'main' into feat-refactor-expr 2023-12-11 01:19:40 +00:00
renovate[bot] 0491a97a33
chore(deps): update rust crate libc to 0.2.151 2023-12-10 18:51:09 +00:00
Dorian Péron 673093f842
ls: set default quoting style to literal when not TTY (#5553)
* ls: set default quoting style to literal if output is not TTY

* tests/ls: Fix quoting tests that now run with Literal as default

* ls: Fix formatting/linting/spelling issues

* tests/ls: Fix windows escaped tests
2023-12-10 16:07:41 +01:00
Sylvestre Ledru 7333573361
Merge pull request #5630 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.0.5
2023-12-10 10:47:32 +01:00
renovate[bot] 7279fbe91c
chore(deps): update vmactions/freebsd-vm action to v1.0.5 2023-12-10 01:38:33 +00:00
Sylvestre Ledru 0308e015a6
Merge pull request #5603 from sylvestre/gnu-legacy
ls: Match the gnu behavior for colors
2023-12-09 17:19:15 +01:00
Sylvestre Ledru 1d4c919b97
Add mdir to the spell ignore 2023-12-09 16:33:19 +01:00
Daniel Hofstetter 286b4dafd5
Merge pull request #5628 from uutils/renovate/xattr-1.x
chore(deps): update rust crate xattr to 1.1.1
2023-12-09 14:48:41 +01:00
renovate[bot] 5d8c49ff07
chore(deps): update rust crate xattr to 1.1.1 2023-12-09 12:52:02 +00:00
Sylvestre Ledru e071286eb0 address review comments 2023-12-09 13:10:41 +01:00
Sylvestre Ledru 268b180416 ls colors: create a stylemanager to carry the previous style to know if we need to reset or not 2023-12-09 13:10:38 +01:00
Sylvestre Ledru b676216f9b ls: use the gnu_legacy feature from lscolors 2023-12-09 13:05:12 +01:00
Daniel Hofstetter e9dc2930ee ls: handle invalid block size as GNU does 2023-12-08 19:19:51 +01:00