dependabot[bot]
3166484387
build(deps): bump rlimit from 0.4.0 to 0.8.3
...
Bumps [rlimit](https://github.com/Nugine/rlimit ) from 0.4.0 to 0.8.3.
- [Release notes](https://github.com/Nugine/rlimit/releases )
- [Changelog](https://github.com/Nugine/rlimit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Nugine/rlimit/compare/v0.4.0...v0.8.3 )
---
updated-dependencies:
- dependency-name: rlimit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 11:18:37 +02:00
Sylvestre Ledru
8b719a8591
du: add support for --exclude and --exclude-from ( #3381 )
...
* du: add support for --exclude and --exclude-from
And add an option --verbose (doesn't exist in GNU)
2022-04-11 22:50:01 +02:00
Sylvestre Ledru
d0aa9a9927
Merge pull request #3343 from uutils/dependabot/cargo/lscolors-0.9.0
...
build(deps): bump lscolors from 0.7.1 to 0.9.0
2022-04-09 09:29:25 +02:00
Jan Scheer
a9fa94824d
tail: switch from Notify 5.0.0-pre.13 to 5.0.0-pre.14
2022-04-05 22:19:25 +02:00
Sylvestre Ledru
1da0091d79
Merge pull request #3344 from uutils/dependabot/cargo/exacl-0.8.0
...
build(deps): bump exacl from 0.6.0 to 0.8.0
2022-04-03 12:50:01 +02:00
dependabot[bot]
fd84b97227
build(deps): bump crossterm from 0.22.1 to 0.23.1
...
Bumps [crossterm](https://github.com/crossterm-rs/crossterm ) from 0.22.1 to 0.23.1.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases )
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossterm-rs/crossterm/commits )
---
updated-dependencies:
- dependency-name: crossterm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 21:47:50 +02:00
dependabot[bot]
ee515b57c3
build(deps): bump lscolors from 0.7.1 to 0.9.0
...
Bumps [lscolors](https://github.com/sharkdp/lscolors ) from 0.7.1 to 0.9.0.
- [Release notes](https://github.com/sharkdp/lscolors/releases )
- [Commits](https://github.com/sharkdp/lscolors/compare/v0.7.1...v0.9.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-04-02 21:47:15 +02:00
dependabot[bot]
e82ef6966e
build(deps): bump exacl from 0.6.0 to 0.8.0
...
Bumps [exacl](https://github.com/byllyfish/exacl ) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/byllyfish/exacl/releases )
- [Changelog](https://github.com/byllyfish/exacl/blob/main/CHANGELOG.md )
- [Commits](https://github.com/byllyfish/exacl/compare/v0.6.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: exacl
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 21:46:57 +02:00
Terts Diepraam
b7809bd889
version 0.0.13
2022-04-02 11:04:27 +02:00
Terts Diepraam
5a49813e07
Merge pull request #3341 from uutils/dependabot/cargo/blake2b_simd-1.0.0
...
build(deps): bump blake2b_simd from 0.5.11 to 1.0.0
2022-03-31 13:05:43 +02:00
Terts Diepraam
7203340917
Merge pull request #3237 from uutils/dependabot/cargo/ioctl-sys-0.8.0
...
build(deps): bump ioctl-sys from 0.6.0 to 0.8.0
2022-03-31 01:09:22 +02:00
dependabot[bot]
3e7d1a265a
build(deps): bump blake2b_simd from 0.5.11 to 1.0.0
...
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.11 to 1.0.0.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.11...1.0.0 )
---
updated-dependencies:
- dependency-name: blake2b_simd
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 22:40:52 +00:00
Terts Diepraam
4f3ae094cf
Merge pull request #3235 from uutils/dependabot/cargo/clap_complete-3.1.1
...
build(deps): bump clap_complete from 3.0.4 to 3.1.1
2022-03-31 00:39:09 +02:00
dependabot[bot]
f6981ba3f0
build(deps): bump redox_syscall from 0.2.10 to 0.2.12
...
Bumps redox_syscall from 0.2.10 to 0.2.12.
---
updated-dependencies:
- dependency-name: redox_syscall
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 20:02:46 +00:00
dependabot[bot]
2024cc37e6
build(deps): bump ouroboros from 0.14.2 to 0.15.0
...
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/compare/0.14.2...0.15.0 )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 16:50:55 +00:00
dependabot[bot]
0f4a2eae3b
build(deps): bump clap_complete from 3.0.4 to 3.1.1
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 3.0.4 to 3.1.1.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v3.0.4...clap_complete-v3.1.1 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-20 16:46:38 +00:00
dependabot[bot]
aea30bd4a7
build(deps): bump ioctl-sys from 0.6.0 to 0.8.0
...
Bumps [ioctl-sys](https://github.com/jmesmon/ioctl ) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/jmesmon/ioctl/releases )
- [Commits](https://github.com/jmesmon/ioctl/compare/ioctl-sys-0.6.0...ioctl-sys-0.8.0 )
---
updated-dependencies:
- dependency-name: ioctl-sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-20 16:46:37 +00:00
Terts Diepraam
ee1ae64970
bump textwrap to 0.15
2022-03-19 16:28:21 +01:00
Sylvestre Ledru
3c88fb460b
Merge branch 'main' into dependabot/cargo/clap-3.1.6
2022-03-19 09:26:05 +01:00
Benjamin Bouvier
65f94c9d39
Remove duplicate paste dependency
2022-03-18 20:44:01 +01:00
Terts Diepraam
04de1251dd
Merge branch 'main' into dependabot/cargo/clap-3.1.6
2022-03-18 09:54:04 +01:00
Benjamin Bouvier
ba5b2dc2ed
Remove unused dependencies by individual crates ( #3264 )
2022-03-17 22:48:17 +01:00
dependabot[bot]
59440d35c0
build(deps): bump clap from 3.0.10 to 3.1.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.10 to 3.1.6.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.10...v3.1.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 13:06:29 +00:00
Sylvestre Ledru
2e8945ba7f
Merge pull request #3221 from uutils/dependabot/cargo/unicode-segmentation-1.9.0
...
build(deps): bump unicode-segmentation from 1.8.0 to 1.9.0
2022-03-10 00:32:13 +01:00
Sylvestre Ledru
08f40a102e
Merge pull request #3228 from uutils/dependabot/cargo/unindent-0.1.8
...
build(deps): bump unindent from 0.1.7 to 0.1.8
2022-03-10 00:31:07 +01:00
dependabot[bot]
fc4f1d869e
build(deps): bump strum from 0.23.0 to 0.24.0
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 19:45:40 +01:00
dependabot[bot]
b4ee7f84fa
build(deps): bump unicode-segmentation from 1.8.0 to 1.9.0
...
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases )
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits )
---
updated-dependencies:
- dependency-name: unicode-segmentation
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 19:45:35 +01:00
dependabot[bot]
bd04e0f92f
build(deps): bump unindent from 0.1.7 to 0.1.8
...
Bumps [unindent](https://github.com/dtolnay/indoc ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/0.1.7...0.1.8 )
---
updated-dependencies:
- dependency-name: unindent
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 19:45:22 +01:00
Sylvestre Ledru
d3dc8c8283
Merge pull request #3223 from uutils/dependabot/cargo/memmap2-0.5.3
...
build(deps): bump memmap2 from 0.5.2 to 0.5.3
2022-03-07 07:04:56 +01:00
Sylvestre Ledru
858a38c815
Merge pull request #3222 from uutils/dependabot/cargo/once_cell-1.10.0
...
build(deps): bump once_cell from 1.9.0 to 1.10.0
2022-03-07 07:04:15 +01:00
dependabot[bot]
1c469ec6c5
build(deps): bump ouroboros from 0.10.1 to 0.14.2
...
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.10.1 to 0.14.2.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits/0.14.2 )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06 22:36:00 +00:00
dependabot[bot]
86884131b7
build(deps): bump memmap2 from 0.5.2 to 0.5.3
...
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs ) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases )
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.5.2...v0.5.3 )
---
updated-dependencies:
- dependency-name: memmap2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06 22:35:47 +00:00
dependabot[bot]
2e50eade7f
build(deps): bump once_cell from 1.9.0 to 1.10.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.9.0 to 1.10.0.
- [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.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06 22:35:33 +00:00
Sylvestre Ledru
b9953eb883
Merge pull request #3122 from xxyzz/chmod
...
chmod: replace walkdir with std::fs
2022-03-06 23:01:50 +01:00
Devin Gunay
103dffc12e
touch: implement -
( #3158 )
2022-03-06 23:00:42 +01:00
xxyzz
281ec190e0
chmod: replace walkdir with std::fs
...
walkdir filters some files that need to be modified, for example, files inside an unreadable folder.
2022-03-06 08:40:36 +08:00
Terts Diepraam
75b3cbcfd9
pr: move from getopts to clap
...
fixes
2022-03-05 10:26:12 +01:00
Alex Tibbles
00d3c36e8c
update SHA1, SHA2, SHA3 crates
2022-02-21 16:55:59 -05:00
Alex Tibbles
41e9719d6b
upgrade to RustCrypto Hashes MD5 "MD-5" 0.10.1
2022-02-21 16:51:00 -05:00
Alex Tibbles
c8346fd720
hashsum: update hex to 0.4.3
...
Update to API change.
2022-02-21 15:35:46 -05:00
Alex Tibbles
0d5dd27e71
uniq: update strum to 0.23 latest
2022-02-21 12:34:25 -05:00
alextibbles
cd450cc591
expr: update onig crate to 6.3 ( #3136 )
...
* expr: update onig crate to 6.3
2022-02-21 17:13:27 +01:00
Terts Diepraam
69a94e412b
docs: use rust libraries for downloading and unzipping tldr
2022-02-19 01:27:19 +01:00
alextibbles
d9c2acc2ed
update to sha 0.10.0 ( #3110 )
...
* update to sha 0.10.0
* correct formatting
2022-02-12 18:12:02 +01:00
Sylvestre Ledru
6b6d5ee7db
Merge pull request #2827 from jfinkels/split-std-io-copy
...
split: use std::io::copy() with new writer implementation to improve maintainability and speed
2022-02-12 11:33:12 +01:00
Sylvestre Ledru
080cb2b6f9
Merge pull request #3108 from DestroyerXyz/blake3
...
hashsum: Add BLAKE3 to Hashing Algorithms
2022-02-11 11:40:10 +01:00
Shreyans Jain
30d7a4b167
hashsum: Add BLAKE3 to Hashing Algorithms
...
Signed-off-by: Shreyans Jain <shreyansthebest2007@gmail.com>
2022-02-10 12:46:44 +05:30
Jeffrey Finkelstein
b31d63eaa9
split: add ByteChunkWriter and LineChunkWriter
...
Add the `ByteChunkWriter` and `LineChunkWriter` structs and
implementations, but don't use them yet. This structs offer an
alternative approach to writing chunks of output (contrasted with
`ByteSplitter` and `LineSplitter`). The main difference is that
control of which underlying file is being written is inside the writer
instead of outside.
2022-02-08 22:53:56 -05:00
Justin Tracey
f33e058a5a
join: faster field parsing and representation
...
Using indexes into the line instead of Vec<u8>s means we don't have to copy
the line to store the fields (indexes instead of slices because it avoids
self-referential structs). Using memchr also empirically saves a lot of
intermediate allocations.
2022-02-06 23:37:17 -05:00
Narasimha Prasanna HN
1194a8ce53
Fix: Update quick-error crate version from 1.2.3 to 2.0.1 in src/uu/cp ( #2947 )
...
fix: update quick-error crate from 1.2.3 to 2.0.1 for src/uu/cp tool, fixes: #2941
2022-01-31 21:56:47 +01:00
Allan Douglas R. de Oliveira
f22051a4e1
Updated sha libraries
2022-01-30 17:23:02 -03:00
Sylvestre Ledru
fa7a0ecf3f
Merge pull request #2962 from Dr-Emann/phf_dispatch
...
Use a PHF map for util_map()
2022-01-30 18:24:30 +01:00
Sylvestre Ledru
2f6f6867c5
Merge branch 'main' into 2940
2022-01-30 13:33:35 +01:00
Zachary Dremann
bb41f4ffe5
Use a PHF map for util_map()
...
Rather than building a HashMap at compile time, use the phf (and phf_codegen) crate to build the map
at compile time in build.rs
2022-01-30 06:58:33 -05:00
Dan Klose
bb7f37e8b4
fix: update itertools 0.8.0 -> 0.10.0
...
Targets https://github.com/uutils/coreutils/issues/2940
* since versions were mxing versions of x.y and x.y.z I changed all to x.y.z
* minor whitespace formatting
2022-01-29 22:35:51 +00:00
Terts Diepraam
eb82015b23
all: change macros
...
- Change the main! proc_macro to a bin! macro_rules macro.
- Reexport uucore_procs from uucore
- Make utils to not import uucore_procs directly
- Remove the `syn` dependency and don't parse proc_macro input (hopefully for faster compile times)
2022-01-29 15:26:32 +01:00
Sylvestre Ledru
c7fc0a703b
Merge pull request #2893 from g-k/2888-rand-0.8
...
update rand crate to 0.8
2022-01-25 23:23:43 +01:00
Sylvestre Ledru
5932937952
Merge pull request #2777 from jfinkels/uucore-printf
...
uucore: move printf::memo module to uucore
2022-01-25 23:22:27 +01:00
Greg Guthe
c037382df7
factor: update quickcheck dev dep to 1.0.3
...
quickcheck <1 uses rand 0.6.x which results in E0599 errors. Upgrading resolves that error and lets
us remove the older rand version from our deps.
refs: https://stackoverflow.com/questions/56901973/errore0599-no-method-named-gen-found-for-type-mut-g-in-the-current-scope/56902740#56902740
2022-01-24 20:41:20 -05:00
Greg Guthe
cae6bc5e82
deps: update rand to 0.8
...
fix : #2888
2022-01-24 20:40:29 -05:00
Terts Diepraam
9ddd61ab6b
Merge branch 'main' into hbina-tr-reimplement-expansion
2022-01-21 14:42:30 +01:00
Terts Diepraam
55a47f6fc0
Merge pull request #2863 from tertsdiepraam/clap-3
...
Clap 3
2022-01-20 23:14:52 +01:00
Terts Diepraam
da728dd2b6
Merge branch 'main' into hbina-tr-reimplement-expansion
2022-01-19 19:34:13 +01:00
Roy Ivy III
2e251f91f1
0.0.12
2022-01-19 05:35:00 -06:00
Terts Diepraam
e345768484
base64: remove clap dependency again
2022-01-18 12:56:58 +01:00
Jeffrey Finkelstein
d9afdf0527
uucore: move printf::memo module to uucore
...
Move the `printf::memo` module to `uucore` so that it can be used by
other programs, not just `printf`. For example, the `-f` option to `seq`
requires parsing and formatting numbers according to the same logic as
`printf`.
2022-01-17 08:46:45 -05:00
Terts Diepraam
8872485922
Merge branch 'main' into clap-3
2022-01-17 13:25:51 +01:00
Sylvestre Ledru
3dfb9a23c0
update pretty_assertions to version 1
2022-01-17 12:55:16 +01:00
Sylvestre Ledru
7e9ed4b346
Merge pull request #2869 from tertsdiepraam/rust-1.54
...
Bump MSRV to 1.54.0
2022-01-16 23:18:50 +01:00
Sylvestre Ledru
1fbda8003c
coreutils 0.0.8 => 0.0.9, uucore_procs 0.0.7 => 0.0.8, uucore 0.0.10 => 0.0.11
2022-01-16 17:05:48 +01:00
Terts Diepraam
783170c9d8
change msrv to 1.54
2022-01-15 11:08:07 +01:00
Terts Diepraam
fc3c82ffdc
update cargo.lock for clap 3.0
2022-01-11 19:16:48 +01:00
Terts Diepraam
f60c36f242
Merge pull request #2610 from miDeb/cp/abuse
...
cp: handle edge cases when dest is a symlink
2022-01-11 00:34:55 +01:00
Roy Ivy III
05a2f0ca70
update 'Cargo.lock'
2022-01-09 18:57:25 -06:00
Terts Diepraam
7fa720d311
fix lint, fmt & udeps errors
2022-01-01 19:43:44 +01:00
kimono-koans
fd64e01d92
ls: Reduce binary size of ls by removing regex crate ( #2781 )
2021-12-22 18:31:45 +01:00
Sylvestre Ledru
a3041843c9
bump the platform-info dep
2021-12-18 00:04:03 +01:00
Hanif Ariffin
c86cb91dee
Merge branch 'master' of github.com:uutils/coreutils into hbina-tr-reimplement-expansion
2021-11-26 16:39:27 +08:00
Roy Ivy III
7834d9ffaf
update Cargo.lock
2021-11-19 17:55:03 -06:00
Hanif Bin Ariffin
eec5ad8c76
Fixing incompatible Cargo version issue with CI/CD
...
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
2021-11-18 18:45:14 +08:00
Hanif Bin Ariffin
9a09b8a06c
Merge branch 'master' of https://github.com/uutils/coreutils into hbina-tr-reimplement-expansion
2021-11-18 18:25:29 +08:00
Sylvestre Ledru
ca1156458e
Merge pull request #2714 from blyxxyz/os_display-crate
...
Move display::Quotable into its own crate
2021-11-12 21:17:59 +01:00
nicoo
32b0178a72
factor: Update to current versions of smallvec
...
smallvec 1.0 and later wasn't compatible with Rust 1.33 but the
minimum supported Rust version for coreutils moved on.
2021-11-10 15:12:37 +01:00
Jan Verbeek
77e1570ea0
Move display::Quotable into its own crate
...
The standalone version has a number of bugfixes compared to the old
version.
2021-11-08 23:07:40 +01:00
jfinkels
2e12316ae1
seq: use BigDecimal to represent floats ( #2698 )
...
* seq: use BigDecimal to represent floats
Use `BigDecimal` to represent arbitrary precision floats in order to
prevent numerical precision issues when iterating over a sequence of
numbers. This commit makes several changes at once to accomplish this
goal.
First, it creates a new struct, `PreciseNumber`, that is responsible for
storing not only the number itself but also the number of digits (both
integer and decimal) needed to display it. This information is collected
at the time of parsing the number, which lives in the new
`numberparse.rs` module.
Second, it uses the `BigDecimal` struct to store arbitrary precision
floating point numbers instead of the previous `f64` primitive
type. This protects against issues of numerical precision when
repeatedly accumulating a very small increment.
Third, since neither the `BigDecimal` nor `BigInt` types have a
representation of infinity, minus infinity, minus zero, or NaN, we add
the `ExtendedBigDecimal` and `ExtendedBigInt` enumerations which extend
the basic types with these concepts.
* fixup! seq: use BigDecimal to represent floats
* fixup! seq: use BigDecimal to represent floats
* fixup! seq: use BigDecimal to represent floats
* fixup! seq: use BigDecimal to represent floats
* fixup! seq: use BigDecimal to represent floats
2021-11-06 15:44:42 +01:00
Michael Debertol
bb35b0c37b
uucore: add FileInformation
2021-11-01 22:38:44 +01:00
Jan Scheer
63e9cd9202
Merge branch 'master' into tail_notify
2021-10-26 16:45:46 +02:00
Hanif Bin Ariffin
2dad536785
Merge branch 'master' of github.com:uutils/coreutils into hbina-tr-reimplement-expansion
...
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
2021-10-24 11:40:42 +08:00
Sylvestre Ledru
59e9870c56
Prepare version 0.0.8
2021-10-23 19:21:50 +02:00
Jeffrey Finkelstein
858b0a9e9f
head: use std::io::copy() with TakeLines reader
...
Replace the custom `split::walk_lines()` function with a call to
`std::io::copy()`, using a new `TakeLines` reader as the source and
`stdout` as the destination. The `TakeLines` reader is an adaptor that
scans the bytes being read for line ending characters and stops the
reading after a given number of lines has been read (similar to the
`std::io::Take` adaptor).
This change
* makes the `read_n_lines()` function more concise,
* allows it to mirror the implementation of `read_n_bytes()`,
* increases the speed of `head -n NUM`.
2021-10-20 20:59:44 -04:00
Adam Reichold
c526df57b8
tac: opportunistically use memory maps
...
Since tac must read its input files completely to start processing them
from the end, it is particularly suited to use memory maps to benefit
from the page cache maintained by the operating systems to bring the
necessary data into memory as required.
This does also include situations where the input is stdin, but not via
a pipe but for example a file descriptor set up by the user's shell
through an input redirection.
2021-10-10 13:20:31 +02:00
Sylvestre Ledru
b2fa51ddd9
Merge pull request #2656 from jhscheer/ls_selinux
...
`ls`: add support for showing SELinux context (--context/-Z)
2021-10-02 12:56:09 +02:00
Jan Scheer
22b59289e8
Merge branch 'master' into tail_notify
2021-10-02 12:48:54 +02:00
Jan Scheer
a9066e2d0c
tail: switch from Notify 4.0.17 to 5.0.0-pre.13
...
* treat input filenames as PathBuf instead of String
2021-09-23 13:34:20 +02:00
Raphaël Thériault
6931dd11f1
Use non-yanked version of digest crate in hashsum
2021-09-19 12:38:56 -07:00
Jan Scheer
fe3d020f6f
tail: use crate notify
for polling (implement --disable-inotify
)
2021-09-18 18:07:57 +02:00
Jan Scheer
79d838b1c3
Merge branch 'master' into ls_selinux
2021-09-17 14:14:47 +02:00
Jan Verbeek
4555c85564
whoami: Cleanup
...
- Use modern conventions
- Restrict the scope of unsafe
- Do not use deprecated `std::mem::unitialized()`
- Do not bake unicode into design
2021-09-13 22:54:45 +02:00
Sylvestre Ledru
e9d63519dd
Merge pull request #2668 from sylvestre/unused-deps
...
Remove plenty of unused deps
2021-09-13 21:45:39 +02:00
Sylvestre Ledru
a74e4bf095
shred: remove the unused dep on filetime
2021-09-13 18:15:51 +02:00
Sylvestre Ledru
a6c235bcd1
csplit: remove the unused dep on glob
2021-09-13 18:15:51 +02:00
Sylvestre Ledru
826c948234
ls: remove the unused dep on locale
2021-09-13 18:15:51 +02:00
Michael Debertol
5faa4c41db
Merge pull request #2607 from jfinkels/tac-regex
...
tac: add support for --regex option to tac
2021-09-13 18:12:57 +02:00
Sylvestre Ledru
87b6aa89e3
pr: remove unused "time" dep ( #2667 )
2021-09-13 18:08:51 +02:00
Sylvestre Ledru
68df4de1a2
nice: update to use the same version of nix as other programs ( #2666 )
2021-09-13 18:08:41 +02:00
Sylvestre Ledru
ebe897e4d4
shred: remove unused "time" dep ( #2665 )
2021-09-13 18:05:06 +02:00
Jan Scheer
4dc6536bb9
Merge branch 'master' into ls_selinux
2021-09-13 13:42:51 +02:00
Sylvestre Ledru
447d6f2b61
Merge pull request #2654 from blyxxyz/dedup-splice
...
Move common pipe and splice functions into uucore
2021-09-12 09:23:05 +02:00
Jeffrey Finkelstein
664c7a6ec5
tac: add support for --regex option to tac
...
Add support for `tac --regex`, where the line separator is interpreted
as a regular expression.
2021-09-11 22:54:55 -04:00
Jan Verbeek
b7d697753c
unlink: Simplify, remove unsafe, move to core
...
This makes it no longer possible to pass multiple filenames, but every
other implementation I tried (GNU, busybox, FreeBSD, sbase) also
forbids that so I think it's for the best.
2021-09-10 21:50:38 +02:00
Jan Scheer
fe3645d4d5
ls: add support for showing SELinux context (--context/-Z)
2021-09-10 21:33:34 +02:00
Jan Verbeek
c1079e0b1c
Move common pipe and splice functions into uucore
...
This cuts down on repetitive unsafe code and repetitive code in
general.
2021-09-10 21:24:34 +02:00
Jan Verbeek
60df3c6b7c
uucore: Cache args_os(), util_name(), execution_phrase()
...
And remove args() because there's no valid use for it, invalid unicode
handling is specified in a different way.
2021-09-07 18:51:25 +02:00
Sylvestre Ledru
6226a03214
Merge pull request #2624 from miDeb/cp/acl
...
cp: correctly copy mode, ownership, acl and context
2021-09-03 20:18:13 +02:00
Jan Verbeek
3f6ca4723e
Update num-bigint to 0.4.2 to fix CI
2021-09-03 19:24:02 +02:00
Michael Debertol
8b74562820
cp: correctly copy mode, ownership, acl and context
...
Fix a mix-up between ownership and mode. The latter (mode / file permissions)
can also be set on windows (which however only affects the read-only flag),
while there doesn't seem to be a straight-forward way to change file ownership
on windows.
Copy the acl as well when copying the mode. This is a non-default feature and can be
enabled with --features feat_acl, because it doesn't seem to work on CI.
It is only available for unix so far.
Copy the SELinux context if possible.
2021-09-01 00:16:22 +02:00
Jan Verbeek
afb460f4ca
rmdir: match GNU
...
- Implement all of GNU's fiddly little details
- Don't assume Linux for error codes
- Accept badly-encoded filenames
- Report errors after the fact instead of checking ahead of time
- General cleanup
rmdir now passes GNU's tests.
2021-08-28 02:26:01 +02:00
Jan Verbeek
657a04f706
wc: Stricter simpler error handling
...
Errors are now always shown with the corresponding filename.
Errors are no longer converted into warnings. Previously `wc < .`
would cause a loop.
Checking whether something is a directory is no longer done in
advance. This removes race conditions and the edge case where stdin is
a directory.
The custom error type is removed because io::Error is now enough.
2021-08-26 01:38:16 +02:00
Jan Verbeek
6f7d740592
wc: Do a chunked read with proper UTF-8 handling
...
This brings the results mostly in line with GNU wc and solves nasty
behavior with long lines.
2021-08-26 01:38:16 +02:00
Jan Verbeek
48437fc49d
wc: Optimize, improve correctness
...
- Reuse allocations for read lines
- Increase splice size
- Check if /dev/null was opened correctly
- Do not discard read bytes after I/O error
- Add fast line counting with bytecount
2021-08-26 01:38:16 +02:00
Jeffrey Finkelstein
52cfd4c6cb
hashsum: don't copy input buffer on Windows
...
Remove a copy operation of the input buffer being read for digest when
reading in text mode on Windows. Previously, the code was copying the
buffer to a completely new `Vec`, replacing "\r\n" with "\n". Instead,
the code now scans for the indices at which each "\r\n" occurs in the
input buffer and inputs into the digest only the characters before the
"\r" and after it.
2021-08-25 13:50:19 +02:00
Jan Verbeek
e5d6c6970b
yes: Cleanup
...
Report errors properly instead of panicking.
Replace zero_copy by a simpler specialized private module.
Do not assume splices move all data at once.
Use the modern uutils machinery.
Remove the "latency" feature. The time it takes to prepare the buffer
is drowned out by the startup time anyway.
yes: Add tests
yes: Fix long input test on Windows
2021-08-25 13:45:44 +02:00
Michael Debertol
4e251706be
refactor: move shared chown logic to uucore
2021-08-24 15:22:05 +02:00
Michael Debertol
7153a595c6
chgrp: forward to chown
...
chgrp does mostly the same as chown.
By making chown a bit more configurable we can reuse its code for chgrp.
2021-08-24 15:22:05 +02:00
Jeffrey Finkelstein
0e689e78aa
tac: support multi-char separator with overlap
...
Fix a bug in `tac` where multi-character line separators would cause
incorrect behavior when there was overlap between candidate matches in
the input string. This commit adds a dependency on `memchr` in order to
use the `memchr::memmem::rfind_iter()` function to scan for
non-overlapping instances of the specified line separator characters,
scanning from right to left.
Fixes #2580 .
2021-08-23 20:16:38 -04:00
Koutheir Attouchi
7010dfd939
runcon: added implementation and tests.
2021-08-22 21:59:41 +02:00
Sylvestre Ledru
5089214832
bump a few crates to simplify Debian packaging (second)
2021-08-22 00:42:03 +02:00
Sylvestre Ledru
8337aeb4d6
bump a few crates to simplify Debian packaging
2021-08-21 23:34:45 +02:00
Hanif Bin Ariffin
403910aed2
Updated Cargo.lock
...
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
2021-08-14 19:38:04 +08:00
Hanif Bin Ariffin
840c6e7b91
tr
: Reimplementing set expansion
...
Hopefully will be feature parity with GNU `tr`.
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Implemented a bit of new expansion module
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Implemented delete operation
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Partially implemented delete operation
Will go through translate next.
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Fix formatting...
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Implemented translation feature
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
2021-08-14 19:36:30 +08:00
Koutheir Attouchi
83a515e4c3
chcon: reduce the number of unsafe blocks.
2021-08-10 13:50:51 -04:00
Michael Debertol
03ceb6750e
cat: check if the input file is also the output file
2021-08-08 01:32:22 +02:00
Jeremy Soller
0474a2eadd
more, tail, test: Update redox_syscall to 0.2
2021-08-06 13:56:20 -06:00
Sylvestre Ledru
32d281bbcc
Merge pull request #2544 from miDeb/sort/delete-tmps
...
sort: delete temporary files when sort is terminated
2021-08-06 11:52:06 +02:00
Michael Debertol
0ae9e10ed3
sort: delete the temporary directory when sort is terminated
...
When hitting Ctrl+C sort now deletes any temporary files. To make this easier I
created a new struct `TmpDirWrapper` that handles the creation of new temporary
files and the registration of the signal handler.
2021-08-06 11:29:24 +02:00
Sylvestre Ledru
50b9d9f9a3
Merge branch 'master' into master
2021-08-06 09:26:39 +02:00
Koutheir Attouchi
090be5bb94
chcon: added implementation and integration tests
...
The ToDo list was updated to mark `chcon` as done.
Building and testing `chcon` requires enabling the `feat_selinux` feature. If `make` is used for building, then please specify `SELINUX_ENABLED=1` if building and testing on a system where SELinux is not enabled.
2021-08-05 22:57:57 -04:00
Michael Debertol
b8c383e210
basenc: add utility
...
basenc is a brand-new gnu core utility (added less than 3 years ago!),
which enables some more encodings.
2021-08-06 00:07:19 +02:00
Tyler
601c9fc620
Merge branch 'master' of https://github.com/uutils/coreutils into uutils-master-2
2021-08-03 17:33:43 -07:00
Jan Scheer
8232c1c64d
id: increase MSRV in order to compile selinux crate
...
* Bump MSRV from 1.43 to 1.47 in order to be able to compile
`selinux` crate 0.1.3
* Bump MSRV for clippy to 1.47
* Add "selinuxlib" to spell-checker
2021-08-02 20:36:06 +02:00
Jan Scheer
010565c8fb
Merge branch 'master' into id_selinux_context
2021-08-02 10:40:45 +02:00
Sylvestre Ledru
24b1822cba
Merge pull request #2468 from thomasqueirozb/tail_stdin
...
tail: handle `-` as an alias for stdin
2021-08-02 00:24:28 +02:00
Thomas Queiroz
940559f0e1
tail: handle -
as an alias for stdin
2021-08-01 17:20:24 -04:00
Tyler
885a875552
Addresses build errors
...
- Adds words to cspell exceptions
- Converts test macros to use Default trait.
- Converts parser to use Default trait.
- Adds Windows-friendly test files for block/unblock when nl is present
in test/spec file.
2021-07-22 16:04:35 -07:00
backwaterred
7c94bbe238
Merge branch 'uutils:master' into master
2021-07-21 17:33:07 -07:00
Terts Diepraam
eae8c72793
Merge pull request #2467 from Funky185540/backup_mode_determination
...
backup_control: Fix backup mode determination
2021-07-20 13:27:04 +02:00
Andreas Hartmann
250bcaf7c5
backup_control: Run tests in series
...
Make all tests lock a mutex to ensure that they're run in series rather than
parallel. We must take this precaution due to the fact that all tests are run
in parallel as threads of one parent process. As all threads in a process share
e.g. environment variables, we use the Mutex to ensure they're run one after
another.
This way we can guarantee that tests that rely on environment variables to have
specific values will see these variables, too.
An alternative implementation could have used the [rusty fork][1] crate to run
all tests that need env variables in separate processes rather than threads.
However, rusty fork likely wouldn't run on all platforms that the utilities are
supposed to run on.
2021-07-19 17:01:49 +02:00
Tyler
bb0d70965d
Commits changed Cargo.toml in dd
2021-07-12 10:36:38 -07:00
Tyler
994b4d9a3e
Merge remote-tracking branch 'upstream/master'
2021-07-12 10:22:20 -07:00
Jan Scheer
92bc647ac3
Merge branch 'master' into id_selinux_context
2021-07-12 17:30:21 +02:00
Sylvestre Ledru
1bb23cdf73
refresh cargo.lock with recent updates
2021-07-11 21:09:38 +02:00
Sylvestre Ledru
1d8a66b7d3
Update to version 0.0.7
2021-07-11 18:04:56 +02:00
Tyler
1ad89c5e89
Addresses issues raised in PR#2474
...
- runs rustfmt on test_dd.rs
- eliminates compiler warnings
- adds many words to spellchecker ignore list
- adds sanity test for vexing conv=nocreat issue. Still WIP.
2021-07-06 11:52:48 -07:00
Jan Scheer
e53f4db33a
Merge branch 'master' into id_selinux_context
2021-07-06 13:29:50 +02:00
Tyler
5b030b4855
Minor cleanup
...
- Removes compiler warnings.
- Renames conv=nocreat test to be more descriptive.
2021-07-02 11:50:33 -07:00
backwaterred
9c38583c6b
Merge pull request #2 from uutils/master
...
catchup with uutils main
2021-07-02 11:34:22 -07:00
Tyler
8334d9f574
Build changes after merge with uutils main
2021-07-02 10:53:15 -07:00
Tyler
92281585a7
Merge branch 'master' of https://github.com/uutils/coreutils into uutils-master
2021-07-01 14:33:30 -07:00
Terts Diepraam
5a40148602
Merge pull request #2463 from miDeb/wrap-help
...
all utils: enable wrap_help
2021-07-01 13:18:32 +02:00
Tyler
17cfba41cc
Implements project testfing from root.
...
- conv=FLAG testing. (1) WIP conv=nocreat
- iflag & oflag testing.
- conv=CONV ascii,...,ucase,...,block,...sync tests at unit-test-level
(project root is todo)
2021-06-30 14:47:48 -07:00
Michael Debertol
2ebca384c6
all utils: enable wrap_help
...
This makes clap wrap the help text according to the terminal width,
which improves readability for terminal widths < 120 chars,
because clap defaults to a width of 120 chars without this feature.
2021-06-27 16:17:10 +02:00
Michael Debertol
233a778963
sort/ls: implement version cmp matching GNU spec
...
This reimplements version_cmp, which is used in sort and ls to sort
according to versions.
However, it is not bug-for-bug identical with GNU's implementation.
I reported a bug with GNU here:
https://lists.gnu.org/archive/html/bug-coreutils/2021-06/msg00045.html
This implementation does not contain the bugs regarding the handling of
file extensions and null bytes.
2021-06-27 15:29:17 +02:00
Michael Debertol
a9e79c72c7
uutils: enable shell completions
...
This adds a hidden `completion` subcommand to coreutils. When invoked with
`coreutils completion <utility> <shell>` a completion file will be printed
to stdout. When running `make install` those files will be created for all
utilities and copied to the appropriate locations.
`make install` will install completions for zsh, fish and bash; however,
clap also supports generating completions for powershell and elvish.
With this patch all utilities are required to have a publich uu_app function
that returns a clap::App in addition to the uumain function.
2021-06-25 21:23:45 +02:00
Michael Debertol
0531153fa6
uutils: move clap::App creation to separate functions
2021-06-25 21:23:45 +02:00
Jan Scheer
f1d317147b
id: add support for showing SELinux context (--context/-Z)
2021-06-20 13:44:41 +02:00
Tyler
d14b5843a3
Implements libc file open flags (unix only)
2021-06-17 14:33:30 -07:00
Jan Scheer
88367c6fb4
Merge branch 'fix_getgrouplist' into id_zero_2351
2021-06-16 19:20:34 +02:00
Michael Debertol
a69c2d52f9
Merge branch 'master' of https://github.com/uutils/coreutils into timeout/cmd-args
2021-06-12 13:14:16 +02:00
Terts Diepraam
8afc923796
Merge pull request #2237 from wfscheper/wfscheper/issue2118
...
chgrp: replace getopts with clap (#2118 )
2021-06-12 11:20:24 +02:00
Tyler
fc110bb656
Implements status=LEVEL
...
- Adds print fn's
- Modifies internal fn's as needed to track read/write state
- Modifies status update thread to respect status level
- Adds signal handler for SIGUSR1 (print xfer stats)
2021-06-11 17:00:25 -07:00
Walter Scheper
cff75f242a
chgrp: replace getopts with clap ( #2118 )
2021-06-10 16:38:44 -04:00
Sylvestre Ledru
be9104b084
Merge pull request #2383 from tertsdiepraam/whoami/use-winapi
...
`whoami`: remove `advapi32-sys` dependency and use `winapi`
2021-06-10 21:34:50 +02:00
Michael Debertol
b4efd5a749
timeout: disable pre-existing SIGCHLD handlers
...
Needed to make a GNU test pass
2021-06-10 21:24:43 +02:00
Terts Diepraam
96dffc8700
Merge pull request #2384 from sylvestre/getopt
...
remove a legacy declaration to getopt
2021-06-10 10:45:16 +02:00
Sylvestre Ledru
6d7d57e13c
remove a legacy declaration to getopt
2021-06-09 22:58:50 +02:00
Terts Diepraam
44f6dc6098
whoami: remove advapi32-sys dependency
2021-06-09 22:10:28 +02:00
Terts Diepraam
394eb82af1
cat/cut/tty/nohup: replace is_std{in, out, err}_interactive with atty
2021-06-09 17:12:03 +02:00
Tyler
96fd665ce1
Implements internal read/write buffer optimization
...
- Spoiler Alert: Turns out it was just the lcm.
2021-06-08 14:14:19 -07:00
Roy Ivy III
9cdfa06f3a
maint/CICD ~ (MinRustV) update 'Cargo.lock' for rust v1.43
2021-06-06 19:16:50 -05:00
Michael Debertol
6ee6082cf8
update Cargo.lock
2021-06-06 18:04:55 +02:00
Sylvestre Ledru
27456fc8fb
Merge pull request #2296 from oconnor663/blake2b_simd
...
switch from blake2-rfc to blake2b_simd
2021-06-06 13:14:39 +02:00
Sylvestre Ledru
4143e3f54f
Merge pull request #2332 from mitchellmebane/dircolors-clap
...
dircolors: replace getopts with clap
2021-06-05 10:12:57 +02:00
Sylvestre Ledru
9712ecb4d5
Merge pull request #2340 from deantvv/more-unicode
...
more: fix unicode bug
2021-06-04 19:51:32 +02:00
Dean Li
acd290d11f
more: fix unicode bug for breakline
...
- Use `unicode_segmentation` and `unicode_width` to determine proper `break_line` position.
- Keep track of total_width as suggested by @tertsdiepraam.
- Add unittest for ZWJ unicode case
Related to #2319 .
2021-06-04 22:06:27 +08:00
Michael Debertol
e5c4681e04
tests: add the ability to set resource limits
2021-06-02 19:21:12 +02:00
Mitchell Mebane
efe1850087
dircolors: replace getopts with clap
...
Port argument parsing from getopts to clap.
The only difference I have observed is that clap auto-generates -h and
-V short options for help and version, and there is no way (in clap 2.x)
to disable them.
2021-06-01 19:22:08 -05:00
Sylvestre Ledru
8618771f2e
Merge pull request #2322 from miDeb/seq/improvements
...
seq: improve compatibility
2021-05-31 23:09:13 +02:00
Michael Debertol
6ccc305513
seq: implement integer sequences
...
If we notice that we can represent all arguments as BigInts, take a
different code path. Just like GNU seq this means we can print an
infinite amount of numbers in this case.
2021-05-31 21:20:12 +02:00
Dean Li
9d8e7b9acb
Fix touch parse date error
...
Now it can parse `touch -d 2000-01-23 file` and add test for parse date
error.
Related to #2311
2021-05-31 22:04:03 +08:00
Terts Diepraam
7690dc018f
Merge branch 'master' into pr
2021-05-31 15:23:06 +02:00
Terts Diepraam
77a0a077b8
pr: update dependencies
2021-05-31 14:48:12 +02:00
Sylvestre Ledru
8c5dcd0765
Merge branch 'master' into implement-more
2021-05-31 10:17:15 +02:00
Sylvestre Ledru
13b2a4afd3
Merge branch 'master' into blake2b_simd
2021-05-30 09:29:40 +02:00
Michael Debertol
d821719c67
expr: support arbitrary precision integers ( #2271 )
...
* expr: support arbitrary precision integers
Instead of i64s we now use BigInts for integer operations. This means
that no result or input can be out of range.
The representation of integer flags was changed from i64 to u8 to make
their intention clearer.
* expr: allow big numbers as arguments as well
Also adds some tests
* expr: use num-traits to check bigints for 0 and 1
* expr: remove obsolete refs
match ergonomics made these avoidable.
* formatting
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2021-05-29 23:25:23 +02:00
Terts Diepraam
bc1870c0a7
Merge branch 'master' into pr
2021-05-29 19:21:31 +02:00
Gilad Naaman
17b0939dee
Moved factor to use clap
...
Issue: https://github.com/uutils/coreutils/issues/2121
2021-05-29 15:11:27 +02:00
Terts Diepraam
0487360507
pr: make tests compile again
2021-05-29 14:30:30 +02:00
Jan Scheer
fb812ff9d0
Cargo.toml: remove factor_benches in order to be able to run clippy
...
linting for all targets
2021-05-29 14:29:46 +02:00
Terts Diepraam
1c2540a613
Add atty to dev-deps for more tests
2021-05-28 21:07:38 +02:00
Jack O'Connor
80b9bfdd18
switch from blake2-rfc to blake2b_simd
2021-05-28 14:08:46 -04:00
Sylvestre Ledru
fe42808e9b
Merge branch 'master' into implement-more
2021-05-28 19:49:48 +02:00
Gilad Naaman
6a9ffee548
Moved factor to use clap
...
Issue: https://github.com/uutils/coreutils/issues/2121
2021-05-28 19:48:28 +03:00
Sylvestre Ledru
222bd81190
Merge pull request #2291 from tertsdiepraam/remove-tempdir
...
Replace `tempdir` with `tempfile`
2021-05-28 10:45:19 +02:00
Terts Diepraam
835a17d79f
mktemp: use tempfile instead of custom tempdir
2021-05-27 22:48:10 +02:00
Terts Diepraam
ebe6341ae3
chore: replace tempdir with tempfile
2021-05-27 22:47:03 +02:00
Terts Diepraam
825476f573
Update tempfile
2021-05-27 20:25:24 +02:00
Syukron Rifail M
eda72b5208
du: replace getopts with clap
2021-05-26 11:23:05 +07:00
Sylvestre Ledru
66cfdb8644
Merge pull request #2143 from nbraud/factor/faster/table
...
factor::table: Implement a batched version w/ improved performance
2021-05-22 17:18:07 +02:00
Sylvestre Ledru
628684af4f
refresh cargo.lock with recent updates
2021-05-22 12:20:13 +02:00
Arijit Dey
1596c65dfd
Downgrade crossterm version
2021-05-18 22:29:59 +05:30
nicoo
9afed1f25f
Update Cargo.lock
...
Adding array-init v2.0.0
Updating cast v0.2.5 -> v0.2.6
Adding pest v2.1.3
Updating rustc_version v0.2.3 -> v0.3.3
Adding semver v0.11.0
Adding semver-parser v0.10.2
Updating serde v1.0.125 -> v1.0.126
Updating serde_derive v1.0.125 -> v1.0.126
Adding ucd-trie v0.1.3
Adding uu_factor_benches v0.0.0 (#tests/benches/factor)
2021-05-17 19:45:02 +02:00
Michael Debertol
fcd48813e0
sort: read files as chunks, off-thread
...
Instead of using a BufReader and reading each line separately,
allocating a String for each one, we read to a chunk. Lines are
references to this chunk. This makes the allocator's job much easier
and yields performance improvements.
Chunks are read on a separate thread to further improve performance.
2021-05-16 21:13:37 +02:00
Arijit Dey
22ba21d8ab
Fix bug with terminal getting weird
2021-05-16 22:26:54 +05:30
Jan Scheer
a4fc2b5106
who: fix --lookup
...
This closes #2181 .
`who --lookup` is failing with a runtime panic (double free).
Since `crate::dns-lookup` already includes a safe wrapper for `getaddrinfo`
I used this crate instead of further debugging the existing code in
utmpx::canon_host().
* It was neccessary to remove the version constraint for libc in uucore.
2021-05-13 22:16:15 +02:00
Sylvestre Ledru
019f1b1a88
Merge pull request #2203 from sylvestre/travis
...
Remove travis CI
2021-05-11 20:01:59 +02:00
Sylvestre Ledru
b9d44facb9
refresh cargo.lock with recent updates
2021-05-11 10:27:13 +02:00
Sylvestre Ledru
881bbf512e
refresh cargo.lock with recent updates
2021-05-10 08:59:45 +02:00
Gilad Naaman
8747800697
Switched 'arch' to use clap instead of getopts
2021-05-09 21:53:03 +03:00
Michael Debertol
c38373946a
sort: optimize the Line struct
2021-05-07 21:51:25 +02:00
Sylvestre Ledru
704c6865b1
refresh cargo.lock with recent updates
2021-05-07 10:35:50 +02:00
Idan Attias
b24b9d501b
logname: replace getopts with clap
2021-05-06 14:19:47 +02:00
Sylvestre Ledru
9f9735694d
refresh cargo.lock with recent updates
2021-05-06 08:22:23 +02:00
Anup Mahindre
7d2b051866
Implement Total size feature ( #2170 )
...
* ls: Implement total size feature
- Implement total size reporting that was missing
- Fix minor formatting / readability nits
* tests: Add tests for ls total sizes feature
* ls: Fix MSRV build errors due to unsupported attributes for if blocks
* ls: Add windows support for total sizes feature
- Add windows support (defaults to file size as block sizes related
infromation is not avialable on windows)
- Renamed some functions
2021-05-05 23:03:25 +02:00
rethab
231bb7be93
Migrate mknod to clap, closes #2051 ( #2056 )
...
* mknod: add tests for fifo
* mknod: add test for character device
2021-05-05 22:59:40 +02:00
Sylvestre Ledru
f83316f36e
Merge pull request #2156 from miDeb/sort-no-json-extsort
...
sort: don't rely on serde-json for extsort
2021-05-05 22:33:18 +02:00
Sylvestre Ledru
482e340e11
Merge branch 'master' into implement-more
2021-05-04 13:35:38 +02:00
Sylvestre Ledru
6dff9f00a3
refresh cargo.lock with recent updates
2021-05-04 10:02:40 +02:00
Sylvestre Ledru
6c04d0d21e
Merge pull request #2155 from nthery/kill_clap
...
kill: migrate to clap
2021-05-02 18:45:29 +02:00
Michael Debertol
e99f157e6a
Merge branch 'master' of https://github.com/uutils/coreutils into sort-no-json-extsort
2021-05-02 18:08:15 +02:00
Nicolas Thery
1dccbfd21e
kill: migrate to clap
...
Fixes #2122 .
2021-05-02 12:31:41 +02:00
Sylvestre Ledru
d0512618d5
refresh cargo.lock with recent updates
2021-05-02 09:43:32 +02:00
Sylvestre Ledru
2d0f4daf5b
Merge pull request #2152 from deantvv/link-clap
...
link: replace getopts with clap
2021-05-02 09:33:11 +02:00
Dean Li
f5c7d9bd80
link: replace getopts with clap
2021-05-02 10:40:48 +08:00
Ricardo Iglesias
f307de22d0
base64: Refactor argument parsing
...
Moved most of the argument parsing logic to `base32/base_common.rs` to
allow for significant code reuse.
2021-05-01 11:36:46 -07:00
Ricardo Iglesias
05b20c32a9
base64: Moved argument parsing to clap.
...
Moved argument parsing to clap and added tests to cover using "-" as
stdin, passing in too many file arguments, and updated the "wrap" error
message in the tests.
2021-05-01 11:36:46 -07:00
Sylvestre Ledru
5567f32f58
refresh cargo.lock with recent updates
2021-05-01 17:49:45 +02:00
Michael Debertol
be0c924c95
Merge branch 'master' of https://github.com/uutils/coreutils into sort-no-json-extsort
2021-05-01 17:29:03 +02:00
Michael Debertol
01d178cf17
sort: don't rely on serde-json for extsort
...
It is much faster to just write the lines to disk, separated by \n
(or \0 if zero-terminated is enabled), instead of serializing to json.
external_sort now knows of the Line struct instead of interacting with
it using the ExternallySortable trait. Similarly, it now uses the
crash_if_err! macro to handle errors, instead of bubbling them up.
Some functions were changed from taking &[Line] as the input to taking
an Iterator<Item = Line>. This removes the need to collect to a Vec
when not necessary.
2021-05-01 17:20:56 +02:00
Sylvestre Ledru
6693018631
refresh cargo.lock with recent updates
2021-05-01 13:12:00 +02:00
Arijit Dey
2593b3f2e1
Rewrite the cli usage function
...
Add crossterm as dependency
Complete the paging portion
Fixed tests
cp: extract linux COW logic into function
cp: add --reflink support for macOS
Fixes #1773
Fix error in Cargo.lock
Quit automatically if not much output is left
Remove unnecessary redox and windows specific code
Handle line wrapping
Put everything according to uutils coding standards
Add support for multiple files
Fix failing test
Use the args argument to get cli arguments
Fix bug where text is repeated multiple times during printing
Add a little prompt
Add a top file prompt for multiple files
Change println in loops to stdout.write and setup terminal only once
Fix bug where all lines were printed in a single row
Remove useless file and fix failing test
Fix another test
2021-04-29 20:23:35 +05:30
nicoo
b89978a4c9
factor: Add annotations for coz, the causal profiler ( #2142 )
...
* factor: Add annotations for coz, the causal profiler
* Update Cargo.lock
Generated with `nix-shell -p rustup --run 'cargo +1.40.0 update'`
2021-04-29 15:56:56 +02:00
Sylvestre Ledru
1ca6edb560
fix the min rust version
2021-04-28 20:55:08 +02:00
Rein F
a60fd07bc3
ls: improvements on time handling ( #1986 )
...
* ls: added creation time
* ls: Added most time features
Missing support for posix-,Format+, translating via locales. Also required more tests
* ls: rustfmt
* ls: Additional changes and fixes
Fixed the argument order, fixed a wrong iso format.
* ls: additional tests for styles
* ls: perfected arg parsing on time styles
* fix birthime test
* ls: Use 'stdout_str' in new tests
* ls: Disabled birthtime test for windows
* ls: removed indoc as a dependency
* ls: birthime test, sync first created file
* ls: birthime test, add comment explaining sync
* Removed ruby testfile birth_test.rb
This accidentally got commited in a merge
2021-04-28 20:54:27 +02:00
Sylvestre Ledru
167520067c
Merge pull request #2111 from cbjadwani/cut_optimizations
...
cut: optimizations
2021-04-28 20:40:28 +02:00
Sylvestre Ledru
a37e3181a2
Merge pull request #2130 from electricboogie/master
...
sort: implement --buffer-size and --temporary-directory (external sort)
2021-04-28 09:21:14 +02:00
Sylvestre Ledru
30cf6ec235
Merge pull request #2131 from ricardoaiglesias/base32-clap
...
Base32 clap
2021-04-27 09:20:45 +02:00
Terts Diepraam
c69b72c840
ls: forgot to commit Cargo.{toml, lock}
2021-04-26 15:04:55 +02:00
Ricardo Iglesias
5578ba6eed
base32: move from getopts to clap
...
Note, I needed to change the error messages in one of the tests because
getopt and clap have different error messages when not providing a
default value
2021-04-25 22:24:55 -07:00
electricboogie
094d9a9e47
Fix bug in human_numeric convert
2021-04-25 12:27:11 -05:00
electricboogie
cb0c667da5
Ran Rustfmt
2021-04-25 10:12:03 -05:00
electricboogie
4c395146dd
Merge branch 'master' of https://github.com/uutils/coreutils
2021-04-25 10:11:27 -05:00
electricboogie
2b8a6e98ee
Working ExtSort
2021-04-25 00:20:56 -05:00
Chirag Jadwani
2c1459cbfc
cut: optimizations
...
* Use buffered stdout to reduce write sys calls.
This simple change yielded the biggest performace gain.
* Use `for_byte_record_with_terminator` from the `bstr` crate.
This is to minimize the per line copying needed by
`BufReader::read_until`. The `cut_fields` and `cut_fields_delimiter`
functions used `read_until` to iterate over lines. That required copying
each input line to the line buffer. With
`for_byte_record_with_terminator` copying is minimized as it calls our
closure with a reference to BufReader's buffer most of the time. It
needs to copy (internally) only to process any incomplete lines at the
end of the buffer.
* Re-write `Searcher` to use `memchr`.
Switch from the naive implementation to one that uses `memchr`.
* Rewrite `cut_bytes` almost entirely.
This was already well optimized. The performance gain in this case is
not from avoiding copying. In fact, it needed zero copying whereas new
implementation introduces some copying similar to `cut_fields` described
above. But the occassional copying cost is more than offset by the use
of the very fast `memchr` inside `for_byte_record_with_terminator`.
This change also simplifies the code significantly. Removed the `buffer`
module.
2021-04-24 22:29:48 +05:30
Sylvestre Ledru
2f17bfc14c
Merge pull request #2106 from miDeb/sort-debug
...
sort: implement --debug
2021-04-24 18:46:58 +02:00
Sylvestre Ledru
883dec9d00
Merge pull request #2108 from miDeb/tests-pretty-diffs
...
tests: show pretty diffs for assertion failures
2021-04-24 18:14:47 +02:00
Sylvestre Ledru
c9b0378ca3
Merge pull request #2104 from tertsdiepraam/ls/skip_metadata
...
`ls`: skip reading metadata
2021-04-24 18:13:53 +02:00
Michael Debertol
2084c3ddf3
tests: show pretty diffs for assertion failures
...
- All assert_eq in tests/common/util.rs now print a pretty diff on test
failures.
- {stdout, stderr}_is_fixture now compare the expected output and the
fixture as Strings, which leads to more usable diffs.
2021-04-24 16:43:13 +02:00
Sylvestre Ledru
99840b9099
refresh cargo.lock with recent updates
2021-04-24 13:15:59 +02:00
Terts Diepraam
ce8c58b93e
Merge branch 'master' into ls/skip_metadata
2021-04-24 10:45:43 +02:00
Michael Debertol
e6f6b109a5
sort: implement --debug
...
This adds a --debug flag, which, when activated, will draw lines below
the characters that are actually used for comparisons.
This is not a complete implementation of --debug. It should, quoting the man page
for GNU sort: "annotate the part of the line used to sort, and warn
about questionable usage to stderr". Warning about "questionable usage"
is not part of this patch.
This change required some adjustments to be able to get the range that
is actually used for comparisons. Most notably, general numeric comparisons
were rewritten, fixing some bugs along the lines.
Testing is mostly done by adding fixtures for the expected debug output of
existing tests.
2021-04-23 22:36:15 +02:00
Terts Diepraam
72bf7afe5b
ls: also update Cargo.lock
2021-04-23 00:49:05 +02:00
Terts Diepraam
b9f4964a96
ls: bring up to date with recent changes
2021-04-22 11:39:08 +02:00
Terts Diepraam
3fc8d2e422
ls: make compatible with Rust 1.40 again
2021-04-21 18:05:10 +02:00
electricboogie
42da444f40
Remove unused deps
2021-04-18 13:49:11 -05:00
electricboogie
d7b7ce52bc
Vendored ext_sorter, removed unstable, created a byte buffer sized vector instead of a numbered capacity vector
2021-04-18 11:54:18 -05:00
electricboogie
acfe0681d4
Merge branch 'master' of https://github.com/uutils/coreutils
2021-04-17 11:54:45 -05:00
electricboogie
a76d452f75
Sort: More small fixes ( #2065 )
...
* Various fixes and performance improvements
* fix a typo
Co-authored-by: Michael Debertol <michael.debertol@gmail.com>
* Fix month parse for months with leading whitespace
* Implement test for months whitespace fix
* Confirm human numeric works as expected with whitespace with a test
* Correct arg help value name for --parallel
* Fix SemVer non version lines/empty line sorting with a test
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
Co-authored-by: Michael Debertol <michael.debertol@gmail.com>
2021-04-17 10:06:19 +02:00
electricboogie
e6c195a675
ExtSort
2021-04-12 14:24:22 -05:00
Árni Dagur
eb4971e6f4
cat: Unrevert splice patch ( #2020 )
...
* cat: Unrevert splice patch
* cat: Add fifo test
* cat: Add tests for error cases
* cat: Add tests for character devices
* wc: Make sure we handle short splice writes
* cat: Fix tests for 1.40.0 compiler
* cat: Run rustfmt on test_cat.rs
* Run 'cargo +1.40.0 update'
2021-04-10 22:19:53 +02:00
electricboogie
77411f3fb5
Implement test for months whitespace fix
2021-04-10 13:36:57 -05:00
Michael Debertol
69f4410a8a
sort: dedup using compare_by ( #2064 )
...
compare_by is the function used for sorting, we should use it for dedup
as well.
2021-04-10 19:49:10 +02:00
Michael Debertol
49c9d8c901
sort: implement -k and -t support ( #1996 )
...
* sort: implement basic -k and -t support
This allows to specify keys after the -k flag and a custom field
separator using -t.
Support for options for specific keys is still missing, and the -b flag
is not passed down correctly.
* sort: implement support for key options
* remove unstable feature use
* don't pipe in input when we expect a failure
* only tokenize when needed, remove a clone()
* improve comments
* fix clippy lints
* re-add test
* buffer writes to stdout
* fix ignore_non_printing
and make the test fail in case it is broken :)
* move attribute to the right position
* add more tests
* add my name to the copyright section
* disallow dead code
* move a comment
* re-add a loc
* use smallvec for a perf improvement in the common case
* add BENCHMARKING.md
* add ignore_case to benchmarks
2021-04-10 14:54:58 +02:00
Sylvestre Ledru
e1221ef3f8
Merge pull request #2036 from joppich/issue1930
...
stdbuf: move from getopts to clap
2021-04-10 11:58:01 +02:00
Nicolas Thery
698924a20a
unlink: move from getopts to clap ( #2052 ) ( #2058 )
2021-04-10 11:50:21 +02:00
joppich
c54b5f2d82
stdbuf: move from getopts to clap
2021-04-10 00:39:12 +02:00
Sylvestre Ledru
844e318a67
Merge branch 'master' into pr
2021-04-09 22:02:25 +02:00
electricboogie
8474249e5f
Sort: Implement stable sort, ignore non-printing, month sort dedup, auto parallel sort through rayon, zero terminated sort, check silent ( #2008 )
2021-04-08 22:07:09 +02:00
Sylvestre Ledru
717b875b5d
Merge pull request #2046 from ricardoaiglesias/timeout-clap
...
timeout: Moved argument parsing to clap
2021-04-07 23:19:36 +02:00
paulotten
52706372aa
Replace outdated time 0.1 dependancy with latest version of chrono ( #2044 )
...
* Replace outdated time 0.1 dependancy with latest version of chrono
I also noticed that times are being miscalculated on linux, so I fixed that.
* Add time test for issue #2042
* Cleanup use declarations
* Tie time test to `touch` feature
- if we compile with the right OS feature flag then we should have it,
even on Windows
2021-04-07 08:41:04 +02:00
Ricardo Iglesias
ea0ead6a2e
Ran cargo lock update command.
2021-04-06 22:16:52 -07:00
Yagiz Degirmenci
c965effe07
fold: move to clap, add tests ( #2015 )
2021-04-06 22:51:27 +02:00
Sylvestre Ledru
f57eb0fdfa
Merge pull request #1993 from cbjadwani/master
...
uniq: Implement --group option
2021-04-05 22:33:04 +02:00
Sylvestre Ledru
7cdeb18dff
Merge pull request #2026 from tertsdiepraam/ls/hide_and_ignore
...
ls: --hide and --ignore
2021-04-05 22:31:23 +02:00
Terts Diepraam
d68959d696
ls: update cargo.lock with globset
2021-04-05 10:12:23 +02:00
Terts Diepraam
bbb27800c9
ls: fix windows tests and commit lock
2021-04-04 23:14:55 +02:00
Sylvestre Ledru
c196f4ae8b
Merge pull request #2023 from ycd/cut
...
cut: move to clap, add gnu like error messages + tests
2021-04-04 14:47:15 +02:00
Chirag Jadwani
19c6a42de5
uniq: implement group option
2021-04-04 15:22:17 +05:30
Tyler
4996308753
Builds out arg parsing. Adds support for if, of, & multiplier strings)
...
- Adds support for calling dd fn from cl
- Adds basic cl tests from project root
- Adds support for multiplier strings (c, w, b, kB, KB, KiB, ... EB, E,
EiB.
2021-04-03 12:59:03 -07:00
Yagiz Degirmenci
cfc3d52be4
cut: move to clap
2021-04-03 20:19:30 +03:00
Yagiz Degirmenci
b940b2d79c
dirname: move to clap, simplify code
2021-04-03 18:24:39 +03:00
Sylvestre Ledru
f37284129e
new release 0.0.6 to address the cat issue
2021-04-03 16:06:58 +02:00
Sylvestre Ledru
a852574745
Fix bug #2017 - cat isn't working
...
Revert "cat: Improve performance on Linux (#1978 )"
This reverts commit 7a947cfe46
.
2021-04-03 15:50:59 +02:00
Sylvestre Ledru
ac031dffa4
new release 0.0.5
2021-04-03 10:30:07 +02:00
Sylvestre Ledru
f10de40ab8
refresh cargo.lock with recent updates
2021-04-02 23:30:24 +02:00
ReggaeMuffin
2eb32d845e
chores: run cargo +1.40.0 fmt
...
Apparently fmt from 1.40.0 is a bit more strict in some places
Let me know if this is worthwhile merging :)
2021-04-02 10:56:49 +01:00
Sylvestre Ledru
9c2cd81b11
refresh cargo.lock with recent updates
2021-04-01 23:18:57 +02:00
paulotten
090d29496a
Issue #1622 port du
to windows ( #1788 )
...
* Issue #1622 port `du` to windows
* Attempt to support Rust 1.32
Old version was getting "attributes are not yet allowed on `if`
expressions" on Rust 1.32
* Less #[cfg]
* Less duplicate code.
I need the return and the semicolon after if otherwise the second #[cfg]
leads to unexpected token complilation error
* More accurate size on disk calculations for windows
* Expect the same output on windows as with WSL
* Better matches output from du on WSL
* In the absence of feedback I'm disabling these tests on Windows.
They require `ln`. Windows does not ship with this utility.
* Use the coreutils version of `ln` to test `du`
`fn ccmd` is courtesy of @Artoria2e5
* Look up inodes (file ids) on Windows
* One more #[cfg(windows)] to prevent unreachable statement warning on linux
2021-04-01 23:16:47 +02:00
Árni Dagur
7a947cfe46
cat: Improve performance on Linux ( #1978 )
...
* cat: Improve performance, especially on Linux
* cat: Don't use io::copy for splice fallback
On my MacBook Pro 2020, it is around 25% faster to not use io::copy.
* cat: Only fall back to generic copy if first splice fails
* cat: Don't double buffer stdout
* cat: Don't use experimental or-pattern syntax
* cat: Remove nix symbol use from non-Linux
2021-04-01 23:08:48 +02:00
Aleksandar Janicijevic
cf4970f083
shred: Replaced eprintln with show_error ( #1992 )
2021-04-01 08:53:48 +02:00
Yagiz Degirmenci
e958864bd9
tac: exit with proper code, move from getopts to clap, add test for invalid inputs ( #1957 )
2021-03-31 21:21:10 +02:00
Aleksandar Janicijevic
751ae6a8f8
shred: use clap for argument management ( #1961 )
2021-03-31 21:19:04 +02:00
Sylvestre Ledru
da18ffa496
refresh cargo.lock with recent updates
2021-03-30 20:54:25 +02:00
Árni Dagur
698dab12a6
wc: Don't read() if we only need to count number of bytes (Version 2) ( #1851 )
...
* wc: Don't read() if we only need to count number of bytes
* Resolve a few code review comments
* Use write macros instead of print
* Fix wc tests in case only one thing is printed
* wc: Fix style
* wc: Use return value of first splice rather than second
* wc: Make main loop more readable
* wc: Don't unwrap on failed write to stdout
* wc: Increment error count when stats fail to print
* Re-add Cargo.lock
2021-03-30 20:53:02 +02:00
Sylvestre Ledru
32ddef9b9e
refresh cargo.lock with recent updates ( #1964 )
2021-03-29 14:35:12 +02:00
electricboogie
da5f2f3a6c
sort: Add a GNU-style Random Sorter ( #1922 )
2021-03-29 13:05:52 +02:00
Yagiz Degirmenci
8cc7a90d7c
sum: fix crash on invalid inputs, move to clap, add tests ( #1952 )
2021-03-29 13:03:56 +02:00
Raymond Wang
ab5b6dd844
tr: move from getopts to claps #1929 ( #1954 )
2021-03-29 13:03:24 +02:00
Craig Pastro
6d4f70ccb2
shuf: move from getopts to clap ( #1950 )
2021-03-28 15:08:37 +02:00
Sylvestre Ledru
1bfea356a6
refresh cargo.lock with recent updates
2021-03-28 10:36:44 +02:00
Sylvestre Ledru
ab32fd2ba6
refresh cargo.lock with recent updates
2021-03-27 20:03:47 +01:00
Yagiz Degirmenci
f66a188414
mkfifo: general refactor, move to clap, add tests ( #1945 )
...
* mkfifo: general refactor, move to clap, add unimplemented flags
* chore: update Cargo.lock
* chore: delete unused variables, simplify multiple lines with crash
* test: add tests
* chore: revert the use of crash
* test: use even more invalid mod mode
2021-03-27 20:00:59 +01:00
Yagiz Degirmenci
ac7edcc4fa
ptx: delete getopts dependency ( #1942 )
...
* chore: delete getopts dependency
* deps: update Cargo.lock
2021-03-27 13:31:06 +01:00
Sylvestre Ledru
e1439dd199
refresh cargo.lock with recent updates ( #1924 )
...
Updating memoffset v0.6.1 -> v0.6.2
Updating syn v1.0.64 -> v1.0.65
2021-03-27 10:06:22 +01:00
Antonio Gurgel
35675fdfe7
install: implement -C
/ --compare
( #1811 )
...
* install: implement `-C` / `--compare`
GNU coreutils [1] checks the following: whether
- either file is nonexistent,
- there's a sticky bit or set[ug]id bit in play,
- either file isn't a regular file,
- the sizes of both files mismatch,
- the destination file's owner differs from intended, or
- the contents of both files mismatch.
[1] https://git.savannah.gnu.org/cgit/coreutils.git/tree/src/install.c?h=v8.32#n174
* Add test: non-regular files
* Forgot a #[test]
* Give up on non-regular file test
* `cargo fmt` install.rs
2021-03-27 09:18:47 +01:00
Max Semenik
62fe68850e
pr: Fixes after rebasing
...
Only the minimum needed to:
* Make everything compile without warnings
* Move files according to the new project structure
* Make tests pass
2021-03-26 17:57:19 +03:00
Tyler
0df457596c
Implements conversions:- ascii, ebcdic, ibm, lcase, ucase- adds (simple) tests for conversions
2021-03-25 18:32:47 -07:00
Sylvestre Ledru
f431f58dd8
Bump min rustc to 1.40 ( #1909 )
2021-03-25 15:28:47 -07:00
Sylvestre Ledru
365c230493
refresh cargo.lock with recent updates ( #1896 )
2021-03-24 08:56:30 +01:00
Sylvestre Ledru
734368bc92
refresh cargo.lock with recent updates
2021-03-21 17:03:58 +01:00
pedrohjordao
ca8fbc37bf
od: Changes command line parser to clap ( #1849 )
2021-03-21 16:19:30 +01:00
Sylvestre Ledru
d1fc42a7c9
refresh cargo.lock with recent updates
2021-03-20 10:28:06 +01:00
Sylvestre Ledru
621511dcac
Update cargo.lock
2021-03-19 14:24:25 +01:00
Marco Satti
5ec87dc70a
date: Implement setting the date on Unix & Windows ( #1798 )
...
* date: implement set date for unix and windows
Parsing the date string is not fully implemented yet, as in it relies
on the internals of chrono - things like "Mon, 14 Aug 2006 02:34:56 -0600"
do not work, nor does "2006-08-14 02:34:56" (no TZ / local time). This
is no different to using the "--date" option however, and will get fixed
when `parse_date` is a bit smarter.
Only supports unix and Windows platforms for now.
2021-03-19 09:54:01 +01:00
aspen
ed7e24c5b0
uu_more: update nix to 0.13
2021-03-18 08:39:06 -04:00
Sylvestre Ledru
99be7a3172
Merge pull request #1810 from jeckersb/nice-clap
...
nice: move from getopts to clap #1794
2021-03-17 22:03:42 +01:00
Sylvestre Ledru
44a7adc9a0
Merge pull request #1812 from konomith/feature/preserve_timestamps_#1758
...
install: Implement --preserve-timestamps (-p)
2021-03-17 22:02:54 +01:00
John Eckersberg
64b8c8aac7
nice: move from getopts to clap #1794
2021-03-17 08:52:13 -04:00
ty
af6bf3a224
Begins work on dd
...
- Prototype code.
- Adds project boilerplate for integration with coreutils framework.
2021-03-16 14:32:55 -07:00
Sylvestre Ledru
19b7b09bd7
Update cargo.lock ( #1819 )
2021-03-14 11:09:11 +01:00
Hari
2462575d4b
Run cargo +1.33.0 update to fix Cargo.lock
2021-03-12 17:46:58 -05:00
Sylvestre Ledru
cd4003007f
refresh cargo.lock with updates
2021-03-12 23:10:12 +01:00
Hari
68ec2ed0f3
install: Implement --preserve-timestamps (-p)
...
Last access and last modify timestamps are extracted from the
existing file metadata and are applied to the newly created file.
2021-03-12 16:51:47 -05:00
Ali Shariat
62388faab8
paste: update cargo lock file
...
missed from #1785
2021-03-10 02:04:37 -08:00
Sylvestre Ledru
f711027764
refresh Cargo.lock after the version
2021-03-07 12:05:16 +01:00
Sylvestre Ledru
4f5e9ecb39
refresh Cargo.lock after the version
2021-03-07 11:29:38 +01:00
Chad Brewbaker
bb54669a5d
Fix macOS aarch64 compile errors ( #1724 )
2021-02-23 10:25:06 +01:00
Alex Lyon
7e5d9ee32d
factor, stdbuf, timeout, uname, uptime: update dependencies ( #1746 )
2021-02-22 15:07:51 +01:00
Sylvestre Ledru
158754f4ab
Fix the min rust version ( #1720 )
2021-02-12 11:36:50 +01:00
Sylvestre Ledru
262b508b89
update the dep to uucore 0.0.6
2021-02-01 23:55:43 +01:00
Sylvestre Ledru
dc53b9bbf3
Also pin thread_local to version 1.1.0
2021-02-01 23:32:55 +01:00
Sylvestre Ledru
f0b302d716
refactor(fmt) move to clap
2021-01-25 21:48:52 +01:00
Sylvestre Ledru
a807fc623a
Update to version 0.0.3
2021-01-22 09:40:38 +01:00
Sylvestre Ledru
9f7259b986
refactor(realpath): move to clap
2021-01-19 20:56:27 +01:00
Sylvestre Ledru
e331186fee
unbreak build with rustc 1.32: force tempfile 3.1.0 ( #1695 )
2021-01-19 08:15:53 +01:00
Gaurang Tandon
ac7cac2910
tail: moving to clap from getopt ( #1689 )
2021-01-12 17:44:11 +01:00
Sylvestre Ledru
04b92f3e94
Replaces failure by thiserror. ( #1688 )
...
Failure isn't maintained anymore:
https://github.com/rust-lang-nursery/failure/pull/347
https://rustsec.org/advisories/RUSTSEC-2020-0036.html
2021-01-11 22:01:14 +01:00
Sylvestre Ledru
57e24c9118
also update uucore & uucore_procs versions to 0.0.5
2021-01-10 18:24:43 +01:00
Sylvestre Ledru
d9ae043a05
update of the version 0.0.1 => 0.0.2 ( #1686 )
2021-01-10 18:16:04 +01:00
Sylvestre Ledru
d9580c2f3a
ls: move from isatty (deprecated) to atty ( #1685 )
2021-01-09 21:21:02 +01:00
Sylvestre Ledru
138e407071
pin byteorder, version 1.4 fails with Rust 1.32 ( #1684 )
2021-01-09 20:51:18 +01:00
Sylvestre Ledru
7f1d47b77a
refactor(ln): move to clap
2021-01-02 22:35:21 +01:00
Sylvestre Ledru
66b503a77e
refactor(mktemp): move to clap
2021-01-02 09:40:40 +01:00
Sylvestre Ledru
c2dc05eb56
Rust 1.32
2020-12-28 17:22:46 +01:00
Sylvestre Ledru
36d903e611
number-prefix: Move from 0.2 to 0.4 ( #1670 )
2020-12-22 13:53:20 +01:00
Sylvestre Ledru
e19010e9fe
cosmetic: consistency in the walkdir cargo declaration
2020-12-12 13:10:57 +01:00
Sylvestre Ledru
576aa29f0f
refactor(chmod): move from walker to walkdir, simplify the code and add tests ( #1645 )
2020-12-12 10:31:12 +01:00
Sylvestre Ledru
49b32ea68d
refactor(chown): move to clap & add tests ( #1648 )
2020-12-12 00:14:00 +01:00
Sylvestre Ledru
516839e081
refactor(mv): move to clap ( #1652 )
2020-12-10 22:28:17 +01:00
Piyush Jaipuriayar
3ca8ba997c
hashsum: added blake2 as a hashing algorithm ( #1651 )
2020-12-08 23:32:02 +01:00
Sylvestre Ledru
5f47d1249d
use the same version of clap everywhere
2020-12-01 22:59:14 +01:00
Sylvestre Ledru
bfba889f8e
refactor(touch): Move to clap + add a test ( #1629 )
2020-11-21 09:53:13 +01:00
Sylvestre Ledru
5efaa0bf32
refactor(id) - move to clap and add more tests ( #1628 )
2020-11-21 09:52:50 +01:00
Sylvestre Ledru
41ba5ed913
refactor(uniq): Move to clap + add a test ( #1626 )
2020-11-21 09:52:40 +01:00
Sylvestre Ledru
7bbb4c98e8
Merge pull request #1623 from sylvestre/clap-pwd
...
refactor(pwd): move to clap + add a test
2020-11-21 00:49:30 +01:00
Sylvestre Ledru
8271faf3a2
Merge branch 'master' into clap-pwd
2020-11-19 22:32:02 +01:00
Sylvestre Ledru
252f527b55
Merge branch 'master' into uptime-refresh
2020-11-19 22:30:33 +01:00
Sylvestre Ledru
62265656b4
Merge pull request #1630 from sylvestre/clap-mkdir
...
refactor(mkdir): Move to clap + add a test
2020-11-17 13:01:09 +01:00
Sylvestre Ledru
5eaab5327c
Merge pull request #1632 from sylvestre/clap-rm
...
refactor(rm): Move to clap + add a test
2020-11-17 13:00:35 +01:00
Sylvestre Ledru
eada6e58e5
Merge pull request #1637 from sylvestre/clap-install
...
refactor(install): move to clap
2020-11-17 13:00:04 +01:00
Sylvestre Ledru
d268bda28e
Merge pull request #1635 from sylvestre/clap-sync
...
refactor(sync): Move to clap + add tests
2020-11-15 22:40:46 +01:00
Sylvestre Ledru
2edfe32c48
refactor(install): move to clap
2020-11-13 18:21:56 +01:00
Sylvestre Ledru
2febd13733
refactor(sync): Move to clap + add tests
2020-11-11 22:57:55 +01:00
Sylvestre Ledru
61520546a5
refactor(rm): Move to clap + add a test
2020-11-09 10:27:58 +01:00
Sylvestre Ledru
1b9267644c
pin cc version. 1.0.62 fails with rust 1.32
2020-11-09 09:53:17 +01:00
Roy Ivy III
e9a767a59c
update deps ~ Cargo.lock (via cargo +1.32.0 update
)
2020-11-08 20:53:11 -06:00
Sylvestre Ledru
897bcb2e67
refactor(mkdir): Move to clap + add a test
2020-11-08 17:51:04 +01:00
Sylvestre Ledru
92d5d47434
refactor(pwd): move to clap + add a test
2020-11-03 23:12:16 +01:00
Sylvestre Ledru
8bd533ffe8
refactor(uptime): some minor improvements
2020-11-03 23:10:32 +01:00
Sylvestre Ledru
a3f3a050a8
Merge pull request #1618 from sylvestre/wc-clap
...
refactor(wc): use clap instead of getopts
2020-11-03 09:39:53 +01:00
Sylvestre Ledru
38e90b9a03
Merge pull request #1621 from sylvestre/clap-stat
...
refactor(stat): Move to clap
2020-11-03 08:37:39 +01:00
Sylvestre Ledru
57c83db6b6
Merge pull request #1616 from sylvestre/users
...
refactor(users): move to clap and simplify the code a bit
2020-11-03 08:37:16 +01:00
Sylvestre Ledru
bd41cb621b
Merge pull request #1620 from sylvestre/clap-printenv
...
refactor(printenv): use clap instead of getopts
2020-11-03 08:36:56 +01:00
Sylvestre Ledru
32ccd7d54d
Merge pull request #1619 from sylvestre/rmdir-clap
...
refactor(rmdir): use clap instead of getopts
2020-11-03 08:36:25 +01:00
Sylvestre Ledru
1e37c29b1f
refactor(stat): Move to clap
2020-11-02 22:18:51 +01:00
Sylvestre Ledru
58099f4203
refactor(wc): use clap instead of getopts
2020-10-29 20:40:00 +01:00
Roy Ivy III
7827716dad
update dependencies (Cargo.lock; using cargo +1.32.0 update
)
2020-10-26 15:26:25 -05:00
nicoo
0d39732300
factor::Decomposition: Inline a small number (4) of factors
...
This avoids allocating on the heap when factoring most numbers,
without using much space on the stack.
This is ~3.5% faster than the previous commit, and ~8.3% faster than “master”.
2020-10-26 15:06:28 -05:00
Sylvestre Ledru
af151703b3
refactor(rmdir): use clap instead of getopts
2020-10-26 09:53:55 +01:00
Sylvestre Ledru
17a99f8e53
refactor(printenv): use clap instead of getopts
2020-10-26 09:52:53 +01:00
Roy Ivy III
5837bc4fc9
Merge pull request #1610 from sylvestre/sort-clap
...
refactor(sort): move to use of 'clap'
2020-10-25 18:56:58 -05:00
Roy Ivy III
a9fb64abb4
Merge pull request #1612 from sylvestre/clap-seq
...
Move seq to use of 'clap'
2020-10-25 18:56:24 -05:00
Sylvestre Ledru
58b0aeabee
refactor(sort): move to clap
2020-10-25 11:01:30 -05:00
Sylvestre Ledru
733fe925ad
refactor(readlink): move to clap
2020-10-25 10:53:09 -05:00
Sylvestre Ledru
dfb922f66e
refactor(seq): use clap instead of doing arg mgmt by hand
2020-10-25 10:46:38 -05:00
Sylvestre Ledru
4804e52c97
refactor(users): move to clap and simplify the code a bit
2020-10-25 15:29:02 +01:00
Sylvestre Ledru
8ad2fd3534
refactor(truncate): Move to clap
2020-10-23 00:40:46 +02:00
Roy Ivy III
79b054b016
update deps ~ Cargo.lock
2020-10-14 14:44:07 -05:00
nicoo
4f23767b85
factor::numeric::gcd: Add criterion-powered benchmark
...
The function had to be made `pub`, this is a [known limitation] of Criterion.
[known limitation]: https://bheisler.github.io/criterion.rs/book/user_guide/known_limitations.html
2020-07-24 22:58:26 +02:00
nicoo
1b593d94c9
factor: Update rand dependency to v0.7
2020-07-24 22:57:08 +02:00
nicoo
7a1b86c9c2
factor::numeric::tests: Use a macro to instantiate every test
2020-07-05 00:04:53 +02:00
nicoo
4f08e28167
factor::miller_rabin: Add property-based test
2020-07-05 00:04:08 +02:00
nicoo
43ee92c40f
factor::numeric: Generalise modular inverse computation
2020-07-05 00:01:21 +02:00
Alex Lyon
e02b8a60f7
hashsum: switch from getopts to clap ( #1542 )
...
* hashsum: switch from getopts to clap
Additionally, slightly refactor. This commit will be the first of
a series of commits refactoring (at the very least) `hashsum`.
2020-06-18 11:46:00 +02:00
Sylvestre Ledru
f17a112781
feature(ln): implement -r ( #1540 )
...
* bump the minimal version of rustc to 1.32
* feature(ln): implement -r
* fix two issues
* Use cow
* rustfmt the change
* with cargo.lock 1.31
* try to unbreak windows
2020-06-18 00:54:18 -07:00
Alex Lyon
5cea5faee0
Update Cargo.lock
2020-06-16 03:59:45 -05:00
Roy Ivy III
6d15599c37
update deps ~ Cargo.lock
2020-06-13 13:55:55 -05:00
Sylvestre Ledru
ac34d136f2
refactor(global): Move from tempdir to tempfile:
...
* the crate has been deprecated
2020-06-09 11:30:19 +02:00
Alex Lyon
80987250d2
Merge pull request #1521 from sylvestre/nproc
...
Add tests for nproc + clap migration
2020-06-08 19:18:00 -07:00
Alex Lyon
49771d4fda
Merge pull request #1535 from sylvestre/1.32
...
Move to 1.32 as minimal supported version
2020-06-08 14:31:02 -07:00
Sylvestre Ledru
5926315507
bump the minimal version of rustc to 1.32
2020-06-08 22:54:28 +02:00
Sylvestre Ledru
5963b15746
refactor(nproc): fix some bugs and use clap
2020-06-02 23:29:21 +02:00
Sylvestre Ledru
ed1ebe09ff
refactor(groups): move to clap
2020-06-02 23:16:18 +02:00
Roy Ivy III
25d3cdb0e9
update deps ~ Cargo.lock
2020-05-31 15:48:54 -05:00
Roy Ivy III
a6ff38cf22
update deps ~ Cargo.lock
2020-05-29 22:59:48 -05:00
Roy Ivy III
ca90ce981f
update deps ~ Cargo.lock
2020-05-29 22:59:47 -05:00
Sylvestre Ledru
75b7f768ea
fix(mv): Allow move across file systems ( #1524 )
...
Co-authored-by: Arni Dagur <arni@dagur.eu>
2020-05-24 12:49:56 +02:00
Sylvestre Ledru
272b66aac8
refactor(hostname): use clap instead of getopts for consistency ( #1516 )
...
* refactor(hostname): use clap instead of getopts for consistency
* deps ~ uucore/wide is required
Co-authored-by: Roy Ivy III <rivy.dev@gmail.com>
2020-05-22 17:27:03 +02:00
Sylvestre Ledru
817a237821
Merge pull request #1513 from sylvestre/uptime-since
...
feature(uptime): add option --since
2020-05-21 22:18:52 +02:00
Sylvestre Ledru
0a02aeda71
refactor(hostname): rely on the hostname crate ( #1517 )
2020-05-21 10:58:38 +02:00
Sylvestre Ledru
6bc9b38fa9
fix(cp): Remove an unused dep to the getops crate
2020-05-17 12:09:55 +02:00
Sylvestre Ledru
719f2bf8ae
feature(uptime): add option --since
...
For this, I:
* moved from getops to clap
* remove the millisecond maths
2020-05-17 11:50:08 +02:00
Sylvestre Ledru
fc83024ebe
refactor(df): use number_prefix like 'ls' instead of doing the display by hand
2020-05-03 13:29:55 -05:00
Sylvestre Ledru
d5228b5a64
feat(df) add 'df' uutil
2020-04-28 13:05:55 -05:00
Sylvestre Ledru
fed240d817
Use uucore from uutils
2020-04-15 00:01:21 +02:00
Roy Ivy III
f55fd8ab05
build/deps ~ checkpoint project dependencies
2020-04-14 13:52:08 -05:00
Roy Ivy III
e89421419d
fix forced MinSRV increase (using locked 'backtrace' version)
...
- hotfix transitive bug in 'failure' forcing MinSRV increase to rust v1.33.0 by pinning 'backtrace' to <= 0.3.31
.# [why]
'failure' was using 'backtrace' `version = "0.3.3"`, which by semantic version
auto-upgrade was pulling in 'backtrace' > v0.3.30 (specifically, v0.3.40 most
recently). 'backtrace' v0.3.31 introduces use of `#[cfg(target_vendor = ...)]`
which requires rust v1.33.0. So, 'backtrace' is forcing an upgrade of MinSRV
to rust v1.33.0 with the change from backtrace v0.3.30 to backtrace v0.3.31.
Technically, by being less than v1.0.0, 'backtrace' has no semantic version
requirement. And there is debate about whether increasing MinSRV is a semantic
change. But, in my strong opinion, breaking our MinSRV statement is definitely
a semantic change.
* ref: <https://github.com/rust-lang/rust/blob/master/RELEASES.md >
2020-04-11 18:50:10 -05:00
Roy Ivy III
3ae3d11a33
upgrade nix (0.13.0 => 0.13.1); fixes arm build failure
2020-04-11 18:50:09 -05:00
Xavier L'Heureux
63f3f78bda
Update the dependencies for redox compilation
2019-09-28 09:29:22 -04:00
dependabot-preview[bot]
03e0bef9c2
build: [security] bump smallvec from 0.6.9 to 0.6.10
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 0.6.9 to 0.6.10. **This update includes security fixes.**
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 22:39:48 +00:00
dependabot-preview[bot]
427381fd87
build: bump aho-corasick from 0.6.10 to 0.7.3
...
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick ) from 0.6.10 to 0.7.3.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases )
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.6.10...0.7.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-21 07:17:27 +00:00
Alex Lyon
33a112d64b
Merge pull request #1400 from uutils/dependabot/cargo/num_cpus-1.10.1
...
build: bump num_cpus from 1.10.0 to 1.10.1
2019-06-18 09:25:35 -07:00
dependabot-preview[bot]
4b5dbcf995
build: bump num_cpus from 1.10.0 to 1.10.1
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.10.0...v1.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-18 13:21:47 +00:00
dependabot-preview[bot]
642a2a4ecb
build: bump memchr from 1.0.2 to 2.2.0
...
Bumps [memchr](https://github.com/BurntSushi/rust-memchr ) from 1.0.2 to 2.2.0.
- [Release notes](https://github.com/BurntSushi/rust-memchr/releases )
- [Commits](https://github.com/BurntSushi/rust-memchr/compare/1.0.2...2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 16:21:06 +00:00
Alex Lyon
8575512895
Merge pull request #1389 from uutils/dependabot/cargo/glob-0.3.0
...
build: bump glob from 0.2.11 to 0.3.0
2019-06-17 09:18:43 -07:00
Alex Lyon
4151323830
Merge pull request #1385 from uutils/dependabot/cargo/libc-0.2.58
...
build: bump libc from 0.2.56 to 0.2.58
2019-06-17 08:27:50 -07:00
dependabot-preview[bot]
50aab8541d
build: bump glob from 0.2.11 to 0.3.0
...
Bumps [glob](https://github.com/rust-lang/glob ) from 0.2.11 to 0.3.0.
- [Release notes](https://github.com/rust-lang/glob/releases )
- [Commits](https://github.com/rust-lang/glob/compare/0.2.11...0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-15 22:35:35 +00:00
Alex Lyon
bc783edde7
Merge pull request #1388 from uutils/dependabot/cargo/byteorder-1.3.2
...
build: bump byteorder from 1.3.1 to 1.3.2
2019-06-15 15:34:20 -07:00
Alex Lyon
f1a4d5d4f7
Merge pull request #1393 from uutils/dependabot/cargo/itertools-0.8.0
...
build: bump itertools from 0.7.11 to 0.8.0
2019-06-15 15:33:56 -07:00
Alex Lyon
16daa41f38
Merge pull request #1392 from uutils/dependabot/cargo/regex-syntax-0.6.7
...
build: bump regex-syntax from 0.6.6 to 0.6.7
2019-06-15 15:33:45 -07:00
dependabot-preview[bot]
7a24f5e517
build: bump walkdir from 2.2.7 to 2.2.8
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/BurntSushi/walkdir/releases )
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.2.7...2.2.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:59:42 +00:00
dependabot-preview[bot]
e7c3d2e381
build: bump itertools from 0.7.11 to 0.8.0
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.7.11 to 0.8.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Commits](https://github.com/bluss/rust-itertools/compare/0.7.11...0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:59:16 +00:00
dependabot-preview[bot]
a0ca860f93
build: bump regex-syntax from 0.6.6 to 0.6.7
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.6.6...regex-syntax-0.6.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:59:04 +00:00
dependabot-preview[bot]
688e08127b
build: bump byteorder from 1.3.1 to 1.3.2
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:57:14 +00:00
dependabot-preview[bot]
fa73fe1c64
build: bump libc from 0.2.56 to 0.2.58
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.56 to 0.2.58.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.56...0.2.58 )
2019-06-03 13:29:25 +00:00
dependabot-preview[bot]
61a4846755
build: bump libc from 0.2.54 to 0.2.56
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.54 to 0.2.56.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.54...0.2.56 )
2019-05-31 12:31:02 +00:00
Alex Lyon
18b19715f9
env: refactor and move away from pre-1.0 Rust conventions
2019-05-13 04:03:10 -07:00
Alex Lyon
b73a664677
Split off uucore into its own repository
2019-05-12 22:42:20 -07:00
Alex Lyon
b6cd8deb6f
Switch users back to our rust-users fork to fix the build
2019-05-01 22:18:51 -07:00
Alex Lyon
b46e2289d6
uucore, yes: add zero-copy on supported platforms (only Linux currently)
2019-05-01 21:15:00 -07:00
Alex Lyon
db35eab23b
Remove git dependencies
2019-05-01 21:14:39 -07:00
Alex Lyon
220e07dc95
Test on FreeBSD using Cirrus CI and link to the Discord in the README
2019-05-01 21:14:25 -07:00
dependabot[bot]
08ec78b634
build: bump libc from 0.2.51 to 0.2.53
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.51 to 0.2.53.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.51...0.2.53 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 21:06:56 +00:00
dependabot[bot]
2d55e5ca85
build: bump filetime from 0.2.4 to 0.2.5
...
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/alexcrichton/filetime/releases )
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.4...0.2.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-24 07:26:10 +00:00
dependabot[bot]
32325da059
Bump rand from 0.5.5 to 0.6.5
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.5.5 to 0.6.5.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.5.5...0.6.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-23 17:39:22 +00:00
dependabot[bot]
9fc716d1b8
Bump lazy_static from 1.2.0 to 1.3.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.2.0...1.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-06 01:59:58 +00:00
dependabot[bot]
b23dab945c
Bump onig from 3.1.1 to 3.2.2
...
Bumps [onig](https://github.com/iwillspeak/rust-onig ) from 3.1.1 to 3.2.2.
- [Release notes](https://github.com/iwillspeak/rust-onig/releases )
- [Commits](https://github.com/iwillspeak/rust-onig/compare/v3.1.1...v3.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 23:05:19 +00:00
dependabot[bot]
b018cc45de
Bump libc from 0.2.42 to 0.2.51
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.42 to 0.2.51.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.42...0.2.51 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-29 07:30:02 +00:00
Alex Lyon
1dc7d8cb91
Merge pull request #1328 from uutils/dependabot/cargo/time-0.1.42
...
Bump time from 0.1.40 to 0.1.42
2019-02-08 11:31:07 -08:00
Alex Lyon
2fcb9e1126
Merge pull request #1329 from uutils/dependabot/cargo/lazy_static-1.2.0
...
Bump lazy_static from 1.0.1 to 1.2.0
2019-02-08 11:30:31 -08:00
Alex Lyon
502c2cda66
Merge pull request #1298 from uutils/dependabot/cargo/half-1.3.0
...
Bump half from 1.2.0 to 1.3.0
2019-02-08 11:30:08 -08:00
dependabot[bot]
31084f12c7
Bump time from 0.1.40 to 0.1.42
...
Bumps [time](https://github.com/rust-lang/time ) from 0.1.40 to 0.1.42.
- [Release notes](https://github.com/rust-lang/time/releases )
- [Commits](https://github.com/rust-lang/time/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 08:45:35 +00:00
dependabot[bot]
6d208d26c5
Bump lazy_static from 1.0.1 to 1.2.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.0.1 to 1.2.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.0.1...1.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 08:45:28 +00:00
Alex Lyon
30ef9662b3
Merge pull request #1333 from uutils/dependabot/cargo/filetime-0.2.4
...
build(deps): bump filetime from 0.2.1 to 0.2.4
2019-02-08 00:43:48 -08:00
Alex Lyon
c2fbdf60fb
Merge pull request #1301 from uutils/dependabot/cargo/rand-0.5.5
...
Bump rand from 0.4.2 to 0.5.5
2019-02-08 00:43:21 -08:00
dependabot[bot]
55c29c8a1d
build(deps): bump filetime from 0.2.1 to 0.2.4
...
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.2.1 to 0.2.4.
- [Release notes](https://github.com/alexcrichton/filetime/releases )
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.1...0.2.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 07:21:13 +00:00
Alex Lyon
f0aecf4134
Merge pull request #1300 from uutils/dependabot/cargo/aho-corasick-0.6.8
...
Bump aho-corasick from 0.6.5 to 0.6.8
2019-02-07 03:31:27 -08:00
dependabot[bot]
a8c6264023
Bump rand from 0.4.2 to 0.5.5
...
Bumps [rand](https://github.com/rust-lang-nursery/rand ) from 0.4.2 to 0.5.5.
- [Release notes](https://github.com/rust-lang-nursery/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rand/compare/0.4.2...0.5.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 08:45:30 +00:00
Alex Lyon
2d26f800de
Merge pull request #1302 from uutils/dependabot/cargo/regex-1.0.3
...
Bump regex from 1.0.1 to 1.0.3
2019-02-07 00:42:19 -08:00
Alex Lyon
313ad332fa
Merge pull request #1290 from ArniDagur/ls-formatting
...
Change `ls -l -h` formatting to match GNU ls
2019-02-07 00:12:43 -08:00
dependabot[bot]
c1480472a3
Bump regex from 1.0.1 to 1.0.3
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.0.1...1.0.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-15 07:46:09 +00:00
dependabot[bot]
58fa48b619
Bump aho-corasick from 0.6.5 to 0.6.8
...
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick ) from 0.6.5 to 0.6.8.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases )
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.6.5...0.6.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-14 09:36:23 +00:00
dependabot[bot]
a182d3d81d
Bump half from 1.2.0 to 1.3.0
...
Bumps [half](https://github.com/starkat99/half-rs ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/starkat99/half-rs/releases )
- [Changelog](https://github.com/starkat99/half-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/starkat99/half-rs/compare/v1.2.0...v1.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-14 09:35:46 +00:00
Vinzent Steinberg
fe21c4b7fd
Update to Rand 0.5 ( #1288 )
...
* factor: Update to Rand 0.5
* shuf: Update to Rand 0.5
* shred: Update to Rand 0.5
* mktemp: Update to Rand 0.5
2018-10-14 13:33:44 +04:00
Árni Dagur
3367d3d979
Switch to using rust-number-prefix from pretty-bytes
2018-09-18 22:16:34 +00:00
dependabot[bot]
19aea56351
Bump clippy from 0.0.211 to 0.0.212
...
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy ) from 0.0.211 to 0.0.212.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.211...v0.0.212 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-11 07:15:40 +00:00
Alex Lyon
65d3812311
Merge pull request #1262 from uutils/dependabot/cargo/cpp_build-0.4.0
...
Bump cpp_build from 0.3.2 to 0.4.0
2018-07-10 21:40:50 -07:00
Alex Lyon
e528c38ac8
Merge pull request #1261 from uutils/dependabot/cargo/getopts-0.2.18
...
Bump getopts from 0.2.17 to 0.2.18
2018-07-10 21:40:38 -07:00
dependabot[bot]
20a236e39b
Bump cpp_build from 0.3.2 to 0.4.0
...
Bumps [cpp_build](https://github.com/mystor/rust-cpp ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/mystor/rust-cpp/releases )
- [Commits](https://github.com/mystor/rust-cpp/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-11 01:16:49 +00:00
dependabot[bot]
0b870c065f
Bump cpp from 0.3.2 to 0.4.0
...
Bumps [cpp](https://github.com/mystor/rust-cpp ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/mystor/rust-cpp/releases )
- [Commits](https://github.com/mystor/rust-cpp/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-09 07:50:33 +00:00
dependabot[bot]
2c796811ca
Bump getopts from 0.2.17 to 0.2.18
...
Bumps [getopts](https://github.com/rust-lang/getopts ) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/rust-lang/getopts/releases )
- [Commits](https://github.com/rust-lang/getopts/compare/0.2.17...v0.2.18 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 07:17:46 +00:00
dependabot[bot]
e7d8f6b2d7
Bump clippy from 0.0.209 to 0.0.211
...
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy ) from 0.0.209 to 0.0.211.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.209...v0.0.211 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-01 19:17:17 +00:00
Alex Lyon
19253a066f
Merge pull request #1257 from uutils/dependabot/cargo/clap-2.32.0
...
Bump clap from 2.31.2 to 2.32.0
2018-07-01 12:13:52 -07:00
dependabot[bot]
bd556d9ae2
Bump aho-corasick from 0.6.4 to 0.6.5
...
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick ) from 0.6.4 to 0.6.5.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases )
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.6.4...0.6.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-28 07:26:13 +00:00
dependabot[bot]
9883d82785
Bump clap from 2.31.2 to 2.32.0
...
Bumps [clap](https://github.com/kbknapp/clap-rs ) from 2.31.2 to 2.32.0.
- [Release notes](https://github.com/kbknapp/clap-rs/releases )
- [Changelog](https://github.com/kbknapp/clap-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kbknapp/clap-rs/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-27 07:27:24 +00:00
Alex Lyon
d5e6259b4c
Merge pull request #1246 from uutils/dependabot/cargo/regex-1.0.1
...
Bump regex from 1.0.0 to 1.0.1
2018-06-25 09:24:46 -07:00
Alex Lyon
8c366cd4ea
Merge pull request #1251 from uutils/dependabot/cargo/half-1.1.1
...
Bump half from 1.1.0 to 1.1.1
2018-06-25 09:24:32 -07:00
dependabot[bot]
1ffebd1054
Bump chrono from 0.4.3 to 0.4.4
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.3...v0.4.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-25 07:25:17 +00:00
dependabot[bot]
1c38d5f97f
Bump half from 1.1.0 to 1.1.1
...
Bumps [half](https://github.com/starkat99/half-rs ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/starkat99/half-rs/releases )
- [Changelog](https://github.com/starkat99/half-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/starkat99/half-rs/compare/v1.1.0...v1.1.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-25 07:25:13 +00:00
dependabot[bot]
3e907e2a10
Bump regex from 1.0.0 to 1.0.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.0.0...1.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-20 15:39:26 +00:00
dependabot[bot]
378292cdbd
Bump clippy from 0.0.208 to 0.0.209
...
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy ) from 0.0.208 to 0.0.209.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.208...v0.0.209 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-20 07:19:23 +00:00
dependabot[bot]
0cd807c404
Bump clippy from 0.0.207 to 0.0.208
...
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy ) from 0.0.207 to 0.0.208.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.207...v0.0.208 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-19 07:25:24 +00:00
dependabot[bot]
c3423cdeff
Bump chrono from 0.4.0 to 0.4.3
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.0 to 0.4.3.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.0...v0.4.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-18 07:40:46 +00:00
Alex Lyon
f0859c8094
Merge pull request #1239 from uutils/dependabot/cargo/unicode-width-0.1.5
...
Bump unicode-width from 0.1.4 to 0.1.5
2018-06-15 09:19:39 -07:00
Alex Lyon
cbc02b8a1a
Merge pull request #1238 from uutils/dependabot/cargo/clippy-0.0.207
...
Bump clippy from 0.0.206 to 0.0.207
2018-06-15 09:18:36 -07:00
Alex Lyon
5bea2624df
Merge pull request #1237 from uutils/dependabot/cargo/regex-1.0.0
...
Bump regex from 0.2.7 to 1.0.0
2018-06-15 09:18:15 -07:00
dependabot[bot]
f007268c9c
Bump unicode-width from 0.1.4 to 0.1.5
...
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases )
- [Commits](https://github.com/unicode-rs/unicode-width/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:50 +00:00
dependabot[bot]
d5838b93dc
Bump clippy from 0.0.206 to 0.0.207
...
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy ) from 0.0.206 to 0.0.207.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.206...v0.0.207 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:45 +00:00
dependabot[bot]
be615fb7df
Bump regex from 0.2.7 to 1.0.0
...
Bumps [regex](https://github.com/rust-lang/regex ) from 0.2.7 to 1.0.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/0.2.7...1.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:38 +00:00
dependabot[bot]
8ec1060de9
Bump itertools from 0.6.5 to 0.7.8
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.6.5 to 0.7.8.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Commits](https://github.com/bluss/rust-itertools/compare/0.6.5...0.7.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:33 +00:00
Alex Lyon
aab9a8a028
Merge pull request #1216 from uutils/dependabot/cargo/bit-set-0.5.0
...
Bump bit-set from 0.4.0 to 0.5.0
2018-06-14 17:34:48 -07:00
Alex Lyon
fe51245f54
Merge pull request #1232 from uutils/dependabot/cargo/regex-syntax-0.6.1
...
Bump regex-syntax from 0.6.0 to 0.6.1
2018-06-14 09:30:15 -07:00
dependabot[bot]
4a4877264c
Bump time from 0.1.39 to 0.1.40
...
Bumps [time](https://github.com/rust-lang/time ) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/rust-lang/time/releases )
- [Commits](https://github.com/rust-lang/time/compare/0.1.39...0.1.40 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-14 07:22:03 +00:00
dependabot[bot]
ede1aa9ece
Bump regex-syntax from 0.6.0 to 0.6.1
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.6.0...regex-syntax-0.6.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-14 07:21:55 +00:00
dependabot[bot]
374fb4d4f1
Bump filetime from 0.1.15 to 0.2.1
...
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.1.15 to 0.2.1.
- [Release notes](https://github.com/alexcrichton/filetime/releases )
- [Commits](https://github.com/alexcrichton/filetime/compare/0.1.15...0.2.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 14:15:48 -07:00
dependabot[bot]
07cd07932d
Bump remove_dir_all from 0.2.0 to 0.5.1
...
Bumps [remove_dir_all](https://github.com/Aaronepower/remove_dir_all ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/Aaronepower/remove_dir_all/releases )
- [Changelog](https://github.com/Aaronepower/remove_dir_all/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Aaronepower/remove_dir_all/commits/v0.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 11:14:38 -07:00
Alex Lyon
bb27d74021
Merge pull request #1223 from uutils/dependabot/cargo/semver-0.9.0
...
Bump semver from 0.7.0 to 0.9.0
2018-06-13 07:04:37 -07:00
dependabot[bot]
2e22cbae9a
Bump quick-error from 1.2.1 to 1.2.2
...
Bumps [quick-error](https://github.com/tailhook/quick-error ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/tailhook/quick-error/releases )
- [Commits](https://github.com/tailhook/quick-error/compare/v1.2.1...v1.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 03:25:46 +00:00
dependabot[bot]
34aeb45d22
Bump semver from 0.7.0 to 0.9.0
...
Bumps [semver](https://github.com/steveklabnik/semver ) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/steveklabnik/semver/releases )
- [Commits](https://github.com/steveklabnik/semver/compare/v0.7.0...v0.9.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 03:25:03 +00:00
Alex Lyon
443f600066
Merge pull request #1228 from uutils/dependabot/cargo/walkdir-2.1.4
...
Bump walkdir from 1.0.7 to 2.1.4
2018-06-12 20:22:54 -07:00
dependabot[bot]
c985387f5f
Bump walkdir from 1.0.7 to 2.1.4
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 1.0.7 to 2.1.4.
- [Release notes](https://github.com/BurntSushi/walkdir/releases )
- [Commits](https://github.com/BurntSushi/walkdir/compare/1.0.7...2.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 23:59:05 +00:00
dependabot[bot]
be6754b7a8
Bump tempdir from 0.3.6 to 0.3.7
...
Bumps [tempdir](https://github.com/rust-lang/tempdir ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/rust-lang/tempdir/releases )
- [Commits](https://github.com/rust-lang/tempdir/compare/v0.3.6...v0.3.7 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 16:41:14 +00:00
Alex Lyon
f7d5858bdb
Merge pull request #1225 from uutils/dependabot/cargo/half-1.1.0
...
Bump half from 1.0.2 to 1.1.0
2018-06-12 09:38:55 -07:00
dependabot[bot]
9327f957bd
Bump rand from 0.3.22 to 0.4.2
...
Bumps [rand](https://github.com/rust-lang-nursery/rand ) from 0.3.22 to 0.4.2.
- [Release notes](https://github.com/rust-lang-nursery/rand/releases )
- [Changelog](https://github.com/rust-lang-nursery/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rand/compare/0.3.22...0.4.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 07:26:39 +00:00
dependabot[bot]
485507be2b
Bump half from 1.0.2 to 1.1.0
...
Bumps [half](https://github.com/starkat99/half-rs ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/starkat99/half-rs/releases )
- [Changelog](https://github.com/starkat99/half-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/starkat99/half-rs/compare/v1.0.2...v1.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 07:26:12 +00:00
dependabot[bot]
fce51cec0b
Bump bit-set from 0.4.0 to 0.5.0
...
Bumps [bit-set](https://github.com/contain-rs/bit-set ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/contain-rs/bit-set/releases )
- [Commits](https://github.com/contain-rs/bit-set/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 19:57:56 +00:00
dependabot[bot]
3eea5703bf
Bump regex-syntax from 0.5.0 to 0.6.0
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.5.0...regex-syntax-0.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 17:51:25 +00:00
dependabot[bot]
c66dd59489
Bump libc from 0.2.39 to 0.2.42
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.39 to 0.2.42.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.39...0.2.42 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 17:13:54 +00:00
dependabot[bot]
7cbe0d4ceb
Bump unindent from 0.1.2 to 0.1.3
...
Bumps [unindent](https://github.com/dtolnay/indoc ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/0.1.2...0.1.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 07:29:30 +00:00
Alex Lyon
2b063dd363
Merge pull request #1215 from uutils/dependabot/cargo/sha1-0.6.0
...
Bump sha1 from 0.2.0 to 0.6.0
2018-06-08 15:06:13 -07:00
dependabot[bot]
92727d3301
Bump sha1 from 0.2.0 to 0.6.0
...
Bumps [sha1](https://github.com/mitsuhiko/rust-sha1 ) from 0.2.0 to 0.6.0.
- [Release notes](https://github.com/mitsuhiko/rust-sha1/releases )
- [Commits](https://github.com/mitsuhiko/rust-sha1/compare/0.2.0...0.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-08 07:30:51 +00:00
dependabot[bot]
d1c18c01e9
Bump lazy_static from 1.0.0 to 1.0.1
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits/v1.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-08 07:30:48 +00:00
Alex Lyon
9b28029982
Merge pull request #1211 from uutils/dependabot/cargo/lazy_static-1.0.0
...
Bump lazy_static from 0.2.11 to 1.0.0
2018-06-07 09:08:24 -07:00
Alex Lyon
4eec57646b
Merge pull request #1210 from uutils/dependabot/cargo/winapi-0.3.5
...
Bump winapi from 0.3.4 to 0.3.5
2018-06-07 08:47:03 -07:00
Alex Lyon
13aa3ede94
Merge pull request #1207 from uutils/dependabot/cargo/clippy-0.0.206
...
Bump clippy from 0.0.143 to 0.0.206
2018-06-07 08:45:23 -07:00
Alex Lyon
c814445c38
Merge pull request #1204 from uutils/dependabot/cargo/regex-syntax-0.5.0
...
Bump regex-syntax from 0.4.2 to 0.5.0
2018-06-07 08:44:07 -07:00
dependabot[bot]
c7fa56442a
Bump clippy from 0.0.143 to 0.0.206
...
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy ) from 0.0.143 to 0.0.206.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.143...v0.0.206 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 15:41:42 +00:00
dependabot[bot]
5b5aaa03c9
Bump lazy_static from 0.2.11 to 1.0.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 0.2.11 to 1.0.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 07:25:48 +00:00
dependabot[bot]
4effea388f
Bump winapi from 0.3.4 to 0.3.5
...
Bumps [winapi](https://github.com/retep998/winapi-rs ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/retep998/winapi-rs/releases )
- [Commits](https://github.com/retep998/winapi-rs/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 07:25:43 +00:00
dependabot[bot]
d2aa1e30d2
Bump regex-syntax from 0.4.2 to 0.5.0
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.4.2...regex-syntax-0.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 01:34:32 +00:00
dependabot[bot]
516ee396de
Bump clap from 2.31.1 to 2.31.2
...
Bumps [clap](https://github.com/kbknapp/clap-rs ) from 2.31.1 to 2.31.2.
- [Release notes](https://github.com/kbknapp/clap-rs/releases )
- [Changelog](https://github.com/kbknapp/clap-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kbknapp/clap-rs/commits/v2.31.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 01:34:24 +00:00
Alex Lyon
f25d4e1114
uucore: update data_encoding and add wrap_write()
2018-05-22 09:55:05 -07:00
Alex Lyon
974f5def20
uptime: error when uptime cannot be found
2018-05-02 19:11:37 -07:00
Alex Lyon
4941604362
yes: use 16 KiB rather than 8 KiB for the buffer
2018-03-22 03:31:41 -07:00
Ian Douglas Scott
301b9002ce
Port test to Redox
2018-03-16 18:39:53 -07:00
Ian Douglas Scott
1471e95b22
Make the 'cat' utility build on Redox
2018-03-14 10:21:12 -07:00
Alex Lyon
bd557c87fb
uucore: make features opt-in rather than opt-out
2018-03-12 20:21:38 -07:00
Alex Lyon
155fea53b2
yes: switch to clap and try to decrease allocs
2018-03-12 16:27:21 -07:00
Alex Lyon
880a4973c1
Format everything using rustfmt
2018-03-12 01:20:58 -07:00
Alex Lyon
00a8b0b0f1
uucore: remove utsname.rs (and replace with platform-info)
2018-03-11 18:50:36 -07:00
Alex Lyon
0b70b151b8
hostname: refactor a bit
2018-03-07 03:34:04 -08:00
Alex Lyon
6330474b4f
hostname: add support for Windows (and maybe other systems too)
2018-03-06 16:40:08 -08:00
Alex Lyon
8ba5fae6e3
cp, tail: update winapi
2018-03-04 18:38:33 -08:00
Alex Lyon
d8e738c49b
tests: disable some chgrp tests when part of the root group
...
Some tests failed when run using Docker because they assumed the
user would never be root. This is more of a band-aid solution.
An actual fix would be to test see if something like these tests
were to succeed when the user is root.
2018-03-03 12:04:22 -08:00
Alex Lyon
79ae872b1e
Fix broken lock file
2017-12-31 00:28:16 -08:00
Alex Lyon
3eee1b9ad6
Merge pull request #1074 from Heather/pwd_lp
...
pwd: add support for -L and -P options
2017-12-30 23:53:01 -08:00
Alex Lyon
cf7582cbd2
stdbuf: make build more reliable and allow installation using Cargo
2017-12-29 23:25:51 -08:00
Alex Lyon
feaae12d0a
cp: lock winapi to 0.2 for now
2017-12-29 03:31:13 -08:00
Alex Lyon
8ed383941d
Add Sphinx documentation to generate man pages
2017-12-28 22:02:58 -08:00
Sunrin SHIMURA (keen)
ee34206520
install: allow to install a file to a file
2017-12-27 17:31:19 +09:00
Konstantin Pospelov
b33ce67d91
join: implement basic functionality
...
The basic implementation of join with some tests. The supported
options: -1, -2, -j, -a, -i.
2017-12-14 00:02:42 +03:00
Cynede
6ef16b9221
pwd: fixes for UNC paths on Windows, match instead of plain unwrap
2017-12-11 14:49:20 +04:00
Alex Lyon
de07c6218b
stdbuf: build the shared library again and fix the Makefile
2017-11-18 17:37:32 -08:00
Emiel Beinema
5d0c8895d9
hashsum: replace rustc_serialize with hex crate
2017-11-18 13:06:11 +01:00
Emiel Beinema
ff1ef82d84
hashsum: clean up and lock new dependencies
2017-11-18 13:06:11 +01:00
Ian Douglas Scott
1a28a48ca3
Merge branch 'master' into expr-regex
2017-10-01 10:09:06 -07:00
Alex Lyon
b39689ac37
rm: massive refactor
2017-07-26 23:21:23 -07:00
Joshua Miller
7dafb649d5
implement many copy flags
...
- Refactored towards extensibility
2017-07-16 19:20:07 -05:00
Joshua Miller
e8073d2596
pin dependencies
2017-07-15 15:16:09 -05:00
Arcterus
9abc3208d3
expr: implement regular expressions
2017-06-29 20:58:16 -07:00
Hiroki Noda
3a4b5ff8ed
nproc: counts CPU cores via affinity mask if available on Linux
...
* Upgrade num_cpus crate to 1.5.0.
* Use sysconf(_SC_NPROCESSORS_CONF) when `--all` query given.
2017-05-29 08:56:33 +09:00
Anthony Deschamps
f4dc03a29c
Update Cargo.lock so date will build.
2017-03-27 00:06:23 -04:00
Joshua Miller
133934f7cf
add cat support for unix domain sockets
...
- adds conditional supports for unix domain sockets
- adds unix domain socket test
- adds Results to functions, removing unwraps
- uutils `cat` used to panic on broken stdout pipes (e.g. `cat
/dev/zero | head -c1`). this is fixed in this PR
- updated to exit 0 on success, and 1 if an error occurs.
- adds docstrings
- adds an error log on printing a directory
- adds categorization of other filetypes for extensible
differentiation of behaviors
- adds OutputOptions struct to replace params for extensibility
- adds correct status code on exit
2017-01-08 19:56:35 -06:00
Alexander Batischev
f2166fed0a
tail: implement --pid. Closes #846 .
...
Kudos to zHz for helping out with Windows API part.
2016-12-22 01:32:09 +03:00
Alexander Batischev
655804cff4
tests/chmod: protect umask with a mutex
...
`test_chmod_ugoa` and `test_chmod_many_options` both change umask, which
is global state. Since tests run concurrently, this might lead to
a situation where one of the tests changes umask to a value that screws
another test's checks. To prevent this, we introduce a mutex that should
be held by any test that changes umask.
Unfortunately, there's no way to hide umask behind this mutex and
enforce its usage: programmers will have to maintain the discipline
themselves.
2016-12-19 13:14:38 +03:00
Lei Zhang
c36917b35f
Update dependencies.
...
libc v0.2.18 adds support for Fuchsia.
2016-12-14 23:29:40 -05:00
Lei Zhang
a34cd30f54
Enable compilation of ls on Fuchsia.
...
This updates the dependency of pretty-bytes to v0.2.
2016-12-14 23:29:38 -05:00
Lei Zhang
ba244794f0
Enable compilation of more on Fuchisa.
2016-12-08 13:08:17 -05:00
Lei Zhang
55470e17b5
cat no longer need extern crate libc anymore.
2016-11-30 10:57:47 -05:00
Lei Zhang
3b06a6e292
Update dependencies.
2016-11-29 12:56:30 -05:00
Lei Zhang
a529bff697
Update Cargo.lock about dependencies.
2016-11-24 11:18:36 -05:00
Wim Hueskes
99f70ba648
od: implement 16-bit floating point type
2016-09-03 21:47:36 +02:00
Wim Hueskes
d705dc46ce
od: improve/extend --help text
2016-09-02 21:24:56 +02:00
Wim Hueskes
167d7d3ca9
od: implement -w (width)
2016-09-01 00:09:45 +02:00
Wim Hueskes
5c495359c1
od: refactor: convert bytes using byteorder crate
2016-09-01 00:08:00 +02:00
Wim Hueskes
e0b7ff1953
od: implement --help and --version
2016-09-01 00:01:35 +02:00
Wim Hueskes
a900b42a1f
od: refactor: readability of expected output
...
use multiple lines in source too and use unindent crate to fix spacing
2016-09-01 00:00:52 +02:00
Alex Lyon
362cabe1a6
hashsum: implement SHAKE-128 and SHAKE-256
2016-08-30 17:33:18 -07:00
Nathan Ross
a8f5b430df
Merge pull request #935 from frewsxcv/refactor-time
...
Prefer handling `Duration` over `f32` when dealing with times.
2016-08-04 21:17:38 -04:00
Corey Farwell
3e6a560b9c
Add missing pinky entry in Cargo.lock.
2016-08-04 19:47:50 -04:00
Corey Farwell
99fda0b716
Prefer handling Duration
over f32
when dealing with times.
...
Also refactored out usage of the `time` crate in `uucore`.
2016-08-04 19:21:30 -04:00
Mark Karasek
900cd41eb6
ls improvments
...
* Add options -c, -F, -L, -l, -r, -R, -S, -t, -U, --color
* Fix options -a, -A
* Remove unused options
* Output in columns when not using -l
* Output date with -l
2016-07-28 17:41:52 -07:00
Ben Eills
fa2145bb84
Allow specification of mode strings for install
...
We now accept symbolic and numeric mode strings using the
--mode or -m option for install. This is used either when
moving files into a directory, or when creating component
directories with the -d option. This feature was designed
to mirror the GNU implementation, including the possibly
quirky behaviour of `install --mode=u+wx file dir`
resulting in dir/file having exactly permissions 0300.
Extensive integration tests are included.
This chnage required a higher libc dependency.
2016-07-13 15:29:24 +02:00
Ben Eills
e72ec4a5bb
Implement skeleton install utility
...
Add install utility skeleton source, based on
mv, including the getopts setup mirroring
GNU's `man install` documentation. Also
add a single test and build system code.
2016-07-12 20:56:21 +02:00
Smigle00
35fec95d60
arch: add new utility
...
Signed-off-by: Smigle00 <smigle00@gmail.com>
2016-07-10 00:48:10 +05:30
Joseph Crail
d8d6f99dd1
cargo: update library dependencies
2016-05-24 22:08:03 -04:00
Joseph Crail
b50fc88ead
mktemp: use tempfile crate from crates.io
2016-05-22 16:41:36 -04:00
Heather
bdc1ca7426
Merge pull request #882 from jbcrail/fix-windows-build
...
Improve Windows build
2016-05-22 16:02:03 +04:00
ibabushkin
d504ae18c9
pathchk implemented (see #841 ) ( #860 )
...
* Added pathchk
2016-05-22 15:59:57 +04:00
Joseph Crail
7ef4bb37a8
tests: consolidate into one crate
...
The main motivation is to move toward running those tests for a specific
target, that is, if a test won't run on Windows, then we shouldn't build
it. This was previously the default behavior and prevented a successful
run on AppVeyor.
I borrowed this pattern from the tests in the Cargo project.
2016-05-22 03:46:54 -04:00
Joseph Crail
cd89a6e5c7
tr: update vec_map to 0.6.0
...
Fixes #865
2016-05-14 22:56:24 -04:00
Heather
1fafde8c27
Merge pull request #845 from peschkaj/master
...
Basic implementation of ls
2016-05-01 00:56:11 +04:00
Heather
f47fafb28d
Merge pull request #830 from lucaotta/fix-788
...
Fix #788
2016-05-01 00:41:15 +04:00
Mike Swanson
c946202094
hashsum: add support for SHA-3 functions
...
Only the fixed output-size functions are supported, SHAKE128 and
SHAKE256 are not included for now.
2016-04-16 06:17:15 -07:00
Luca Ottaviano
6ded76714b
chmod: remove unused dependencies
2016-04-02 10:29:57 +02:00
Jeremiah Peschka
0bb0c40c36
Adding tests for ls. Corrected issue with ls on the present directory throwing panic!()
2016-03-25 14:25:52 -07:00
Nathan Ross
0892ad3cde
printf: add (spare C99 hex floats)
2016-02-15 00:10:30 -05:00
Joseph Crail
f75d58f1da
Update bit-set to 0.3.0.
2016-01-22 22:40:44 -05:00
Arcterus
ee669ab55b
chmod: rewrite mode parser
2016-01-04 20:00:34 -08:00
Arcterus
96817dfbc5
Fix #784
2016-01-03 23:15:19 -08:00
Sunrin SHIMURA (keen)
1525c189ee
add Cargo.lock
2015-12-29 23:31:34 +09:00