Commit graph

11502 commits

Author SHA1 Message Date
Terts Diepraam
6d2698b802 Merge branch 'main' into printf-rewrite 2023-11-20 13:53:11 +01:00
Terts Diepraam
68d036c9a2 printf: basic support for unicode escape sequences 2023-11-20 13:45:02 +01:00
Terts Diepraam
066d8ba73d printf: coerce missing and invalid arguments to 0 2023-11-20 13:25:20 +01:00
Terts Diepraam
c43ee01d19 printf: allow precision in string 2023-11-20 12:38:26 +01:00
clara swanson
58087df02a
stdbuf: remove crash macro (#5549)
* stdbuf: remove crash! macro

* stdbuf: change target_vendor back to apple

* tests/stdbuf: change stderr_only to usage_error in test_stdbuf_invalid_mode_fails

* stdbuf: add exit code to check_option

* stdbuf: remove set_exit_code line from error
2023-11-20 10:16:18 +01:00
Sylvestre Ledru
02dc6ee67e
Merge pull request #5535 from sylvestre/check-version
publishing: check if the current version is already there or not
2023-11-19 18:42:10 +01:00
Yury Zhytkou
eb00c195c6
split: pass GNU tests/b-chunk.sh (#5475)
---------

Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Brandon Elam Barker <brandon.barker@gmail.com>
Co-authored-by: Kostiantyn Hryshchuk <statheres@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 17:19:10 +01:00
Terts Diepraam
5f2374b339 printf: fix negative hex argument parsing 2023-11-17 14:57:09 +01:00
Terts Diepraam
ce18e0ab97 printf: ignore hexadecimal floats test
This can be un-ignored when it is implemented
2023-11-17 14:47:41 +01:00
Terts Diepraam
fef84f7203 printf: add emoji character test 2023-11-17 14:47:08 +01:00
Terts Diepraam
955640aac8 printf: fix and test float formatting 2023-11-17 14:46:38 +01:00
Terts Diepraam
4aafb3f88b printf: exit correctly on \c 2023-11-17 14:46:00 +01:00
Terts Diepraam
76eca8d999 uucore/format: fix doctests 2023-11-17 14:43:25 +01:00
Terts Diepraam
f3da0817a5 printf: support precision for integers 2023-11-17 14:42:52 +01:00
Terts Diepraam
f83e0d1b04 printf: accept multiple length parameters 2023-11-17 14:41:42 +01:00
Terts Diepraam
cd0c24af07 printf: implement %b 2023-11-17 14:41:14 +01:00
Terts Diepraam
a45ff8ca73 printf: more flexible parsing of unparsed arguments 2023-11-17 14:39:39 +01:00
Daniel Hofstetter
a7e5af4770
Merge pull request #5540 from cswn/join-remove-crash-macro
join: remove crash! macro
2023-11-17 07:00:55 +01:00
Sylvestre Ledru
0a385ee7a5
Merge pull request #5548 from cakebaker/clippy_fix_warnings_rust_1_74
clippy: fix warnings introduced by Rust 1.74
2023-11-16 17:28:19 +01:00
Terts Diepraam
eaf5006379 printf: parse arguments and handle escape codes 2023-11-16 17:00:41 +01:00
Daniel Hofstetter
2f9fcf73fa clippy: fix warnings introduced by Rust 1.74 2023-11-16 16:21:28 +01:00
Terts Diepraam
e7d58f673f seq: simplify and use new printf implementation 2023-11-16 14:29:49 +01:00
cswn
65dc70b553 join: remove match in uumain and return exec result 2023-11-16 12:02:39 +01:00
Sylvestre Ledru
7ff4cb3f4e
update of the license file to make it generic (#5545) 2023-11-16 10:40:31 +01:00
Sylvestre Ledru
2588f988a7
Merge pull request #5547 from YDX-2147483647/link
doc: Fix a broken link
2023-11-16 09:51:41 +01:00
cswn
a064c88656 join: replace match with JoinError with map_err_context 2023-11-16 09:35:32 +01:00
Y.D.X.
212991cd53
doc: Fix a broken link
`/build.md` is absolute, so the link in https://uutils.github.io/coreutils/book/installation.html turns out to be https://uutils.github.io/build.html instead of https://uutils.github.io/coreutils/book/build.html.

Reference: [Links · Markdown - mdBook Documentation](https://rust-lang.github.io/mdBook/format/markdown.html#links)
2023-11-16 12:26:40 +08:00
Terts Diepraam
da84583b5d
Merge pull request #5543 from pawelngei/printf-x-incorrect-exit-code-when-invalid-value
printf: Fixing incorrect exit code when passing invalid value to %x
2023-11-15 21:20:58 +01:00
ALXD
3cdb0966ae printf: add a test for %x with invalid value 2023-11-15 17:51:43 +01:00
ALXD
b3eae16fad printf: intf: change warning and exit code 2023-11-15 17:50:34 +01:00
cswn
5dff5f2f73 join: rename f variable to file_buf 2023-11-15 13:52:01 +01:00
Daniel Hofstetter
c8b8509b00
Merge pull request #5539 from YDX-2147483647/patch-1
doc: Fix the markdown highlighting syntax
2023-11-15 13:39:41 +01:00
cswn
94f6702ba5 join: remove crash! macro 2023-11-15 13:20:22 +01:00
Y.D.X
3f177ef97f
doc: Fix the markdown highlighting syntax
There should be a new line after `[!WARNING]`, according to [community · Discussion #16925](https://github.com/orgs/community/discussions/16925).
2023-11-15 19:09:46 +08:00
Daniel Hofstetter
0db834e04c
Merge pull request #5533 from cswn/split-remove-crash-macro
split: remove crash macro
2023-11-15 10:14:43 +01:00
Daniel Hofstetter
9ec994c5d7
Merge pull request #5537 from sylvestre/missing-features
add missing features to uucore
2023-11-15 10:06:27 +01:00
Sylvestre Ledru
3f86bc59de add missing features to uucore 2023-11-15 08:31:53 +01:00
Daniel Hofstetter
5a0ad29ce5
Merge pull request #5534 from uutils/renovate/itertools-0.x
chore(deps): update rust crate itertools to 0.12.0
2023-11-15 07:46:40 +01:00
Sylvestre Ledru
6446ef294c publishing: check if the current version is already there or not
This can happen when a publishing step failed
2023-11-14 21:35:15 +01:00
renovate[bot]
e2e5ec60cd
chore(deps): update rust crate itertools to 0.12.0 2023-11-14 20:05:36 +00:00
cswn
c4580df2a4 split: remove crash macro 2023-11-14 18:07:35 +01:00
Daniel Hofstetter
a3af2230a6
Merge pull request #5528 from uutils/renovate/actions-github-script-7.x
chore(deps): update actions/github-script action to v7
2023-11-14 07:12:41 +01:00
Sylvestre Ledru
ecd9a4ea38
Merge pull request #5529 from sylvestre/bump-version
Prepare version 0.0.23
2023-11-13 22:54:01 +01:00
Sylvestre Ledru
ff92bfb25b Prepare version 0.0.23 2023-11-13 22:02:01 +01:00
renovate[bot]
1f40cd69c8
chore(deps): update actions/github-script action to v7 2023-11-13 18:55:11 +00:00
Terts Diepraam
6481d63ea4 uucore/format: implement single specifier formats 2023-11-13 15:22:49 +01:00
Terts Diepraam
0a07d47243
Merge pull request #5493 from cakebaker/du_inodes_with_count_links
du: make -l/--count-links work
2023-11-13 13:12:35 +01:00
Sylvestre Ledru
1603f4807f
Merge pull request #5525 from cakebaker/ci_remove_outdated_comment
ci: remove outdated comment
2023-11-12 14:48:24 +01:00
Daniel Hofstetter
cdbc7bb416 ci: remove outdated comment 2023-11-12 13:41:29 +01:00
Daniel Hofstetter
cac9d5fde2
Merge pull request #5523 from dzbarsky/main
Add darwin arm64 builds
2023-11-12 13:35:19 +01:00