Commit Graph
36 Commits
Author SHA1 Message Date
Tuomas TynkkynenandGitHub 2e7cc47631 base64: Improve read error message (#10512)
Instead of just "Uncategorized error" output:
"base64: read error: Input/output error"
2026-01-27 19:15:48 +01:00
karanabeandSylvestre Ledru 92bb655b0c fix(base64): allow padded chunks mid-stream 2025-11-08 22:18:19 +01:00
Aaron Ang 2919027841 uudoc: move manpage generation away from the binary 2025-10-22 01:17:08 -07:00
Sylvestre Ledru 596784e70e Fix base64/base32/basenc to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru 1d8dafcea1 fix some last clap errors mgmt 2025-08-14 10:52:03 +02:00
Dorian Peron 6e23d4e979 tests: patch tests to simplify imports 2025-07-01 03:36:46 +02:00
Sylvestre LedruandSylvestre Ledru f12111b7a2 base*: create a common locale directory with symlinks 2025-06-29 20:11:02 +02:00
Sylvestre Ledru a0179ea239 uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
ae6d4dec28 base32/base64/basenc: add -D flag (#7479)
* base32/base64/basenc: add -D flag

* base32/base64/basenc: add test for -D flag

* update extensions.md

* remove redundant parameters

* merge  into a single category

* Update docs/src/extensions.md

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2025-03-18 14:39:53 +01:00
sreehari prasadandGitHub c2505841e0 Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
Sylvestre Ledru 93dfc933bd base32/base64: handle two corner cases
* no padding
* --wrap 0

+ remove property_tests.rs, we don't need such tests as the
code is already tests by test_base* (+ it is too dependant
on the code structure)

Should make base64.pl pass
2024-12-04 22:02:57 +01:00
Andrew Liebenow 32e1c54c78 Fix "coreutils manpage base64" bug 2024-10-05 08:17:10 -05:00
Andrew Liebenow eaf74cd1f6 Fix spelling warning 2024-09-20 16:23:13 -05:00
Andrew Liebenow 167586f6fb Fix compilation error and spelling warning 2024-09-20 15:40:22 -05:00
Andrew Liebenow 846cf06272 basenc: perform faster, streaming encoding
Improve the performance, both in memory and time, of the encoding
performed by the basenc (except in --z85 mode), base32, and base64
programs.

These programs now perform encoding in a buffered/streaming manner,
so encoding is not constrained by the amount of available memory.
2024-09-20 14:34:18 -05:00
Ben Wiederhake 445905a045 base32/base64/basenc: permit repeating -d/-i/-w flags 2024-02-24 21:11:18 +01:00
Sylvestre Ledru bfca6bf70f Add license headers on all files 2023-08-21 10:49:27 +02:00
Daniel Hofstetter 6988eb7ec6 tests: expand wildcard imports 2023-03-20 15:32:35 +01:00
Daniel Hofstetter 3eeb5dda30 tests: adapt to clap's modified error messages 2023-03-09 10:06:20 +01:00
Joining7943 1fadeb43b2 tests/util: Do not trim stderr in CmdResult::stderr_is. Add method stderr_trimmed_is.
Fix tests assert whitespace instead of trimming it. Disable some tests in `test_tr` because `tr`
produces too many newlines.
2023-01-22 14:56:19 +01:00
Terts Diepraam 26309dc9d7 base{32, 64, enc}: update to clap 4 2022-10-13 16:22:24 +02:00
Sylvestre Ledru 6e14dea73b Fix some clippy warnings
Fixed with `cargo clippy --features unix  --fix`
and manually
2022-10-13 09:07:22 +02:00
Terts Diepraam 18369dc0be all: use array intoiterator 2022-04-05 10:39:31 +02:00
Terts Diepraam 2412e4cbf7 add some tests for Clap's InferLongArgs setting 2022-01-29 02:06:32 +01:00
Thomas Queiroz c9624725ab tests: use CmdResult::usage_error 2021-11-09 17:37:05 -03:00