Commit graph

4516 commits

Author SHA1 Message Date
Michael Gehring
09b1162912 CString::as_slice_with_nul -> CString::as_bytes_with_nul 2015-02-22 10:06:26 +01:00
Michael Gehring
4ad3e854ac Update dependencies 2015-02-22 09:52:54 +01:00
Heather
b843b5fec4 Merge pull request #528 from ebfe/fix-build
Fix build with rust master
2015-02-13 20:58:45 +03:00
Michael Gehring
e78900e56a new plugin attribute syntax 2015-02-13 16:45:01 +01:00
Heather
c8607e79ff Merge pull request #526 from ebfe/fix-build
Fix build with rust nightly
2015-02-07 15:58:42 +03:00
Michael Gehring
6dd6ff31b3 link against the rand crate from rust-crypto/deps 2015-02-07 10:33:00 +01:00
Michael Gehring
7c617f524b Fix closure syntax 2015-02-07 10:15:16 +01:00
Michael Gehring
932ef2aa3a Update dependencies 2015-02-07 10:15:16 +01:00
Heather
71f3b1923f Merge pull request #524 from ebfe/fix-build
Fix build with rust master
2015-02-06 16:21:10 +03:00
Michael Gehring
d3ff46d0c7 Drop deprecated 'libc' feature flag 2015-02-06 14:10:07 +01:00
Michael Gehring
8021b491f6 fmt: iter::Peekable changes 2015-02-06 14:10:07 +01:00
Michael Gehring
9c75b2ddab link against the libc from rust-crypto/deps/libc 2015-02-06 14:10:07 +01:00
Michael Gehring
5e70473a2b std::path -> std::old_path 2015-02-06 13:45:45 +01:00
Heather
f5246aba3d Merge pull request #523 from ebfe/fix-build
Fix build with rust master
2015-02-04 09:11:00 +03:00
Michael Gehring
25232c3697 Fix warnings 2015-02-03 23:59:48 +01:00
Michael Gehring
3eb5a814a3 Fix most unstable feature warnings 2015-02-03 23:54:37 +01:00
Michael Gehring
db8506532e derive(Show) -> derive(Debug) 2015-02-03 22:42:36 +01:00
Michael Gehring
d89d9ca73b Various functions in std::str return Result instead of Option now 2015-02-03 22:32:30 +01:00
Michael Gehring
05709c37d6 Update dependencies 2015-02-03 21:14:42 +01:00
Michael Gehring
3158ac61b6 Merge pull request #522 from Arcterus/fix-stdbuf
Fix typo in stdbuf dependencies (fixes #521)
2015-02-01 22:22:28 +01:00
Arcterus
b01f123050 Fix typo in stdbuf dependencies (fixes #521) 2015-02-01 13:08:54 -08:00
Alex Lyon
9c0ed7236c Merge pull request #517 from keunwoo/keunwoo-fix-address-radix-20150127
od: fix --address-radix interpretation and minor cleanups
2015-02-01 12:13:37 -08:00
Heather
6b548acc6c Merge pull request #519 from ebfe/fix-build
Fix build with rust master
2015-01-29 11:26:02 +03:00
Michael Gehring
906d3e4ec5 write -> write_all 2015-01-29 08:47:43 +01:00
Michael Gehring
d187dc574b std::io -> std::old_io 2015-01-29 08:45:37 +01:00
Michael Gehring
3bff810837 Update dependencies 2015-01-29 08:17:05 +01:00
Keunwoo Lee
f6a07663e8 od: proper interpretation of -A flag
Prior to this CL, --address-radix was being used to determine the format
of the output bytes.  This was wrong: this flag controls the printing of
the address (in the POSIX spec for od, this is called the "input offset
base"), not the printing of the content bytes.
2015-01-27 21:51:28 -08:00
Keunwoo Lee
55be34a2c4 od: clean up fname usage
+ rm superfluous clone
+ rm superfluous mut variable
2015-01-27 21:51:28 -08:00
Keunwoo Lee
71bc68a987 od: rm -v alias for --version
This shortflag conflicts with --output-duplicates.
2015-01-27 21:51:28 -08:00
Keunwoo Lee
b756a57345 od: clean up parse_radix code and use site
+ Make parse_radix terser and clearer.
+ Make purpose of radix clearer at use site
  (note that the code currently completely misuses the --address-radix
  flag; this is inherited from the previous code)
+ Don't panic! inside parse_radix; instead return Result<> and let the
  caller handle errors (currently we panic, but probably we'll want to use
  some less alarming error routine); this will be more testable later as
  well.
2015-01-27 21:51:28 -08:00
Alex Lyon
2f0d8c89c9 Merge pull request #515 from keunwoo/merge-benhirsch-od-20150125
Merge benhirsch24 work on od
2015-01-27 21:24:42 -08:00
Keunwoo Lee
288179be49 address Arcterus comments on uutils/coreutils PR 515
Mostly style things.
2015-01-27 19:32:26 -08:00
Michael Gehring
d0f5523afb Merge pull request #514 from dokaptur/readme_edit
remove stdbuf and libstdbuf from TODO list
2015-01-25 20:15:04 +01:00
dokaptur
f00db372c9 remove stdbuf and libstdbuf from TODO list 2015-01-25 20:01:46 +01:00
Heather
aae7f5775e Merge pull request #511 from ebfe/stdbuf
stdbuf: fix library output name
2015-01-25 19:37:33 +03:00
Heather
3f251f3601 Merge pull request #513 from dokaptur/stdbuf_fix
stdbuf - fix issue 512
2015-01-25 19:36:49 +03:00
dokaptur
fecc81f270 stdbuf - fix issue 512 2015-01-25 15:06:41 +01:00
Michael Gehring
6a9d769269 stdbuf: fix library output name 2015-01-25 13:46:07 +01:00
Alex Lyon
61e698ff9f Merge pull request #510 from ebfe/fix-build
Fix build with rust master
2015-01-25 00:28:20 -08:00
Alex Lyon
333e58283f Merge pull request #509 from Stebalien/cleanup-wc
Cleanup wc
2015-01-25 00:27:31 -08:00
Keunwoo Lee
1954274700 od: fix warnings 2015-01-25 00:17:38 -08:00
Alex Lyon
80d79d6053 Merge pull request #508 from Stebalien/cleanup-sync
Cleanup sync.
2015-01-25 00:12:35 -08:00
Alex Lyon
5766a0f6eb Merge pull request #507 from Stebalien/cleanup-cat
Cleanup cat
2015-01-25 00:10:07 -08:00
Keunwoo Lee
a6e5deaa16 od: whitespace fix (4-space indents, 99-column) 2015-01-25 00:03:14 -08:00
Alex Lyon
bfc6d2e288 Merge pull request #469 from dokaptur/stdbuf
stdbuf - basic version
2015-01-25 00:02:43 -08:00
Keunwoo Lee
2d8e7f6dec od: fix build
Just the minimal stuff needed to make od build again.  I have restrained
myself from making more invasive changes.
2015-01-24 23:56:10 -08:00
Michael Gehring
55fed599de The serialize crate shipped with rust no longer supports base64 2015-01-25 08:31:42 +01:00
Steven Allen
03312d0bb1 Cleanup wc.
* Avoid cloning.
* Use slicing syntax.
* Use while let.
* Misc cleanup.
2015-01-25 02:29:06 -05:00
Steven Allen
be117de7e7 wc: reset current_char_count after each line. 2015-01-25 02:20:08 -05:00
Keunwoo Lee
3739c82c95 mv od/ -> src/ 2015-01-24 23:16:13 -08:00