Commit graph

11554 commits

Author SHA1 Message Date
Sylvestre Ledru
3e1d3caceb
head: remove clippy::cognitive_complexity by moving some content in a function (#5366)
* head: remove a clippy::cognitive_complexity by moving some content into a function

* Remove duplicate comment
2023-10-07 13:37:24 +02:00
Sanpi
e1b7f254a6
ls: fix panic when file removed too quickly
Fixes #5371
2023-10-07 12:57:05 +02:00
Daniel Hofstetter
91c8724fd5
Merge pull request #5369 from sylvestre/size
Binary sizes: handle when 0 (relpath removal)
2023-10-07 07:40:24 +02:00
Daniel Hofstetter
992bbcc4e7
Merge pull request #5370 from uutils/renovate/libc-0.x
chore(deps): update rust crate libc to 0.2.149
2023-10-07 07:01:08 +02:00
renovate[bot]
959bfa0160
chore(deps): update rust crate libc to 0.2.149 2023-10-07 02:43:46 +00:00
Zhuoxun Yang
e5d70d444a tests/expr: format 2023-10-07 10:41:10 +08:00
Sylvestre Ledru
98cfb0c322 Binary sizes: handle when 0 (relpath removal) 2023-10-06 22:08:14 +02:00
Sylvestre Ledru
a596cda516
Merge pull request #5355 from boxdot/main
relpath: remove
2023-10-06 20:39:25 +02:00
Luv_Ray
7bf4b7f674
tests/expr: add tests in test_expr.rs 2023-10-07 00:42:04 +08:00
Luv_Ray
0df561e256
expr: add comment in syntax_tree.rs 2023-10-07 00:19:56 +08:00
Zhuoxun Yang
5a732dd21a tests/expr: add test expr 1 \| a / 5 2023-10-06 23:50:44 +08:00
Zhuoxun Yang
2c2e01205c expr: short-circuit evaluation for | 2023-10-06 23:50:22 +08:00
PThorpe92
4a44a106a0
feat: expose mv externals + document for nushell 2023-10-06 11:34:06 -04:00
PThorpe92
6091bafe08
feat(mv): expose functionality, document for nushell 2023-10-06 11:33:58 -04:00
Zhuoxun Yang
fa2a14ccd2 expr: unify debug message 2023-10-06 22:55:30 +08:00
Sylvestre Ledru
c595948dbc
Merge pull request #5362 from cakebaker/clippy_fix_warnings_in_tests
clippy: fix warnings in tests
2023-10-06 10:42:08 +02:00
Daniel Hofstetter
6dd53c7a71 clippy: fix warnings in tests 2023-10-06 10:11:26 +02:00
Daniel Hofstetter
7d39b1ade5
Merge pull request #5359 from sylvestre/chown-sim
chown: move uid & gid detections into their own functions
2023-10-06 09:00:03 +02:00
Daniel Hofstetter
f8f1c7f42b
Merge pull request #5361 from uutils/renovate/byteorder-1.x
chore(deps): update rust crate byteorder to 1.5.0
2023-10-06 08:35:47 +02:00
Daniel Hofstetter
4760b1f340
chown: remove unnecessary return 2023-10-06 07:49:36 +02:00
renovate[bot]
7c3de40842
chore(deps): update rust crate byteorder to 1.5.0 2023-10-06 05:01:49 +00:00
Daniel Hofstetter
e03028f2c4
Merge pull request #5360 from sylvestre/clippy
touch: fix clippy warning - redundant guard
2023-10-06 06:59:52 +02:00
terade
f18e8983b1 rm: Refactor prompt_file, lower nesting depth
Addressing issue #5345.
Introduce new helper function: prompt_file_permission_read_only
2023-10-06 01:39:59 +02:00
Sylvestre Ledru
d756a05be6 touch: fix clippy warning - redundant guard 2023-10-05 19:18:00 +02:00
Sylvestre Ledru
b87e1f5676 chown: move uid & gid detections into their own functions 2023-10-05 19:06:46 +02:00
boxdot
e88183174b
relpath: remove
Closes #5236
2023-10-04 16:13:06 +02:00
tommady
aaea3b40fb
fix freebsd typo 2023-10-04 09:16:54 +00:00
tommady
5ce3720820
fix freebds mode_t is u16 but other unix platforms are u32 2023-10-04 09:12:26 +00:00
tommady
6c05385d77
fix macos-12 mode_t is u16 but other unix platforms are u32 2023-10-04 08:31:07 +00:00
tommady
74c393974c
fix android mode_t is u16 but other unix platforms are u32 2023-10-04 08:17:40 +00:00
tommady
879b4f363d
Merge branch 'main' into fix-5327 2023-10-04 16:06:48 +08:00
tommady
cdde57608c
fix macos mode_t is u16 but other unix platforms are u32 2023-10-04 08:06:30 +00:00
tommady
88f88e51cc
fix expected , found and spelling errors 2023-10-04 07:12:25 +00:00
tommady
6c30a1df78
fix-5327 2023-10-04 06:04:46 +00:00
Daniel Hofstetter
3c2e327a34
Merge pull request #5352 from uutils/renovate/memmap2-0.x
chore(deps): update rust crate memmap2 to 0.9
2023-10-04 06:58:06 +02:00
Terts Diepraam
9e9701974e
Merge pull request #5350 from cakebaker/echo_no_new_line
echo: don't output "\n" if "\c" is encountered
2023-10-03 17:35:58 +02:00
renovate[bot]
b591bedcab
chore(deps): update rust crate memmap2 to 0.9 2023-10-03 15:34:37 +00:00
Sylvestre Ledru
39a5ad2f4f
Merge pull request #5351 from cakebaker/mv_fix_typo_in_test_function_name
mv: fix typo in test function name
2023-10-03 15:48:51 +02:00
Daniel Hofstetter
54ba81ecbb mv: fix typo in test function name
test_mv_info_self -> test_mv_into_self
2023-10-03 15:09:20 +02:00
Daniel Hofstetter
c29bcb219f echo: don't output "\n" if "\c" is encountered 2023-10-03 14:37:15 +02:00
Daniel Hofstetter
139f205783
Merge pull request #5218 from tertsdiepraam/echo-fix-octal-wrapping
`echo`: fix wrapping behavior of octal sequences
2023-10-03 13:52:56 +02:00
Terts Diepraam
a107374c82 echo: use controlflow instead of bool 2023-10-03 12:10:20 +02:00
Terts Diepraam
689b21d0b8
Merge pull request #5348 from cakebaker/cp_show_no_skipped_message
cp: show no "skipped" msg with -vi/-vin
2023-10-03 11:58:47 +02:00
Terts Diepraam
0f248d7525
Merge pull request #5347 from cakebaker/mv_show_no_skipped_message
mv: show no "skipped" msg with -vi/-vin
2023-10-03 11:58:31 +02:00
PGIII
252d01ac33
cp: fail when trying to copy to read only file on mac (#5261)
* cp: fail when trying to copy to read only file

* fix spelling error in macos.rs

* simplify permissions check

* add comment

* fix typo
2023-10-03 00:48:22 +02:00
Yury Zhytkou
c5a0aa92f8
split: implementing separator option (#5331)
* split: implementing separator option

* split: separator option - handle multiple update

* split: style

* split: separator tests

* split: separator tests - stdin in ci/cd

* split: tests - ci/cd stdin errors

* split: refactor based on feedback

* split: improve test coverage

* split: fix broken pipe error in tests with stdin

* split: fix for handle_multiple_separator_options

* split: comments

* split: refactor separator code

* split: changes based on feedback

* split: changes based on feedback
2023-10-03 00:42:46 +02:00
Yury Zhytkou
9f6a720582
Introducing DEVELOPMENT.md (#5209) 2023-10-02 21:46:00 +02:00
Daniel Hofstetter
8ee69d2b92 cp: show no "skipped" msg with -vi/-vin 2023-10-02 15:38:34 +02:00
Daniel Hofstetter
fda762b91c mv: show no "skipped" msg with -vi/-vin 2023-10-02 14:50:29 +02:00
Daniel Hofstetter
ac5684dc8d
Merge pull request #5346 from uutils/renovate/bytecount-0.x
chore(deps): update rust crate bytecount to 0.6.4
2023-10-02 07:03:47 +02:00