Commit graph

2096 commits

Author SHA1 Message Date
dokaptur
5aa68eb716 printing version unified and tests 2015-05-30 13:48:53 +02:00
dokaptur
ea7df03c0a initial ptx commit 2015-05-30 09:35:28 +02:00
Heather
c7aa7e041f Merge pull request #627 from jbcrail/refactor-tests
Move helper methods for tests to separate module.
2015-05-30 08:19:33 +03:00
Heather
6116415c07 Merge pull request #628 from jbcrail/flush-stdout
Flush pending stdout writes.
2015-05-30 08:15:56 +03:00
Joseph Crail
17e732f0fd Flush pending stdout writes. 2015-05-29 13:51:11 -04:00
Joseph Crail
edb3295303 Move helper methods for tests to separate module. 2015-05-29 13:47:00 -04:00
Heather
f84d5462a3 Merge pull request #625 from jbcrail/add-base64-tests
Add tests for base64.
2015-05-29 07:57:35 +03:00
Heather
b4d36cd228 Merge pull request #626 from jbcrail/upgrade-regex-cargo
Upgrade regex cargo.
2015-05-29 07:57:19 +03:00
Joseph Crail
1be9c41105 Upgrade regex cargo. 2015-05-29 00:50:32 -04:00
Joseph Crail
2bde7872c5 Add tests for base64. 2015-05-28 23:25:13 -04:00
Joseph Crail
1c405d9c91 Remove duplicate header in error messages. 2015-05-28 23:23:54 -04:00
Joseph Crail
eb2247fc1c Merge pull request #623 from ctjhoa/master
Fix hostname
2015-05-27 20:35:09 -04:00
Camille TJHOA
72d8ab0506 Fix hostname 2015-05-27 23:55:25 +02:00
Joseph Crail
0bbefa913e Merge pull request #622 from himikof/fix-env
Fix `env -` option handling case
2015-05-26 18:45:54 -04:00
Nikita Ofitserov
abd3e1e8e4 Fix 'env -' case 2015-05-27 00:51:14 +03:00
Nikita Ofitserov
c32e21fc01 Add a test for the 'env -' case 2015-05-27 00:49:50 +03:00
Heather
bff831f376 Merge pull request #621 from jbcrail/standardize-name-version
Standardize display of utility name and version.
2015-05-25 22:10:08 +03:00
Joseph Crail
28e00cbd78 Standardize display of utility name and version. 2015-05-25 14:50:15 -04:00
Heather
a1017a24dd Merge pull request #620 from jbcrail/add-manual-flush
Add macro to manually flush a writer.
2015-05-23 10:45:55 +03:00
Joseph Crail
d558e37288 Add macro to manually flush a writer.
I built upon the pipe_* macros, adding pipe_flush!() to flush an
optional writer (default to stdout if no writer is given).
2015-05-23 03:31:42 -04:00
Heather
9ee7d96e5b Merge pull request #619 from jbcrail/replace-utf8-ellipsis
Replace UTF-8 ellipsis character w/ ASCII periods.
2015-05-23 09:06:56 +03:00
Heather
825444aa13 Merge pull request #618 from jbcrail/fix-flush-bug-for-echo
Fix failure to print stdout for echo.
2015-05-23 09:06:38 +03:00
Joseph Crail
2ef14832dc Replace UTF-8 ellipsis character w/ ASCII periods. 2015-05-23 01:56:33 -04:00
Joseph Crail
07d57ac109 Fix failure to print stdout for echo.
Upon program termination, pending stdout writes were not automatically
flushed. When newlines are disabled, I force a flush to stdout.
2015-05-22 21:49:33 -04:00
Heather
98a86e60c8 Merge pull request #617 from vinipsmaker/patch-1
cat.rs: removing need for mut variable
2015-05-22 20:06:29 +03:00
Vinícius dos Santos Oliveira
c17f925b11 cat.rs: removing need for mut variable 2015-05-22 13:53:13 -03:00
Heather
ca53d2beb3 Merge pull request #616 from jbcrail/use-getopts-cargo-3
Switch to external getopts cargo (part 3).
2015-05-22 07:38:17 +03:00
Joseph Crail
496d5883a4 Switch to external getopts cargo (part 3).
I switched over to the getopts crate on crates.io, instead of Rust's
private implementation. This will allow coreutils to build for Rust 1.0.

I'm splitting the updates into several commits for easier reviewing.
2015-05-21 21:32:55 -04:00
Heather
bc3eb2af96 Merge pull request #615 from jbcrail/use-getopts-cargo-2
Switch to external getopts cargo (part 2).
2015-05-22 00:16:03 +03:00
Joseph Crail
509a35ff7a Switch to external getopts cargo (part 2).
I switched over to the getopts crate on crates.io, instead of Rust's
private implementation. This will allow coreutils to build for Rust 1.0.

I'm splitting the updates into several commits for better reviewing.
2015-05-21 15:00:34 -04:00
Heather
53dce1f243 Merge pull request #614 from jbcrail/use-getopts-cargo
Switch to external getopts cargo (part 1).
2015-05-21 12:05:49 +03:00
Joseph Crail
b4b08de42c Switch to external getopts cargo (part 1).
I switched over to the getopts crate on crates.io, instead of Rust's
private implementation. This will allow coreutils to build for Rust 1.0.

I'm splitting the updates into several commits for better reviewing.
2015-05-20 22:47:30 -04:00
Heather
d6837c8709 Merge pull request #610 from jbcrail/tweak-travis
Add separate builds for stable and nightly.
2015-05-20 07:16:45 +03:00
Heather
90af62721e Merge pull request #611 from jbcrail/rm-unstable-regex-macros
Remove unstable regex macros.
2015-05-20 07:16:05 +03:00
Joseph Crail
a94bd0bd35 Remove unstable regex macros.
This will allow coreutils to get further along when building against
Rust 1.0.
2015-05-19 21:40:03 -04:00
Joseph Crail
7a54aa56eb Add separate builds for stable and nightly. 2015-05-19 10:24:27 -04:00
Heather
e7518b3eae Merge pull request #608 from jbcrail/rm-unstable-exit-status
Replace unstable set_exit_status() with exit().
2015-05-19 07:15:14 +03:00
Heather
ff5310a118 Merge pull request #607 from jbcrail/fix-nohup
Fix nohup.
2015-05-19 07:14:40 +03:00
Joseph Crail
7d1d307b92 Replace unstable set_exit_status() with exit().
With the 1.0 release, unstable features are causing build errors. I
replaced references to std::env::set_exit_status() with
std::process::exit().
2015-05-18 21:22:51 -04:00
Joseph Crail
430e9530d4 Fix nohup.
I upgraded to the nightly build.
2015-05-18 20:27:32 -04:00
Heather
37f35cd3f8 Merge pull request #605 from jbcrail/fix-stdbuf
Fix stdbuf.
2015-05-18 08:45:17 +03:00
Heather
b02dff807a Merge pull request #606 from jbcrail/fix-linux-build-for-mkfifo
Fix mkfifo on Linux.
2015-05-18 08:45:03 +03:00
Joseph Crail
c4d8312e6b Fix mkfifo on Linux.
The build failed because of type mismatch errors for the mode
permission.
2015-05-18 00:53:37 -04:00
Joseph Crail
a2400a272f Fix stdbuf.
The build only works on Linux at the moment.
2015-05-17 23:27:57 -04:00
Heather
fda91c492a Merge pull request #604 from jbcrail/fix-id-kill
Fix id and kill.
2015-05-17 22:47:30 +03:00
Joseph Crail
7d71dfbbf4 Fix kill. 2015-05-17 15:26:52 -04:00
Joseph Crail
c93440170d Fix id. 2015-05-17 14:59:04 -04:00
Heather
b4f061b4da Merge pull request #603 from jbcrail/update-hashsum
Update hashsum.
2015-05-17 08:14:24 +03:00
Joseph Crail
9d74bbe532 Add initial tests for hashsum. 2015-05-16 18:03:09 -04:00
Joseph Crail
1837146134 Update hashsum.
Most of the work centered around fixing lifetime issues.
2015-05-16 13:28:36 -04:00