Commit graph

1489 commits

Author SHA1 Message Date
Gil Cottle
26f45fb1e6 use latest rust-crypto for new rust master 2014-06-26 01:22:39 -04:00
Oly Mi
b44979cb19 Merge pull request #310 from alan-andrade/patch-6
drop stty
2014-06-26 07:04:26 +04:00
Alan Andrade
c2dd4c8f2a drop stty
Get rid of the in progress for stty.
2014-06-25 16:12:49 -07:00
Oly Mi
58d0d930eb Merge pull request #308 from ebfe/fix-build-master
Fix build with rust master
2014-06-25 15:27:55 +04:00
Michael Gehring
765ea7b6eb std::bool::to_bit was removed 2014-06-25 13:12:56 +02:00
Michael Gehring
b3c9fd891e Add type suffixes where necessary 2014-06-25 13:12:43 +02:00
Arcterus
e023d97821 Merge pull request #307 from ebfe/cargo
add Cargo.toml
2014-06-25 00:25:37 -07:00
Michael Gehring
9a09e2d756 add Cargo.toml 2014-06-25 07:35:03 +02:00
Arcterus
b08415afea Merge pull request #306 from redcape/regex-hashsum-check2
Fix for hashsum: fix file checking #305
2014-06-24 20:44:23 -07:00
Gil Cottle
5986b77e1c Fix typo and code formatting 2014-06-24 23:26:24 -04:00
Gil Cottle
16b569ee18 fix comment 2014-06-24 22:15:56 -04:00
Gil Cottle
978ee8cc3a Fix for hashsum: fix file checking #305
* Changed line verifications to use regular expressions.
* Added binary marker to output and start using the marker from
    the check file line as input to calc_sum
* Convert characters to lowercase before comparison in check

Gil Cottle <gcottle@redtown.org>
2014-06-24 21:42:58 -04:00
Oly Mi
f5dfa0a9b9 Merge pull request #301 from Arcterus/seq-broken-pipe
seq: fix broken pipe on Busybox test
2014-06-23 21:48:08 +04:00
Arcterus
3f06adfcbc seq: fix broken pipe on Busybox test 2014-06-23 09:53:28 -07:00
Oly Mi
d160c37d23 Merge pull request #300 from Arcterus/seq-busybox
seq: pass all Busybox tests
2014-06-23 12:44:15 +04:00
Arcterus
ac4b3b7103 seq: pass all Busybox tests 2014-06-23 01:34:39 -07:00
Oly Mi
9597dca983 Merge pull request #299 from Arcterus/hashsum-fix
uutils: fix hashsum
2014-06-23 12:02:49 +04:00
Arcterus
ca8077c2bc uutils: fix hashsum 2014-06-23 01:00:15 -07:00
Arcterus
54d0436069 Merge pull request #298 from ebfe/update-rust-crypto
Update rust-crypto
2014-06-23 00:56:15 -07:00
Michael Gehring
917fc0c545 Update rust-crypto 2014-06-23 09:54:10 +02:00
Arcterus
635117b813 Merge pull request #295 from ebfe/link
Implement link
2014-06-23 00:53:52 -07:00
Arcterus
5471d5dd4d Merge pull request #296 from ebfe/exit_status
Partial exit status cleanup
2014-06-23 00:53:35 -07:00
Michael Gehring
edd0378e70 update readme 2014-06-23 09:38:30 +02:00
Michael Gehring
dd4ace3251 Implement link 2014-06-23 09:38:30 +02:00
Michael Gehring
bb1edec74e dirname, basename, env, head, id, sync, touch: exit with status 1 on invalid arguments 2014-06-23 09:35:39 +02:00
Arcterus
fc26e0cfea Merge pull request #294 from ebfe/mkfifo
Implement mkfifo
2014-06-22 22:11:47 -07:00
Arcterus
c663a3571e Merge pull request #297 from torkve/master
hashsum and its (md5sum,sha1sum,...)
2014-06-22 22:11:16 -07:00
Vsevolod Velichko
fc9e4403df hashsum and its aliases 2014-06-23 00:27:52 +04:00
Oly Mi
154932e597 Merge pull request #293 from ebfe/comm
comm: exit with status 1 on invalid arguments
2014-06-22 18:18:04 +04:00
Michael Gehring
d97c34d0b2 Implement mkfifo 2014-06-22 14:40:02 +02:00
Michael Gehring
ea18515855 comm: exit with status 1 on invalid arguments 2014-06-22 13:57:42 +02:00
Arcterus
81a88e94d5 Merge pull request #292 from ebfe/travis
add multicall build to travis
2014-06-21 11:45:13 -07:00
Arcterus
0eddfed631 Merge pull request #291 from ebfe/cat
cat: fix build
2014-06-21 11:44:53 -07:00
Michael Gehring
abbaf244d2 add multicall build to travis 2014-06-21 17:15:29 +02:00
Michael Gehring
a76ac499b6 cat: fix build 2014-06-21 17:14:32 +02:00
Alexander Fomin
428c6ea7b5 Program name fixed 2014-06-21 16:49:11 +04:00
Oly Mi
0b89885199 Merge pull request #289 from Arcterus/gitmodules-update
Assorted fixes and improvements
2014-06-21 10:35:09 +04:00
Arcterus
1296aa3d0d seq: handle -- 2014-06-20 16:46:59 -07:00
Arcterus
f96a4311a2 seq: now passes about half of the Busybox tests 2014-06-20 16:32:43 -07:00
Arcterus
32d843f500 Merge pull request #290 from kwantam/master
fmt: correct tab support, better formatting
2014-06-20 16:27:27 -07:00
kwantam
c9ee0a3e4d fmt: correct tab support, better formatting
In brief:

- Lines no longer end with trailing whitespace.
- fixed length calculation when tabs are present
- word splitting gives more info to the line
  breaking process, which should be useful for K-P
- code cleanup here and there
- K-P is not implemented yet. That's next. There
  is some dead code in linebreak.rs that forms the
  basis for K-P.
- Performance has regressed somewhat; we're now about
  60% slower than GNU fmt (formerly about 20%), but we
  are basically on par with OpenBSD fmt.
- addressed comments from Arcterus on PR

This is a squash of the following local commits:

 1feceb0 - address comments from Arcterus on PR
 b36aa90 - use word_nchars rather than w.len() for first word
 f44a629 - proper tab handling
 4f57593 - added tab analysis info to WordInfo
 211f4a5 - pass WordInfo by ref
 80e14b9 - overhaul word splitting apparatus
 d29f2e6 - tidy up the breaking by passing arg struct pointer
 d8020df - lines blank save for prefix act as par separators
 8bd7f1e - fixed tab behavior in -u
 a2387f7 - cleaner prefix handling ; cleanup ; prep for K-P
2014-06-20 18:59:45 -04:00
Arcterus
fc7f291a68 echo: check argument length when parsing options 2014-06-20 15:12:08 -07:00
Arcterus
b3f83378b7 Prevent rebuilding of up-to-date utilities 2014-06-20 14:50:32 -07:00
Arcterus
5b8e359a5f Change md5sum/rust-crypto to deps/rust-crypto 2014-06-20 14:37:14 -07:00
Arcterus
eb5f199c8f Fix build dependencies in the Makefile 2014-06-20 14:31:55 -07:00
Arcterus
3d139aecc2 Merge pull request #286 from ebfe/uutils
uutils: add md5sum
2014-06-20 12:27:24 -07:00
Oly Mi
0b3c6552ef Merge pull request #287 from ebfe/remove-bytes
Remove use of bytes!()
2014-06-20 18:32:20 +04:00
Michael Gehring
3c2831835e Remove use of bytes!() 2014-06-20 15:15:51 +02:00
Alexander Fomin
9c6d85a4ae Crate name fixed 2014-06-20 17:01:00 +04:00
Michael Gehring
63825f96d5 uutils: add md5sum 2014-06-20 14:49:49 +02:00