1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-13 00:31:04 +00:00
Commit graph

15316 commits

Author SHA1 Message Date
Dorian Peron
2129caedbe flake.nix: Add cspell 2025-05-25 17:57:18 +02:00
Sylvestre Ledru
2f577a7d98
publish.sh: be more prescriptive on the grep (#7983)
otherwise, we are getting version.workspace first
2025-05-25 16:33:14 +02:00
Daniel Hofstetter
7221d000bc
Merge pull request #7985 from drinkcat/bump_onig_windows_reenable
Reenable windows-latest/x86_64-pc-windows-gnu (and do not update gcc)
2025-05-25 16:25:37 +02:00
Nicolas Boichat
aa3947a1cc .github/workflows/CICD.yml: Do not update gcc
The issue referenced has been long fixed, and for reasons not
totally clear to me, blake3 fails after the GCC update (I tried
to dig into this, but couldn't really figure out if this is really
a problem with GCC 15, or with the version provided by MSYS, or
some other side effect of the exact sequence in CI).

Since blake3 CI doesn't do that gcc update (it uses the default gcc ~12
in the github windows image), let's _also_ not do that, and if there's a
real problem with gcc 15+, that'll presumably fail their CI as well.

Fixes #7977.
2025-05-25 15:12:05 +02:00
Nicolas Boichat
c6473e1bbd Revert "CICD: Disable windows-latest/x86_64-pc-windows-gnu for now"
This reverts commit deef8cbfd6.

A new onig release has happened, this should fix the issue.
2025-05-25 15:05:57 +02:00
Daniel Hofstetter
705c2f1cf4
Merge pull request #7984 from uutils/sylvestre-patch-2
publish.sh: also publish uutests
2025-05-25 14:06:54 +02:00
Daniel Hofstetter
3f9514d115
Merge pull request #7974 from frendsick/fix/expr-regex-special-cases
expr: Handle more special cases for regex pattern
2025-05-25 13:39:44 +02:00
Sylvestre Ledru
796201dbfd
publish.sh: also publish uutests 2025-05-25 09:23:57 +02:00
Sylvestre Ledru
18b963ed6f
Merge pull request #7982 from sylvestre/0.1.0
prepare release 0.1.0
2025-05-24 23:02:52 +02:00
Sylvestre Ledru
7d2644f3a8 move from version 0.0.30 => 0.1.0 2025-05-24 22:28:54 +02:00
Sylvestre Ledru
d748e21412 update-version.sh: adjust to version 0.1.0 2025-05-24 22:20:54 +02:00
Sylvestre Ledru
b29ef8cfc4 update-version.sh: also update the uufuzz version 2025-05-24 22:19:59 +02:00
Teemu Pätsi
ab5cf74185
expr: Simplify parsing special cases for $ in regex 2025-05-24 21:18:27 +03:00
Teemu Pätsi
2a862bc385
expr: Simplify checking of the end of an expression
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-05-24 21:15:53 +03:00
Sylvestre Ledru
f35e3f519b
Merge pull request #7980 from cakebaker/bump_fluent
Bump `fluent` and `fluent-bundle`
2025-05-24 15:34:54 +02:00
Daniel Hofstetter
d6a35dc837 deny.toml: remove self_cell from skip list 2025-05-24 14:57:23 +02:00
Daniel Hofstetter
2a885b8d60 Bump fluent & fluent-bundle
fluent from 0.16.1 to 0.17.0 and fluent-bundle from 0.15.3 to 0.16.0
2025-05-24 14:57:23 +02:00
Daniel Hofstetter
aeadba7ddf
Merge pull request #7955 from sylvestre/locale
uucore: add functions to manage translations
2025-05-24 14:34:53 +02:00
Teemu Pätsi
63ce37cf6e
expr: Refactor regex tests into multiple targeted functions 2025-05-24 11:17:39 +03:00
Teemu Pätsi
b0390fe36e
expr: Handle $ at the beginning of the regex pattern 2025-05-24 01:47:35 +03:00
Teemu Pätsi
4555e6fe48
expr: Handle trailing backslash error 2025-05-24 01:47:30 +03:00
Sylvestre Ledru
7b5012c6d1 deny: adjust the skip list for fluent-bundle 2025-05-23 23:37:59 +02:00
Sylvestre Ledru
5a7c50d64e uucore: add functions to manage translations 2025-05-23 23:37:59 +02:00
Dorian Péron
cd9ce77098
Merge pull request #7953 from frendsick/fix/expr-regex-anchors
expr: Fix parsing regex anchors '^' and '$'
2025-05-23 15:16:28 +02:00
Teemu Pätsi
29332865a9
expr: Handle special cases for $ in regex
Enable fixed test `test_bre11`
2025-05-23 15:29:55 +03:00
Teemu Pätsi
f664578a4b
expr: Handle special cases for ^ in regex 2025-05-23 15:23:21 +03:00
Dorian Péron
aa5dd0e3d0
Merge pull request #7971 from cakebaker/bump_nix_and_ctrlc
Bump `nix` & `ctrlc`, adapt code to API changes in `nix`
2025-05-23 12:15:25 +02:00
Daniel Hofstetter
73e447224c Adapt to API changes in nix 2025-05-23 09:24:46 +02:00
Daniel Hofstetter
fd4c315fa3 Bump nix to 0.30.1 and ctrlc to 3.4.7 2025-05-22 16:54:35 +02:00
Daniel Hofstetter
3a05fa92d6
Merge pull request #7908 from sylvestre/selinux-installa
selinux: start the support of install
2025-05-22 15:14:08 +02:00
Daniel Hofstetter
0fd6e8894f
Merge pull request #7969 from uutils/renovate/zip-4.x
chore(deps): update rust crate zip to v4
2025-05-22 07:07:53 +02:00
renovate[bot]
8655e8194d
chore(deps): update rust crate zip to v4 2025-05-22 02:48:34 +00:00
Daniel Hofstetter
10b2a24a73
Merge pull request #7925 from alexs-sh/shred-minor-updates
shred: minor improvements and tests
2025-05-21 17:11:29 +02:00
Alexander Shirokov
14a8f3f3f9
shred:add checks for block sizes
This commit adds checks for block size constants. Misconfigured sizes
could lead to overflows or performance issues. While such cases are
expected to be rare or unlikely, it's better to be notified of them
early.
2025-05-21 15:54:12 +02:00
Alexander Shirokov
24d88d777a
shred:bitwise method to set OPTIMAL_IO_BLOCK_SIZE
The value of the variable remains unchanged (4096 = 2 ^ 12), but using a
bitwise expression provides two benefits:

- follows the same approach used for configuring BLOCK_SIZE

- indicates that a power-of-two value is preferred for this kind of
  constant
2025-05-21 14:54:58 +02:00
Tom D.
9fce1a1529
tsort: remove duplicate sorting step (#7965)
* tsort: remove duplicate sorting step

* tsort: remove unnecessary spaces

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-05-21 10:29:21 +02:00
Sylvestre Ledru
38861cc767 selinux: add support for install 2025-05-21 09:51:27 +02:00
Sylvestre Ledru
71af6d2089 selinux/uucore: add two functions: contexts_differ & preserve_security_context 2025-05-21 09:51:27 +02:00
Sylvestre Ledru
eff2cd997e
Create an uufuzz crate for common functions and use it (#7954)
* uufuzz: create a crate with the common functions

* uufuzz: move the fuzz-common functions

* uufuzz: polish the crate

* adjust the fuzzer to use uufuzz
2025-05-21 09:26:59 +02:00
Sylvestre Ledru
a9e259369b
Merge pull request #7963 from cakebaker/revert_7944
Revert #7944
2025-05-20 17:44:58 +02:00
Daniel Hofstetter
5ead081bb3 Revert #7944 as some CI jobs fail
with "unrecognized command line option '-std=gnu17'"
2025-05-20 17:26:38 +02:00
Daniel Hofstetter
147027022a
Merge pull request #7940 from Qelxiros/7671-timeout-tests
timeout: add hex parsing test
2025-05-20 10:39:56 +02:00
Sylvestre Ledru
263ba63203
Merge pull request #7959 from cakebaker/ci_install_libselinux1_dev
ci: install `libselinux1-dev` for coverage job
2025-05-20 09:56:25 +02:00
Sylvestre Ledru
a7b005c5e3
Merge pull request #7942 from cakebaker/sync_move_function_call_to_unsafe_block
sync: move call to unsafe fn to unsafe block
2025-05-20 09:44:48 +02:00
Sylvestre Ledru
0c7a5d25f2
Merge pull request #7943 from cakebaker/du_fix_never_used_warning_in_test
du: fix "function never used" warning in test
2025-05-20 09:44:33 +02:00
Sylvestre Ledru
a29fd4a171
Merge pull request #7956 from Qelxiros/6175-env-empty-string
docs: env doesn't handle the empty string as a variable name
2025-05-20 09:37:53 +02:00
Sylvestre Ledru
d094e72934
Merge pull request #7962 from cakebaker/mv_remove_unnecessary_result
mv: use `bool` instead of `Result` as return type
2025-05-20 09:34:54 +02:00
Sylvestre Ledru
4fd11ab6c3
Merge pull request #7944 from cakebaker/cargo_config_set_cflags
.cargo/config.toml: set `CFLAGS='-std=gnu17'`
2025-05-20 09:34:28 +02:00
Daniel Hofstetter
dde7324e3f mv: use bool instead of Result as return type
for can_delete_file function
2025-05-20 07:31:57 +02:00
Dorian Péron
b2b4eb9027
Merge pull request #7960 from cakebaker/ci_fix_unexpected_input_warning
ci: fix `unexpected input 'file'` warning in coverage job
2025-05-19 18:23:46 +02:00