Commit graph

11010 commits

Author SHA1 Message Date
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
Sylvestre Ledru
d8f28364f0
Merge pull request #5168 from cakebaker/chown_remove_duplication_in_tests
chown: remove some duplication in tests
2023-08-21 12:22:32 +02:00
Daniel Hofstetter
675db9186e id: remove mutable reference when calling id_print 2023-08-21 11:39:18 +02:00
Sylvestre Ledru
eb52732f1a
Merge pull request #5183 from sylvestre/license
Add license headers on all files
2023-08-21 11:07:48 +02:00
Daniel Hofstetter
ba8e9366f6 stdbuf: fix get_preload_env doesn't need a mutable reference 2023-08-21 10:56:17 +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
7fa685485e
Merge pull request #4641 from sylvestre/fuzz-test
Fuzz the test command
2023-08-21 10:45:27 +02:00
Sylvestre Ledru
57a2a8323c fuzz the test command 2023-08-21 09:09:09 +02:00
Sylvestre Ledru
9aa59ef915 Don't warn too_many_lines for generated map 2023-08-21 08:41:43 +02:00
Sylvestre Ledru
7c9f4ba92a Fix some clippy warnings 2023-08-21 08:41:40 +02:00
Daniel Hofstetter
682f488720
Merge pull request #5179 from tertsdiepraam/unix-include-hostid-by-default
`Cargo.toml`: add `feat_require_unix_hostid` to `feat_os_unix`
2023-08-21 07:52:00 +02:00
tommady
b5746f794c
date: fix panic when input will cause overflow (#5160)
* fix issue 5149

* fix clippy style issue

* fix spell issue

* address comment

* address comments

* fix cspell
2023-08-20 16:55:38 +02:00
Terts Diepraam
abffe6c768
Merge pull request #5178 from cakebaker/docs_add_missing_word
docs: add missing "not"
2023-08-20 15:09:34 +02:00
Terts Diepraam
6c5274512d Cargo.toml: add feat_require_unix_hostid to feat_os_unix 2023-08-20 15:06:08 +02:00
Daniel Hofstetter
2e27305261 docs: add missing "not" 2023-08-20 14:49:22 +02:00
Sylvestre Ledru
59f75b0fb3
Merge pull request #5175 from tertsdiepraam/oranda-setup
website: fix `path_prefix` in oranda
2023-08-20 12:03:55 +02:00
Terts Diepraam
c41ccbfcad website: fix path_prefix 2023-08-20 12:03:38 +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
Sylvestre Ledru
3b0bfb10ac
Merge pull request #5172 from tertsdiepraam/docs-platform-support-page
Docs platform support page
2023-08-19 19:21:48 +02:00
Terts Diepraam
1431fb7ae8 docs: remove README.target.md in favor of platform support page in the docs 2023-08-19 18:19:17 +02:00
Terts Diepraam
171f9d660c docs: add platform support page in the docs 2023-08-19 18:19:12 +02:00
Daniel Hofstetter
f9d81b2aa8
Merge pull request #5163 from cakebaker/nl_handle_line_number_overflow
nl: handle line number overflow
2023-08-19 14:37:30 +02:00
Daniel Hofstetter
d604f709ce nl: handle line number overflow 2023-08-19 07:16:06 +02:00
Daniel Hofstetter
15c27cd545
Merge pull request #5169 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.8.0
2023-08-19 06:55:32 +02:00
renovate[bot]
370920f0bd
chore(deps): update rust crate tempfile to 3.8.0 2023-08-18 22:40:06 +00:00
Terts Diepraam
9e3d93e7ea
Merge pull request #5152 from tertsdiepraam/cp-prepare-for-nu
`cp`: make more types public and add more documentation (for nushell)
2023-08-19 00:39:23 +02:00
Terts Diepraam
f1978955ba
Merge pull request #5156 from cakebaker/nl_implement_try_from_for_numbering_style
nl: implement TryFrom<&str> for NumberingStyle
2023-08-18 23:10:32 +02:00
Daniel Hofstetter
8b9509a55b chown: remove some duplication in tests 2023-08-18 16:11:11 +02:00
Daniel Hofstetter
7bc3c5d507
Merge pull request #5165 from cakebaker/bump_cpp
Bump cpp to remove aho-corasick from skip list in deny.toml
2023-08-18 10:03:49 +02:00
Daniel Hofstetter
228a58080d deny.toml: remove aho-corasick from skip list 2023-08-17 11:22:06 +02:00
Daniel Hofstetter
a756fa3266 Bump aho-corasick from 1.0.2 to 1.0.4 2023-08-17 11:22:06 +02:00
Daniel Hofstetter
f63c87276c Bump cpp from 0.5.8 to 0.5.9 2023-08-17 11:22:06 +02:00
Daniel Hofstetter
acccad5339
Merge pull request #5167 from cakebaker/downgrade_windows_targets
Downgrade windows-targets from 0.48.2 to 0.48.0
2023-08-17 11:18:34 +02:00
Daniel Hofstetter
bdbf717605 Downgrade windows-targets from 0.48.2 to 0.48.0 2023-08-17 10:06:56 +02:00
Terts Diepraam
597f51670c cp: refactor attribute parsing
Clean up the parsing of the attributes to
preserve. There are several improvements here: Preserve now uses  `max`
from Ord, the `max` method is now called `union` and does not mutate,
the parse loop is extracted into a new function `parse_iter`, the `all`
and `none` methods are replaced with const values. Finally
all fields of Attributes are now public.
2023-08-16 19:04:18 +02:00
Daniel Hofstetter
4be96f6af7
Merge pull request #5161 from cakebaker/bump_windows_targets
Bump windows-targets from 0.48.0 to 0.48.2
2023-08-16 09:41:25 +02:00
Daniel Hofstetter
16bd3f35c1 Bump windows-targets from 0.48.0 to 0.48.2 2023-08-15 08:02:42 +02:00
Daniel Hofstetter
7fcff306af
Merge pull request #5159 from bluelief/fix-fmt-check-opt_width
fmt: fix panic on width argument
2023-08-15 07:52:12 +02:00
Bluelief
a7ab660a38
fmt: change test to ignore and fix test output
- fix test to get same result as GNU fmt
2023-08-15 00:43:32 +09:00
Bluelief
946e1bb2d1
fmt: fix panic on width argument 2023-08-14 22:47:21 +09:00
Daniel Hofstetter
d5ab7bbacd nl: implement TryFrom<&str> for NumberingStyle 2023-08-13 14:09:15 +02:00
Daniel Hofstetter
6ffea22b57
Merge pull request #5157 from uutils/renovate/rstest-0.x
chore(deps): update rust crate rstest to 0.18.2
2023-08-13 13:10:31 +02:00
renovate[bot]
5f4bc812fb
chore(deps): update rust crate rstest to 0.18.2 2023-08-13 10:02:53 +00:00
Terts Diepraam
f53c073363
Merge pull request #5155 from cakebaker/nl_no_renumber
nl: re-add handling for -p/--no-renumber
2023-08-12 17:44:11 +02:00
Daniel Hofstetter
9e739f1658
Merge pull request #5154 from cakebaker/bump_js_sys
Bump js-sys from 0.3.60 to 0.3.64
2023-08-12 16:55:29 +02:00
Daniel Hofstetter
08e21e183b nl: re-add handling for -p/--no-renumber 2023-08-12 14:36:22 +02:00
Daniel Hofstetter
df0a816f07 Bump js-sys from 0.3.60 to 0.3.64 2023-08-12 13:38:45 +02:00
Daniel Hofstetter
7a6bd83859
Merge pull request #5153 from shinhs0506/split-from-digit
split: loop over chars and remove char_from_digit function
2023-08-12 08:11:07 +02:00
John Shin
631b9892f6 split: loop over chars and remove char_from_digit function 2023-08-11 18:36:08 -07:00