Commit graph

11828 commits

Author SHA1 Message Date
Terts Diepraam
4b2577fc78 test/sort: run cargo fmt 2023-12-21 10:19:52 +01:00
Terts Diepraam
8ede759415
Merge pull request #5681 from just1602/5667_sort_should_accept_multiple_ignore_case_flag
sort: allow `-f` to be pass multiple time
2023-12-21 10:09:57 +01:00
allaboutevemirolive
f874788b2c Use better testcase 2023-12-21 10:48:58 +02:00
Daniel Hofstetter
f16a4ae9c9 ls: remove condition with unreachable "else" block 2023-12-21 09:37:36 +01:00
Daniel Hofstetter
f5ba7f62db
Merge pull request #5685 from sylvestre/dir2dir
mv: dir2dir: adjust GNU tests - our error message is better
2023-12-21 08:21:17 +01:00
Daniel Hofstetter
082120333d
Merge pull request #5683 from uutils/renovate/self_cell-1.x
chore(deps): update rust crate self_cell to 1.0.3
2023-12-21 07:03:28 +01:00
Sylvestre Ledru
07374a9588 mv: dir2dir: adjust GNU tests - our error message is better 2023-12-20 23:09:15 +01:00
allaboutevemirolive
3e6187269e fix duplicate flags 2023-12-20 23:30:46 +02:00
Justin !
a6ba81db20
sort: allow -f to be pass multiple time
Fix #5667
2023-12-20 12:42:57 -05:00
renovate[bot]
b7bbec6d0f
chore(deps): update rust crate self_cell to 1.0.3 2023-12-20 17:09:27 +00:00
Sylvestre Ledru
c20f009da4
Merge pull request #5676 from lcheylus/openbsd-fix
uucore: remove useless conversion for features/fs on OpenBSD
2023-12-20 15:44:34 +01:00
Terts Diepraam
f90713278f uucore/fsext: do not use dangerous macro for nul terminated UTF16 strings 2023-12-20 15:27:51 +01:00
Terts Diepraam
cc15876bb7 uucore/fsext: merge some windows imports 2023-12-20 15:27:51 +01:00
Terts Diepraam
d4a9d63ea2 uucore/fsext: refactor MountInfo construction 2023-12-20 15:27:51 +01:00
Sylvestre Ledru
de5c66adae
Merge pull request #5677 from cakebaker/ls_support_blocksize_env_var
ls: recognize BLOCKSIZE env var
2023-12-20 15:21:59 +01:00
Sylvestre Ledru
ce2a5d5b9a
expr fuzz: add missing ops. found thanks to oss fuzz coverage (#5557)
* expr fuzz: add missing ops. found thanks to oss fuzz coverage
https://storage.googleapis.com/oss-fuzz-coverage/rust-coreutils/reports/20231118/linux/src/rust-coreutils/src/uu/expr/src/syntax_tree.rs.html

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-20 15:15:20 +01:00
Daniel Hofstetter
d8709d2839 ls: recognize BLOCKSIZE env var 2023-12-19 15:00:06 +01:00
Sylvestre Ledru
6bcf4e2cec
tr: add 'boop' to the ignore spell check 2023-12-19 13:26:39 +01:00
Laurent Cheylus
b9d4f97e6d
uucore: remove useless conversion for features/fs on OpenBSD
- src/uucore/src/lib/features/fs.rs: in inode function, remove useless
    conversion for target_OS = OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2023-12-19 12:13:20 +01:00
Sylvestre Ledru
9920f13a34
Merge pull request #5640 from tertsdiepraam/tr-no-output
`tr`: operate on bytes instead of chars
2023-12-19 11:42:44 +01:00
Sylvestre Ledru
3d42619027
Merge pull request #5674 from cakebaker/ls_ignore_invalid_block_size_from_env_vars
ls: ignore invalid block size from env vars
2023-12-19 11:11:11 +01:00
Sylvestre Ledru
5cc5aa70ce
Merge pull request #5675 from cakebaker/ls_rename_display_file_name
ls: rename `display_file_name` to `display_item_name`
2023-12-19 11:10:49 +01:00
Daniel Hofstetter
d8f299eb48 ls: mention config.hyperlink in comment 2023-12-19 10:50:36 +01:00
Daniel Hofstetter
ebfbd8b1fe ls: rename display_file_name -> display_item_name 2023-12-19 10:50:36 +01:00
Daniel Hofstetter
a5606613bd ls: ignore invalid block size from env vars 2023-12-19 10:02:34 +01:00
Sylvestre Ledru
52af36d80b
Merge pull request #5673 from tertsdiepraam/expr-fix-comparison
`expr`: coerce to string before comparing values
2023-12-18 22:50:42 +01:00
Terts Diepraam
00b9cbe09e expr: coerce to string before comparing values 2023-12-18 22:24:31 +01:00
Sylvestre Ledru
b32c93ee5e
Merge pull request #5672 from cakebaker/ls_hyperlink_dirs
ls: support hyperlinks for dir names
2023-12-18 18:24:27 +01:00
Sylvestre Ledru
ece9e91593
Merge pull request #5671 from Yykz/wc_args_override
wc: fix arguments not overriding
2023-12-18 15:56:10 +01:00
Yykz
652e02fb59 cargo fmt 2023-12-18 15:34:51 +01:00
Daniel Hofstetter
917c6a4743 ls: support hyperlinks for dir names 2023-12-18 15:26:09 +01:00
Daniel Hofstetter
8c6463c525 ls: extract "create_hyperlink" function 2023-12-18 14:25:13 +01:00
Yykz
cae113c237 Added tests 2023-12-18 14:12:59 +01:00
Sylvestre Ledru
0fa074fcba
Merge pull request #5629 from cakebaker/ls_hyperlink_encode
ls: encode path when using --hyperlink
2023-12-18 13:38:08 +01:00
Yykz
bd22aba03b make args of wc overriding 2023-12-18 12:47:37 +01:00
Sylvestre Ledru
72ecf185dc
Merge pull request #5670 from cakebaker/ci_fix_cargo_tree_warnings
ci: fix warnings from "cargo tree"
2023-12-18 09:56:40 +01:00
Daniel Hofstetter
d8d555dd66 ci: fix warnings from "cargo tree" 2023-12-18 08:26:22 +01:00
Daniel Hofstetter
e79eb097af
Merge pull request #5656 from sylvestre/ls-var
ls: manages the COLOR and COLORTERM variables
2023-12-18 07:16:38 +01:00
Sylvestre Ledru
3352b7f604
Merge pull request #5662 from sylvestre/fuzzing-simp
fuzz: Simplify the compare_result function
2023-12-17 21:46:47 +01:00
Sylvestre Ledru
b2e26f2aec fuzz: Simplify the compare_result function 2023-12-17 17:57:21 +01:00
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
Akmal
052f38f14d
unexpand: remove crash! macro (#5588)
* unexpand_macro_fixed

* unexpand

* Remove crash

* Passed local test case

* Small changes

* unexpand: remove #[allow(clippy::cognitive_complexity)]

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-17 16:43:00 +01:00
Sylvestre Ledru
35ae43e71f
Merge pull request #5620 from lcheylus/openbsd-utmpx
Support unix feature on OpenBSD (utmpx not supported)
2023-12-16 18:15:11 +01:00
Daniel Hofstetter
9167a84358 ls: enable "colors" feature 2023-12-16 17:17:44 +01:00
Daniel Hofstetter
be9b675ec1
Merge pull request #5659 from sylvestre/build-gnu
build-gnu.sh: build in debug by default. Easier for local dev
2023-12-16 16:23:15 +01:00
Sylvestre Ledru
ba0c89fc5e build-gnu.sh: build in debug by default. Easier for local dev 2023-12-16 15:06:58 +01:00
Sylvestre Ledru
28111407a3
Merge pull request #5657 from cakebaker/docs_remove_notes
docs: remove two notes
2023-12-16 14:48:10 +01:00
Daniel Hofstetter
5c37df6e46 docs: remove two notes 2023-12-16 14:31:41 +01:00
Daniel Hofstetter
8e3e6d38bf
Merge pull request #5654 from uutils/sylvestre-patch-3
ignore-intermittent.txt: adjust the renamed test name
2023-12-16 13:50:16 +01:00