Sylvestre Ledru
9844f1f07d
0.0.20 => 0.0.21
2023-09-03 14:42:54 +02:00
Daniel Hofstetter
b405d4e6cc
uucore: turn update_control into a feature
2023-09-02 14:45:58 +02:00
Sylvestre Ledru
6012002880
Merge pull request #5231 from cakebaker/uucore_backup_control_feature
...
uucore: turn backup_control into a feature
2023-09-01 21:08:59 +02:00
Sylvestre Ledru
b783088900
Merge pull request #5229 from cakebaker/uucore_make_dunce_optional
...
uucore: make "dunce" optional
2023-09-01 16:54:42 +02:00
Daniel Hofstetter
b41ff2ed7f
uucore: turn backup_control into a feature
2023-09-01 16:20:37 +02:00
Daniel Hofstetter
2e71508308
uucore: make "dunce" optional
2023-09-01 09:47:22 +02:00
XXIV
4f465eb76c
remove unnecessary heap allocation
2023-08-31 23:44:45 +03:00
Daniel Hofstetter
fb1c663724
uucore: make deps of "sum" feature optional
2023-08-31 16:45:55 +02:00
Daniel Hofstetter
2e2387d434
parse_size,dd: turn instance fns to associated fns
2023-08-26 14:35:35 +02:00
Sylvestre Ledru
f0602b0ce6
Merge pull request #5204 from cakebaker/fix_clippy_warnings
...
Fix clippy warnings with Rust 1.72.0
2023-08-25 13:21:38 -04:00
Sylvestre Ledru
e8ed65f4fa
Merge pull request #5206 from cakebaker/fix_bool_to_int_with_if
...
uucore,comm: fix warnings from bool_to_int_with_if
2023-08-25 13:20:00 -04:00
Daniel Hofstetter
79a44d768c
uucore,comm: fix warnings from bool_to_int_with_if
2023-08-25 15:29:15 +02:00
Daniel Hofstetter
b9c05ed4e3
Remove the author copyright notices
...
from files missed by https://github.com/uutils/coreutils/pull/5184
and https://github.com/uutils/coreutils/pull/5197
2023-08-25 15:03:19 +02:00
Daniel Hofstetter
01b2834f2e
Fix clippy warnings with Rust 1.72.0
2023-08-25 13:22:02 +02:00
Terts Diepraam
c3f9e19a3b
all: normalize license notice in all *.rs files
2023-08-24 12:21:09 +02:00
Sylvestre Ledru
0b9c829bce
Merge pull request #5182 from sylvestre/clippy_
...
Fix some of the recent clippy warnings
2023-08-21 16:21:02 -04:00
Sylvestre Ledru
bf5b765cba
Remove the author copyright notices ( #5184 )
...
* Remove the author copyright notices
Rational:
* not maintained
* does not reflect reality
* don't provide any value (the info can be found in the git log)
* we don't have rules to update them
(ex: should you update it after one line, two lines, etc)
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-08-21 12:23:18 +02:00
Daniel Hofstetter
808f9e2fd6
uucore: add missing "!"
2023-08-21 10:56:17 +02:00
Sylvestre Ledru
bfca6bf70f
Add license headers on all files
2023-08-21 10:49:27 +02:00
Sylvestre Ledru
7c9f4ba92a
Fix some clippy warnings
2023-08-21 08:41:40 +02:00
Simon Legner
872818607f
Extract uucore::line_ending::LineEnding ( #5120 )
...
* Extract uucore::line_ending::LineEnding
Aims to provide consistent newline/zero terminator handling.
* Apply suggestions from code review
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
* cargo fmt
* Use uucore::line_ending::LineEnding
* Remove uucore::line_ending::LineEnding::Space
* Rename LineEnding::from_zero_flag
* Replace LineEnding::None with Option<LineEnding>
* cargo clippy
* assert_eq
* cargo clippy
* cargo clippy
* uucore/line_ending: add more documentation
---------
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-08-20 10:03:29 +02:00
Terts Diepraam
0a4f833bb7
Merge pull request #5127 from cakebaker/uucore_fix_shortcut_value_parser
...
uucore: don't show error for ambiguous value
2023-08-11 11:16:30 +02:00
Aneesh
773e69078c
docs(bin,has): add docstrings for macros bin and has
2023-08-03 13:39:38 +05:30
Daniel Hofstetter
ec27a074c0
uucore: don't show error for ambiguous value
...
that's a direct match in ShortcutValueParser
2023-08-01 08:39:05 +02:00
Daniel Hofstetter
fe9ec37141
uucore: use "workspace=true" for some dependencies
2023-07-22 16:14:32 +02:00
Sylvestre Ledru
74530c0f51
Update the version to 0.0.20
2023-07-14 13:04:17 +02:00
Daniel Hofstetter
5d03d2d9d4
clippy: fix warnings introduced by Rust 1.71.0
2023-07-13 17:35:33 +02:00
John Shin
844cbdc5a4
sort: add tests for stable and unstable sort
2023-07-05 10:05:52 +02:00
John Shin
e9405250f4
uucore: leading zeros are ignored in version compare
2023-07-05 10:05:52 +02:00
Sylvestre Ledru
9d44d8b71d
Merge pull request #4977 from cakebaker/date_shortcut_value_parser
...
date: use custom value parser
2023-07-04 19:56:46 +02:00
Sylvestre Ledru
24aff229da
Add a function to detect if file is likely to be the simple backup file
2023-06-28 23:11:25 +02:00
renovate[bot]
824097d224
fix(deps): update rust crate libc to 0.2.147
2023-06-25 19:09:01 +00:00
Sylvestre Ledru
ddcdda44db
Remove the auto capitalization of error message
2023-06-25 00:18:33 +02:00
renovate[bot]
0144a3c78f
fix(deps): update rust crate itertools to 0.11.0
2023-06-22 13:43:21 +00:00
Daniel Hofstetter
24b979c821
uucore: introduce ShortcutValueParser
2023-06-14 13:34:50 +02:00
Rayhan Faizel
c113284a4b
uucore: modify are_hardlinks_to_same_file to check only immediate metadata
2023-06-12 23:46:33 +05:30
Rayhan Faizel
ab42b1e599
uucore: add function which checks hardlink as well as directed symlink
2023-06-10 18:31:30 +05:30
Sylvestre Ledru
6ecef3a0e3
Reformat TOML files with taplo
...
npx --yes @taplo/cli fmt
2023-06-08 09:07:19 +02:00
renovate[bot]
c68b665bf9
fix(deps): update rust crate libc to 0.2.146
2023-06-06 14:39:50 +00:00
Sylvestre Ledru
830b7d5ce1
New release
2023-06-04 09:46:59 +02:00
Sylvestre Ledru
58bf998919
Ignore some words
2023-05-30 15:49:53 +02:00
John Shin
a397920183
core: refactor parse_number in size parser
2023-05-30 13:56:01 +02:00
John Shin
0465553f6e
core: size parser treat 000 as decimal
2023-05-30 13:56:01 +02:00
John Shin
8ef926c6e8
core: refactor num and unit split
2023-05-30 13:56:01 +02:00
John Shin
6cadffc8f1
core: fix clippy warning for size parser
2023-05-30 13:56:01 +02:00
John Shin
6278c6f2d6
core: add octal and hex size parse support
2023-05-30 13:56:01 +02:00
Daniel Hofstetter
1781a5db1d
Merge pull request #4698 from uutils/renovate/windows-sys-0.x
...
fix(deps): update rust crate windows-sys to 0.48.0
2023-05-30 13:40:49 +02:00
renovate[bot]
2ec70dc05d
fix(deps): update rust crate dns-lookup to v2
2023-05-30 06:37:02 +00:00
renovate[bot]
8f9a328c6a
fix(deps): update rust crate windows-sys to 0.48.0
2023-05-30 06:36:57 +00:00
Moïse Valvassori
b29f8b011b
chown: show "ownership of 'foo' retained" message
...
* Display a message when the owner is not changed.
* Display a message when the current user/group doesn't match those specified in the `--from` args.
* print messages to stdout
* Show the message "ownership of 'foo' retained as 'bar'" for every path entry when `chown -v -R --from=`
* fix chown tests: test stdout and not stderr
* factorize duplicate code in a function
* Display a message when the owner is not changed.
* Display a message when the current user/group doesn't match those specified in the `--from` args.
* print messages to stdout
* Show the message "ownership of 'foo' retained as 'bar'" for every path entry when `chown -v -R --from=`
* fix chown tests: test stdout and not stderr
* factorize duplicate code in a function
* display the retained ownership details according to the destination ownership.
2023-05-24 09:45:19 +02:00