Commit graph

1232 commits

Author SHA1 Message Date
Heather
34161ba8c5 Merge pull request #525 from ebfe/fix-warnings
Fix (some) deprecation warnings
2015-02-22 22:08:22 +03:00
Michael Gehring
a5547507af c_str_to_bytes -> CStr::from_ptr 2015-02-22 13:59:57 +01:00
Michael Gehring
eb6594cc91 CString::from_slice -> CString::new 2015-02-22 13:59:57 +01:00
Michael Gehring
3993a2bf90 Update feature flags 2015-02-22 13:59:57 +01:00
Michael Gehring
26568d2021 Update to the new integer suffixes 2015-02-22 13:59:57 +01:00
Michael Gehring
8098d172d7 Update slicing syntax ([] -> [..]) 2015-02-22 13:59:12 +01:00
Michael Gehring
9ae9a48387 feature io -> old_io, path -> old_path 2015-02-22 13:59:12 +01:00
Michael Gehring
4e79a82f46 fix feature warnings 2015-02-22 13:59:12 +01:00
Michael Gehring
50301e63ee env::args return Strings now 2015-02-22 13:59:12 +01:00
Michael Gehring
ec9c8659ea Drop unused imports 2015-02-22 13:59:12 +01:00
Michael Gehring
910fd61070 os::args -> env::args 2015-02-22 13:59:12 +01:00
Michael Gehring
e7b647171f os::set_exit_status(isize) -> env::set_exit_status(i32) 2015-02-22 13:59:12 +01:00
Heather
19bb2e1ccd Merge pull request #530 from ebfe/fix-build
Fix build with alpha 2
2015-02-22 13:25:01 +03:00
Michael Gehring
4d62e8289a collections::BitvSet -> collections::BitSet 2015-02-22 10:31:49 +01:00
Michael Gehring
b6ff2aeeae collections::RingBuf -> collections::VecDeque 2015-02-22 10:29:28 +01:00
Michael Gehring
80f9ef08d2 various integer type changes 2015-02-22 10:27:16 +01:00
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