Commit graph

10872 commits

Author SHA1 Message Date
Terts Diepraam
c3f9e19a3b all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
Sylvestre Ledru
3fc36ee3cf
Merge pull request #5197 from cakebaker/remove_author_copyright_notices
Remove the author copyright notices
2023-08-23 06:21:47 -04:00
Daniel Hofstetter
774180bb09 Remove the author copyright notices
from files missed by #5184
2023-08-23 10:54:00 +02:00
Daniel Hofstetter
2e60b73d1e
Merge pull request #5196 from uutils/renovate/num-bigint-0.x
chore(deps): update rust crate num-bigint to 0.4.4
2023-08-23 07:45:13 +02:00
renovate[bot]
079f7f9258
chore(deps): update rust crate num-bigint to 0.4.4 2023-08-23 00:11:14 +00:00
Sylvestre Ledru
f1ec8e6fed
Merge pull request #5192 from cakebaker/factor_refactor_loop
factor: simplify loop in test
2023-08-22 05:35:30 -04:00
Daniel Hofstetter
1b705ae07c factor: simplify loop in test 2023-08-22 09:45:17 +02:00
Daniel Hofstetter
0f0f59269f
Merge pull request #5190 from tertsdiepraam/readme-fix-docs
README: update links to docs
2023-08-22 08:12:28 +02:00
Terts Diepraam
cd9c97f705 README: update links to docs 2023-08-21 22:52:28 +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
Daniel Hofstetter
32461cdd94
Merge pull request #5185 from tertsdiepraam/add-conda-installer
docs: add conda installer
2023-08-21 15:56:42 +02:00
Terts Diepraam
93a5b161ae docs: add conda installer 2023-08-21 15:02:51 +02: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
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