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
Daniel Hofstetter
a0cf06ea8c
Bump onig from 6.4.0 to 6.5.1
2025-05-24 13:35:55 +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
Daniel Hofstetter
3c406b877b
ci: fix "unexpected input 'file'" warning
...
in code coverage job
2025-05-19 17:00:16 +02:00
Daniel Hofstetter
baa70d8e2c
ci: install libselinux1-dev for coverage job
2025-05-19 16:32:46 +02:00
Daniel Hofstetter
be9ee14aab
Merge pull request #7938 from sylvestre/no-ctx
...
cp: context Disable a check in tests/cp/no-ctx.sh
2025-05-19 16:19:51 +02:00
Sylvestre Ledru
3712ece70b
performance.md: recommend to build with the right profile ( #7930 )
...
* performance.md: recommend to build with the right profile
* doc: also update the paths
2025-05-19 16:01:25 +02:00
Sylvestre Ledru
9858c209c3
Merge pull request #7958 from cakebaker/ci_run_fmt_on_fuzz
...
ci: run `cargo fmt --check` in `fuzz` folder
2025-05-19 14:56:57 +02:00
Daniel Hofstetter
04ca61dce4
ci: run "cargo fmt --check" in fuzz folder
2025-05-19 14:38:07 +02:00
Sylvestre Ledru
a538816799
Merge pull request #7949 from BenWiederhake/dev-fmt-all
...
Run cargo fmt on missed files
2025-05-19 14:37:02 +02:00
Jeremy Smart
384878b5df
add timeout test for hex parsing
2025-05-19 11:18:18 +02:00
Daniel Hofstetter
cdca6d6a8d
sync: move call to unsafe fn to unsafe block
2025-05-19 11:18:12 +02:00
Daniel Hofstetter
7f70bfad30
du: fix "function never used" warning in test
2025-05-19 11:18:02 +02:00
Daniel Hofstetter
992e16221c
.cargo/config.toml: set CFLAGS='-std=gnu17'
...
to make onig compile with GCC 15, which by default uses a newer C
standard (C23)
2025-05-19 11:17:59 +02:00