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
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
e78900e56a
new plugin attribute syntax
2015-02-13 16:45:01 +01:00
Michael Gehring
7c617f524b
Fix closure syntax
2015-02-07 10:15:16 +01: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
5e70473a2b
std::path -> std::old_path
2015-02-06 13:45:45 +01: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
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
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
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
dokaptur
fecc81f270
stdbuf - fix issue 512
2015-01-25 15:06:41 +01: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
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
Steven Allen
903bb00189
Cleanup sync.
...
* Use slicing syntax.
* Don't unnecessarily use the match binding syntax.
2015-01-25 01:46:55 -05:00
Steven Allen
7647a37bf8
Cleanup cat: use slicing syntax.
2015-01-25 01:21:31 -05:00
Steven Allen
8a101b2203
Cleanup cat: use while let instead of loop then match.
2015-01-24 22:53:27 -05:00
Steven Allen
9326dbc3de
Cleanup cat: open files in for loop header.
2015-01-24 22:52:40 -05:00
Steven Allen
e7f80e9826
Cleanup yes
...
Mostly avoid copying where not needed.
2015-01-24 22:42:16 -05:00
dokaptur
ec4182fcf1
stdbuf - install multicall
2015-01-25 00:39:30 +01:00
dokaptur
b71df2fd78
prepare_libs in Makefile
2015-01-25 00:39:30 +01:00
dokaptur
563c9ab34e
preloading improvement
2015-01-25 00:39:06 +01:00
dokaptur
32259aadda
basic version 1
2015-01-25 00:38:20 +01:00
Heather
6c897dc76c
Merge pull request #504 from ebfe/slice
...
Replace deprecated slice_{to,from} with slicing syntax
2015-01-24 18:47:46 +03:00
Michael Gehring
fbdf04c072
Replace deprecated slice_{to,from} with slicing syntax
2015-01-24 10:46:28 +01:00
Michael Gehring
78408fda78
sort: fix build
2015-01-24 09:50:33 +01:00
Michael Gehring
cb1dd390bb
base64, cp: fix build
2015-01-24 03:56:37 +01:00
Tom Genco
406735e6f2
uname: change trim_left() to trim()
...
Otherwise all options have a space at the end, causing a warning in grml zsh config, and who knows what else.
2015-01-13 15:04:21 -07:00
Haitao Li
a6750e90a7
Implement readlink
...
Fixes #111
2015-01-13 22:21:23 +11:00
Arcterus
41cc268df8
Make dependency info usable for test, sync, true, and false
2015-01-10 13:00:15 -08:00
Michael Gehring
58bd009a9e
Remove unused imports
2015-01-10 20:44:57 +01:00
Michael Gehring
6aef8cc38c
Don't link to regex_macros
2015-01-10 20:44:56 +01:00
Michael Gehring
4d6cbfa393
Disable unstable warnings for now
2015-01-10 20:44:56 +01:00
Arcterus
e142b4f23e
env, expand, fmt: fix build
2015-01-10 20:40:38 +01:00
Michael Gehring
8e430d6952
nl: fix build
2015-01-10 20:40:38 +01:00
Michael Gehring
782fad4667
int/uint -> isize/usize
2015-01-10 20:40:37 +01:00
Michael Gehring
cc854698d7
relpath, tee, split, unexpand: fix build
2015-01-10 20:40:37 +01:00
Michael Gehring
8d889fc5c9
uptime, users, whoami: fix build
2015-01-10 20:40:37 +01:00
Michael Gehring
8cd7295a19
test, tr, tsort: fix build
2015-01-10 20:40:37 +01:00
Michael Gehring
fecd3433cb
id, nice, nohup: fix build
2015-01-10 16:54:45 +01:00
Michael Gehring
f2d49f4bb6
Make uumain return isize everywhere
2015-01-10 14:07:39 +01:00
Michael Gehring
c223e28fac
uniq, wc: fix build
2015-01-10 13:49:40 +01:00
Michael Gehring
7860ef275c
sort, sum tac: fix build
2015-01-10 13:49:18 +01:00
Michael Gehring
5402e69923
mkfifo, paste, shuf: fix build
2015-01-10 13:48:42 +01:00
Michael Gehring
c62bacb9fa
hashsum: fix build
2015-01-10 13:18:15 +01:00
Arcterus
a12fd89cb2
chmod, chroot, comm: fix build
2015-01-09 16:51:51 -08:00
Arcterus
4e0360c495
base64, cat: fix build for Rust alpha
2015-01-09 16:16:05 -08:00
Michael Gehring
b50a2639a9
base64, du, realpath: fix build
2015-01-10 00:13:16 +01:00
Michael Gehring
cb87309e92
cut: fix build
2015-01-09 14:09:12 +01:00
Michael Gehring
0a757b957f
Partially fixed build with rust master
...
String::from_raw_buf removal
Deprecated closure syntax
cmp::Ord -> cmp::Ordering
Vec::from_{elem,fn} removal
rand::TaskRng -> rand::ThreadRng
PtrExt::is_not_null removal
to_c_str removal
2015-01-09 09:41:49 +01:00
Michael Gehring
9aef41b8f6
<< precedence
2015-01-08 14:50:03 +01:00
Michael Gehring
f580275ef8
s/mod/self/ in imports
2015-01-08 14:50:03 +01:00
Michael Gehring
48f129ea49
std::char::UnicodeChar removal
2015-01-08 14:50:03 +01:00
Michael Gehring
b8a96da278
into_string -> to_string
2015-01-08 14:50:03 +01:00
Michael Gehring
fd69e7fa4a
str::from_str removal/changes
2015-01-08 14:50:03 +01:00
Michael Gehring
7d8053561e
Use new array syntax
2015-01-08 14:50:03 +01:00
Michael Gehring
074a58eafd
deriving is now called derive
2015-01-08 14:50:03 +01:00
Michael Gehring
1b381f49fa
Use new macro feature flags/attributes
2015-01-08 14:50:02 +01:00
Timofey Misarenkov
59710d5ff8
NULL-pointer check.
2015-01-08 00:32:30 +03:00
Michal Piekarz
61c2086310
Added verbose for split - prints created file name
2015-01-04 23:33:32 +01:00
Michal Piekarz
93c3f02600
C flag for split
2015-01-04 23:33:32 +01:00
Michal Piekarz
7945e3d51c
Removed deprecated calls.
2015-01-04 23:33:32 +01:00
Michal Piekarz
dbd1d34ba3
Added SIZE multiplier suffixes.
2015-01-04 23:33:32 +01:00
Stephan Jaensch
605c107258
Fix deprecation warnings with latest rust nightly
...
- from_str() -> parse()
- into_string() -> to_owned()
2015-01-01 12:14:28 +01:00
Florian Hahn
aff936da99
Update for recent std::ascii changes
2014-12-30 20:11:06 +01:00
Headless
0f2e20cc49
fix char_len warnings
...
3c60bc02ce/src/libcollections/str.rs (L1101)
2014-12-28 14:09:50 +03:00
Santiago Lapresta
d142168365
Fix deprecation warnings on latest nightlies
2014-12-25 19:55:32 +01:00
Haitao Li
b9e0ce0b1c
Fix build with rustc master
...
* core::slice::Items renamd to core::slice::Iter
* from_utf8 returns Result instead of Option
* Unique type per fn item. Rust Issue #19891
2014-12-24 20:55:32 +11:00
Haitao Li
75425f1fe8
Fix build with rust nightly Dec-20-2014
2014-12-22 12:27:03 +11:00
Haitao Li
8cb5d03d0c
Fix a mismatched types compilation error
2014-12-22 10:54:29 +11:00
Haitao Li
872bb0010a
regex::Captures::{at,name} returns Option
2014-12-22 10:54:29 +11:00
Haitao Li
5cfde0dcb9
Avoid shadowing lifetime names
2014-12-22 10:54:29 +11:00
Haitao Li
9b67c372b2
Add semicolons to item macros
2014-12-22 10:54:29 +11:00
Haitao Li
0a64dbfe8b
Bump rust-crypto to v0.2.2
2014-12-22 10:54:26 +11:00
Arcterus
9ef8ea486b
Implement nice ( resolves #215 )
2014-12-15 21:00:16 -08:00
Arcterus
b8d67ea672
Update for latest Rust
2014-12-15 15:45:31 -08:00
Michael Gehring
842cc8b14c
Fix build with rust master
2014-12-11 07:51:37 +01:00
Cynede
9aec1611df
Merge pull request #466 from Arcterus/master
...
base64: fix build (assuming rust-lang/rust#19594 is merged)
2014-12-10 08:19:20 +03:00
Arcterus
798a873b59
Fix build for latest Rust
2014-12-08 23:45:03 -08:00