Sylvestre Ledru
2d6c87c1ee
Merge pull request #3846 from niyaznigmatullin/exclude_winapi_dependency_on_non-windows
...
dependencies: make `winapi` dependency only for Windows
2022-08-19 14:19:58 +02:00
Terts Diepraam
c269a386eb
stty: cargo fmt
2022-08-19 13:12:43 +02:00
Terts Diepraam
a1250ec462
stty: fix nix version
2022-08-19 12:37:56 +02:00
Terts Diepraam
0e14e1ded0
stty: add cfg guards for flags that don't exist on BSD
...
fix another flag
2022-08-19 12:37:52 +02:00
Sylvestre Ledru
563de8bab3
Merge pull request #3830 from niyaznigmatullin/fix_descriptor_vs_rename
...
tail: reuse opened file --follow=descriptor and renamed
2022-08-19 12:14:55 +02:00
Niyaz Nigmatullin
67ae68a6cf
dependecies: make winapi dependency only for windows, bump platform-info
...
crate version dependency
2022-08-19 12:28:13 +03:00
Sylvestre Ledru
b7ea400861
Merge pull request #3837 from tertsdiepraam/remove-more-error-macros
...
`uucore` & `cp`: remove `show_error_custom_description` macros `show_usage_error`
2022-08-19 10:01:49 +02:00
Sylvestre Ledru
a3e3542602
Merge pull request #3838 from tertsdiepraam/tty-nix
...
`tty`: move from `libc` to `nix`
2022-08-19 10:01:27 +02:00
Sylvestre Ledru
fb4ddd5310
Merge pull request #3844 from tertsdiepraam/ranges-refactor
...
`uucore::ranges`: Refactor, document and test
2022-08-19 09:02:35 +02:00
Sylvestre Ledru
8c0e076ca1
Merge pull request #3836 from niyaznigmatullin/hashbrown_remove_skipped_duplicate_check
...
deny: removed hashbrown from exceptions on checking duplicate crates
2022-08-19 09:01:48 +02:00
Niyaz Nigmatullin
f0cd3a0599
deny: removed hashbrown from checking duplicate crates, indexmap
...
requires new version of hashbrown as well
2022-08-19 07:36:14 +03:00
Terts Diepraam
003b483705
uucore/ranges: refactor and test complement
2022-08-18 21:27:32 +02:00
Terts Diepraam
7890228f82
uucore/ranges: document and test merge operation
2022-08-18 19:45:56 +02:00
Terts Diepraam
e9e9a8166f
uucore/ranges: refactor FromStr impl
2022-08-18 19:45:18 +02:00
dependabot[bot]
20809db439
build(deps): bump lscolors from 0.11.1 to 0.12.0
...
Bumps [lscolors](https://github.com/sharkdp/lscolors ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/sharkdp/lscolors/releases )
- [Commits](https://github.com/sharkdp/lscolors/compare/v0.11.1...v0.12.0 )
---
updated-dependencies:
- dependency-name: lscolors
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-18 11:38:09 +00:00
Sylvestre Ledru
88261f36dd
Merge pull request #3834 from uutils/dependabot/cargo/once_cell-1.13.1
...
build(deps): bump once_cell from 1.13.0 to 1.13.1
2022-08-18 13:35:59 +02:00
Sylvestre Ledru
73f7b87458
Merge pull request #3839 from niyaznigmatullin/freebsd_android_CI_timeout
...
CI: add timeout to freebsd and android tests
2022-08-18 11:39:01 +02:00
Sylvestre Ledru
f35dbd112b
Merge pull request #3840 from tertsdiepraam/dir-vdir-fix-docs
...
`dir` & `vdir`: fix docs not showing up on the documentation website
2022-08-18 11:38:11 +02:00
Sylvestre Ledru
6f6784f113
Adjust the code after https://github.com/uutils/coreutils/pull/3832
2022-08-18 11:33:04 +02:00
Terts Diepraam
85e6f8659f
stty: fix bsd/mac builds
2022-08-18 11:33:04 +02:00
Terts Diepraam
420c69aa98
stty: make compatible with Rust pre 1.61
2022-08-18 11:33:04 +02:00
Terts Diepraam
f861fc0854
stty: print special terminal information
2022-08-18 11:33:04 +02:00
Terts Diepraam
cc147a7c8d
stty: expand --help information
2022-08-18 11:33:04 +02:00
Terts Diepraam
679fd2371e
stty: disallow combining settings with --all and --save
2022-08-18 11:33:04 +02:00
Terts Diepraam
eac88022b2
stty: fix setting grouped flags
2022-08-18 11:33:04 +02:00
Terts Diepraam
96ea772016
stty: fix clippy warnings
2022-08-18 11:33:04 +02:00
Terts Diepraam
0c44fc07d2
stty: fix ixany and iutf8 not sane
2022-08-18 11:33:04 +02:00
Terts Diepraam
6896a85b41
test_stty: fix spell checker errors
2022-08-18 11:33:04 +02:00
Terts Diepraam
4cda8f33e7
stty: add grouped flags
2022-08-18 11:33:04 +02:00
Terts Diepraam
a23702caeb
add some simple tests to stty (still failing)
2022-08-18 11:33:04 +02:00
Terts Diepraam
600cab0bd8
starting work on stty
2022-08-18 11:33:04 +02:00
Terts Diepraam
b983355bc4
uucore & cp: remove show_error_custom_description
macros show_usage_error
2022-08-18 10:44:59 +02:00
Terts Diepraam
791fb98dcc
tty: move from libc to nix
...
This moves the unsafe from our responsibility to nix and makes
the code a bit cleaner.
2022-08-18 00:59:27 +02:00
Terts Diepraam
f255c0cae8
dir & vdir: fix docs not showing up on the website
...
uudoc was getting a dummy clap app to generate documentation from. Now the app from ls is returned instead, so that it actually shows something.
2022-08-17 22:33:32 +02:00
Niyaz Nigmatullin
37b7375dae
CI: add timeout to freebsd and android tests, since it sometimes hangs
2022-08-17 22:09:56 +03:00
Sylvestre Ledru
87e3899477
Merge pull request #3832 from tertsdiepraam/simplify-encoding-handling
...
Simplify invalid encoding handling
2022-08-17 18:59:59 +02:00
dependabot[bot]
e465d0520f
build(deps): bump once_cell from 1.13.0 to 1.13.1
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 16:20:25 +00:00
Terts Diepraam
383291f5b4
Merge pull request #3829 from niyaznigmatullin/cargo-lock-update
...
cargo +1.56.1 update
2022-08-17 15:58:48 +02:00
Terts Diepraam
ba713b6365
Simplify invalid encoding handling into two small methods of Args
...
The previous encoding handling was unnecessarily complex. This commit removes the enum that specifies the handling and instead has two separate methods to collect the strings either with lossy conversion or by ignoring invalidly encoded strings.
2022-08-17 15:20:20 +02:00
Terts Diepraam
5621502a95
all: remove accept_{any, complete, lossy}
and ConversionResult
...
Outside of tests, only `accept_any` was used, meaning that this unnecessarily complicated the code. The behaviour of `accept_any` is now the default (and only) option.
2022-08-17 14:57:28 +02:00
Terts Diepraam
0ed8b97a3f
uucore: remove panic encoding handling
...
We never want utilities to panic on invalid input and it is not currently in use, so it can be removed safely.
2022-08-17 14:29:53 +02:00
Niyaz Nigmatullin
cdc664305e
tail: reuse opened file with the same descriptor when
...
--follow=descriptor and renamed
2022-08-17 13:14:32 +03:00
Niyaz Nigmatullin
ec23d02b19
update unicode-ident to 1.0.3, allow Unicode-DFS-2016 License
2022-08-17 13:13:27 +03:00
Niyaz Nigmatullin
dc12639995
Fix completion with a clap update
2022-08-17 13:13:27 +03:00
Niyaz Nigmatullin
52d767ed5a
test_pr: follow clippy advice
2022-08-17 13:13:27 +03:00
Niyaz Nigmatullin
33ba5cbc93
downgrade unicode-ident to 1.0.0
2022-08-17 13:13:27 +03:00
Niyaz Nigmatullin
9cd898b885
remove nix 0.24.2 dependency
2022-08-17 13:13:27 +03:00
Niyaz Nigmatullin
f4df7ea4a0
cargo +1.56.1 update
2022-08-17 13:13:27 +03:00
Przemysław Fuchs
3acbd1c048
dd: Error message of invalid args is matched with GNU ( #3831 )
2022-08-17 11:40:42 +02:00
Terts Diepraam
a3a69cf919
uucore: add filename as argument in help_usage and help_section
...
uucore: make help_section and help_usage take an argument to select a file
2022-08-16 19:22:41 +02:00