Commit graph

1421 commits

Author SHA1 Message Date
Danilo Bargen
0e7223cfb0 Handle null pointer return value for getpwuid on Linux 2015-09-18 11:12:39 +02:00
Danilo Bargen
a8f9b40674 Return Result<String, String> from getusername 2015-09-18 11:12:39 +02:00
Heather
fe0a49f7a4 Merge pull request #671 from ebfe/cargo-build
Basic Cargo based build
2015-09-17 16:42:43 +03:00
Heather
44d3e95008 Merge pull request #686 from czinck/sort-enhance
Enhanced numeric sort and new human readable sort
2015-08-31 07:58:53 +03:00
Christian Zinck
f31192d46a enhanced numeric sort and new human readable sort 2015-08-30 20:06:33 -04:00
Michael Gehring
5411252d3a touch: add filetime dependency 2015-08-28 21:12:30 +02:00
Michael Gehring
9d8abbcb06 Basic Cargo build
Builds the uutils multicall binary containing all utils (except stdbuf)
by default. To only build a subset
    `cargo --no-default-features --features <utils>`
can be used.

Whats missing is building the standalone binaries and a mechanism to
automatically disable the build of unix only utils on windows.
2015-08-28 21:12:30 +02:00
Michael Gehring
314a254d1f Merge pull request #685 from hexsel/depend-on-nightly-officially
Moved code officially to run on nightly since it's a dependency
2015-08-26 21:06:04 +02:00
Gustavo Hexsel
f8df842dfb Moved code officially to run on nightly since it's a dependency 2015-08-26 12:50:07 -04:00
Heather
239443a253 Merge pull request #683 from samfoo/fix-futures-in-du
Fix build by making du not use futures
2015-08-24 10:10:29 +03:00
Sam Gibson
c06b8218f7 Fix build by making du not use futures
Use channels and push them into a vector instead. Code remains largely the same.
2015-08-24 18:57:09 +12:00
Heather
1b58f5aaec Merge pull request #680 from jbcrail/add-tests-for-sums
Add tests for cksum/sum.
2015-08-14 08:14:09 +03:00
Joseph Crail
26f0ec8379 Fix difference w/ GNU coreutils' sum.
When using the SYSV algorithm and reading from standard input, the GNU
coreutils implementation does not output the filename, in this case "-".
2015-08-14 00:10:15 -04:00
Joseph Crail
04014d314c Add tests for cksum/sum. 2015-08-13 21:08:31 -07:00
Heather
809affff6c Merge pull request #678 from jbcrail/stabilize-4
Remove unstable features from mv/touch.
2015-08-12 08:13:40 +03:00
Heather
f98a704604 Merge pull request #679 from jbcrail/stabilize-5
Remove unstable features from ptx.
2015-08-12 08:12:24 +03:00
Joseph Crail
e9b008cf70 Remove unstable features from ptx.
I cleaned up string references, whitespace, and use of unstable
features. I also added a comment about reverting to connect, making
others aware that the method should be replaced by join after 1.3.
2015-08-12 00:01:10 -04:00
Joseph Crail
cc4cf6049e Add tests for touch. 2015-08-11 21:45:11 -04:00
Joseph Crail
eff8851cf9 Fix bug when setting time w/o year. 2015-08-11 21:45:11 -04:00
Joseph Crail
e455ba5de1 Replace unstable set_file_times w/ external crate. 2015-08-11 21:45:11 -04:00
Joseph Crail
9d84890c89 Convert to byte vec w/o using deprecated methods. 2015-08-11 21:45:11 -04:00
Heather
8943c749f3 Merge pull request #677 from jbcrail/add-comments
Add comments for deprecated connect().
2015-08-10 08:19:24 +03:00
Joseph Crail
480019f5b3 Add comments for deprecated connect().
We are using connect() instead of join() until Rust 1.3 is stable.
Currently, connect() is just a thin wrapper over join(). Keeping the
deprecated method allows us to build on all releases.
2015-08-09 23:12:23 -04:00
Heather
878ce3dfbe Merge pull request #676 from jbcrail/stabilize-3
Backport and/or replace unstable features.
2015-08-08 17:11:09 +03:00
Heather
941b93b61d Merge pull request #675 from jbcrail/update-travis
Update Travis to use stable.
2015-08-08 17:10:40 +03:00
Joseph Crail
83f842d8c9 Update Travis to use stable. 2015-08-08 03:56:45 -04:00
Joseph Crail
43d3834880 Backport and/or replace unstable features.
I removed the unstable slice_patterns and str_char features. I also used
the deprecated connect() method, instead of join().
2015-08-08 03:53:21 -04:00
Heather
8bb6ef4791 Merge pull request #672 from jbcrail/add-beta-to-travis
Add support for beta release to Travis.
2015-08-01 08:44:31 +03:00
Joseph Crail
fcc0577666 Allow beta build to fail. 2015-07-31 23:54:29 -04:00
Joseph Crail
e090a314a9 Add support for beta release to Travis. 2015-07-31 23:50:17 -04:00
Heather
7c69b3a1fd Merge pull request #670 from jbcrail/stablilize-2
Replace more unstable methods.
2015-08-01 02:12:45 +03:00
Joseph Crail
b089831ea0 Switch over to internal canonicalize().
The method, fs::canonicalize(), is unstable and can't be used for stable
builds. We already have our own implementation of canonicalize(), which
supports more options than the Rust library implementation.
2015-07-31 18:55:33 -04:00
Michael Gehring
b2b1d62482 Merge pull request #669 from fahlmant/README-update
Updated README to reflect nightly build dependency
2015-07-31 23:22:12 +02:00
fahlmant
5d42ea0ea9 Updated README to reflect nightly build dependency 2015-07-31 14:18:38 -07:00
Joseph Crail
4a331897cb Replace unstable VecMap w/ external crate. 2015-07-31 17:05:22 -04:00
Michael Gehring
9fcd6e617b Merge pull request #668 from jbcrail/stabilize
Backport and/or replace unstable features.
2015-07-31 22:47:18 +02:00
Michael Gehring
4ea0fa8496 Merge pull request #667 from jbcrail/update-travis
Update Travis to build using stable (1.1).
2015-07-31 22:33:09 +02:00
Joseph Crail
4300cd5a48 Replace unstable init() method. 2015-07-31 16:21:06 -04:00
Joseph Crail
047d963a26 Remove unused feature attribute. 2015-07-31 16:21:06 -04:00
Joseph Crail
f41d5b3f8f Replace unstable fs:walk_dir() w/ external crate. 2015-07-31 16:21:06 -04:00
Joseph Crail
6ff576e300 Use non-PathExt canonicalize(). 2015-07-31 16:21:06 -04:00
Joseph Crail
f03b22a65c Stabilize several PathExt methods. 2015-07-31 16:21:06 -04:00
Joseph Crail
2a34cdf72a Update Travis to build using stable (1.1). 2015-07-31 16:13:43 -04:00
Michael Gehring
8f6503383c Merge pull request #666 from krozycki/master
-f flag for uniq
2015-07-31 19:59:55 +02:00
Karol Rozycki
b025b44806 -f flag for uniq 2015-07-31 19:37:40 +02:00
Michael Gehring
0b9433ea9f Merge pull request #663 from jbcrail/rm-deprecated
Replace deprecated methods.
2015-07-31 09:08:02 +02:00
Michael Gehring
98f78ac903 Merge pull request #664 from jbcrail/add-cut-tests
Add tests for cut.
2015-07-31 09:06:21 +02:00
Joseph Crail
929474040b Add tests for cut. 2015-07-31 00:14:58 -04:00
Joseph Crail
9bc6eb4e7b Replace deprecated methods.
I replaced position_elem() and slice_chars(). I also removed an unused
feature attribute.
2015-07-30 22:21:18 -04:00
Michael Gehring
ab5a5ba9e9 Merge pull request #662 from jbcrail/replace-deprecated
Replace deprecated methods.
2015-07-27 06:44:23 +02:00