1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-15 19:36:16 +00:00
Commit graph

15910 commits

Author SHA1 Message Date
Sylvestre Ledru
f39fdd2831
Merge pull request #7146 from cakebaker/bump_chrono_tz
Bump `chrono-tz` to `0.10.0`
2025-01-16 12:39:50 +01:00
Daniel Hofstetter
7edd045206 date: use UTC if TZ is empty 2025-01-16 11:44:45 +01:00
Daniel Hofstetter
ada18863a7 date: adapt to API change in chrono-tz 2025-01-16 11:44:45 +01:00
Daniel Hofstetter
6bedec53ad Bump chrono-tz from 0.8.6 to 0.10.0 2025-01-16 11:44:45 +01:00
Sylvestre Ledru
3913152a27
Merge pull request #7148 from cakebaker/fuzz_bump_bigdecimal
fuzz: bump `bigdecimal` from `0.4.3` to `0.4.7`
2025-01-16 11:33:12 +01:00
Daniel Hofstetter
2e4d4b4599 fuzz: bump bigdecimal from 0.4.3 to 0.4.7 2025-01-16 10:55:07 +01:00
Daniel Hofstetter
b7edb42f22
Merge pull request #7147 from uutils/sylvestre-patch-3-1
why-error: fixed tests/seq/seq-precision
2025-01-16 10:42:32 +01:00
Sylvestre Ledru
8b93c066f4
why-error: fixed tests/seq/seq-precision
by https://github.com/uutils/coreutils/pull/7145
2025-01-16 10:29:47 +01:00
Sylvestre Ledru
6060a3e831
Merge pull request #7145 from alexs-sh/seq-fix-min-exponent
seq: add a lower bound for exponents
2025-01-16 10:28:48 +01:00
Alexander Shirokov
b3c0633b95
seq:add bounds for exponents
Add bounds for exponents to avoid overflow issues for inputs like 'seq
1e-9223372036854775808'
2025-01-15 22:35:24 +01:00
Daniel Hofstetter
dca0ec0e65
Merge pull request #7140 from sylvestre/comm-test
comm: don't use files for test
2025-01-15 16:40:24 +01:00
Sylvestre Ledru
4e45ca673c comm: don't use files for test 2025-01-15 16:13:51 +01:00
Sylvestre Ledru
e61147b154
Merge pull request #7143 from cakebaker/dircolors_move_use_to_top
dircolors: move `use` declaration to top
2025-01-15 14:26:50 +01:00
Daniel Hofstetter
1b5e321fc2 dircolors: move use declaration to top 2025-01-15 14:19:05 +01:00
Alexander
05ada0d204
seq:add floating point support (#6959)
* seq:enable parsing of hexadecimal floats

Turn on the float parser. Now it's possible to use hexadecimal floats as
parameters. For example,

    cargo run -- 0x1p-1 3
    0.5
    1.5
    2.5

Issue #6935

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2025-01-15 11:53:18 +01:00
Daniel Hofstetter
6600397a65
Merge pull request #7141 from uutils/sylvestre-patch-3
dircolors is fixed by https://github.com/uutils/coreutils/pull/7089
2025-01-15 11:15:36 +01:00
Daniel Hofstetter
c322fb5c73
Merge pull request #7134 from jfinkels/date-timezone-name
date: display %Z alphabetic time zone abbreviation
2025-01-15 11:07:46 +01:00
Sylvestre Ledru
c07e0e8973
dircolors is fixed by https://github.com/uutils/coreutils/pull/7089 2025-01-15 10:42:14 +01:00
Daniel Hofstetter
d7800b5c88
Merge pull request #7089 from sylvestre/dircolors
dircolors: fix empty COLORTERM matching with ?* pattern
2025-01-15 10:17:52 +01:00
Daniel Hofstetter
3812cbce8a
Merge pull request #7136 from sylvestre/gnu-build
Improve gnu build script
2025-01-15 10:10:56 +01:00
Daniel Hofstetter
09ee3dc8ac
GNU build: add word to spell-checker:ignore 2025-01-15 09:43:37 +01:00
Daniel Hofstetter
5767f6edc6 deny.toml: remove Unicode-DFS-2016 from licenses 2025-01-15 07:22:20 +01:00
Daniel Hofstetter
e642b16534 deny.toml: remove syn from skip list 2025-01-15 07:20:40 +01:00
Daniel Hofstetter
7673969073
Merge pull request #7137 from uutils/renovate/data-encoding-macro-0.x-lockfile
fix(deps): update rust crate data-encoding-macro to v0.1.16
2025-01-15 07:13:46 +01:00
renovate[bot]
0d4fa8a3ff
fix(deps): update rust crate data-encoding-macro to v0.1.16 2025-01-14 23:58:58 +00:00
Krishna Nagam
d82d038b54 date: display %Z alphabetic time zone abbreviation
Improve the display of dates formatted with the `%Z` specifier so that
the timezone abbreviation is displayed, not just its numeric offset.

Fixes #3756

Co-authored-by: Jeffrey Finkelstein <jeffrey.finkelstein@protonmail.com>
2025-01-14 17:49:11 -05:00
Jeffrey Finkelstein
dac35129d2 date: add dependencies for managing time zones
Add dependencies on third-party packages `chrono-tz` and
`iana-time-zone` to our `date` package. Together, these two packages
allow us to produce time zone abbreviations (like `UTC`) from numeric
timezone offsets.
2025-01-14 17:49:11 -05:00
Sylvestre Ledru
7f0d77954d GNU build: perf the change only once 2025-01-14 23:41:07 +01:00
Sylvestre Ledru
d445edfd19 GNU build: disable an old check 2025-01-14 23:41:07 +01:00
Sylvestre Ledru
106873171d dircolors: ignore spell issues 2025-01-14 23:25:32 +01:00
Sylvestre Ledru
591cdc1d31 dircolors: split the code to remove the clippy warning 2025-01-14 23:25:32 +01:00
Sylvestre Ledru
1db2e2356a dircolors: fix empty COLORTERM matching with ?* pattern
should fix tests/misc/dircolors
2025-01-14 23:25:32 +01:00
Sylvestre Ledru
1ffb6fd5b1
Merge pull request #7135 from cakebaker/numfmt_replace_run
numfmt: use `succeeds()`/`fails()` instead of `run()` in tests
2025-01-14 18:46:50 +01:00
Daniel Hofstetter
de18b76555 numfmt: use succeeds/fails instead of run in tests 2025-01-14 16:29:46 +01:00
Sylvestre Ledru
74d80eab0a
Merge pull request #7061 from DaringCuteSeal/cp-stream-2
cp: implement copying from streams
2025-01-13 14:13:13 +01:00
Sylvestre Ledru
40511f6da0
Merge pull request #7122 from jfinkels/dd-error-iflag-directory
dd: error if iflag=directory and input is stdin
2025-01-13 14:11:32 +01:00
Daniel Hofstetter
acd79d3f79
Merge pull request #7133 from uutils/sylvestre-patch-3
gnu/tests/split/line-bytes.sh fixed
2025-01-13 13:31:36 +01:00
Sylvestre Ledru
2594404cb4
gnu/tests/split/line-bytes.sh fixed
https://github.com/uutils/coreutils/pull/7128
2025-01-13 11:51:03 +01:00
Sylvestre Ledru
bb5c991540
Merge pull request #7128 from jfinkels/split-line-bytes-large-args
split: fix bug with large arguments to -C
2025-01-13 11:50:14 +01:00
Daniel Hofstetter
cc4cf700e5
Merge pull request #7130 from uutils/sylvestre-patch-3
doc: df test now passes
2025-01-13 09:42:50 +01:00
Jeffrey Finkelstein
071e72ffc8 split: fix bug with large arguments to -C
Fix the behavior of `split -C` when given large arguments. Before this
commit, bytes were being greedily assigned to a chunk too aggressively,
leading to a situation where a split happened in the middle of a line
even though the entire line could have fit within the next chunk. This
was appearing for large arguments to `-C` and long lines that extended
beyond the size of the read buffer. This commit fixes the behavior.

Fixes #7026
2025-01-13 09:36:48 +01:00
Jeffrey Finkelstein
d9b3b3ef67 dd: error if iflag=directory and input is stdin
Make `dd` error if `iflag=directory` and the input file is not a
directory, as in

    : | dd iflag=directory

Fixes #5900
2025-01-13 09:36:36 +01:00
Sylvestre Ledru
54bc3cf944
Merge pull request #7132 from cakebaker/ci_install_libselinux
ci: install `libselinux1-dev`
2025-01-13 09:36:06 +01:00
Daniel Hofstetter
a850fc059f ci: install libselinux1-dev 2025-01-13 09:11:25 +01:00
Sylvestre Ledru
35b896f5e1
Merge pull request #7093 from jfinkels/tsort-print-cycle
tsort: print nodes and cycles as they are visited
2025-01-13 08:52:38 +01:00
Sylvestre Ledru
5d6f51aae9
Merge pull request #7131 from cakebaker/downgrade_log
Cargo.lock: downgrade `log` from `0.4.24` to `0.4.22`
2025-01-13 08:45:09 +01:00
Daniel Hofstetter
6e1504ff68 Cargo.lock: downgrade log from 0.4.24 to 0.4.22
because the newer versions have been yanked
2025-01-13 08:20:30 +01:00
Sylvestre Ledru
98699b61ab
df test now passes
https://github.com/uutils/coreutils/pull/7116
2025-01-12 21:29:53 +01:00
Sylvestre Ledru
da40b3564e
Merge pull request #7116 from jfinkels/df-error-on-overmounted
df: error on over-mounted device
2025-01-12 21:28:47 +01:00
Sylvestre Ledru
988cc4eae3
Merge pull request #7115 from jfinkels/stat-format-mtime-precision
stat: fix precision when rendering mtime (%Y)
2025-01-12 17:07:31 +01:00