summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-01Add SigAction gettersHenning Ottesen
* SigAction::flags() * SigAction::mask() * SigAction::handler()
2017-05-17Merge #556bors[bot]
556: Add various pty functions r=asomers * grantpt * posix_openpt * ptsname/ptsname_r * unlockpt I've refactored my code to use these functions and they work correctly at least in the non-error case. Only issue is what to do for failure in `ptsname` when converting strings. This should effectively never happen. I think maybe adding an `Unknown` to the `Error` type and returning that might be useful.
2017-05-16Add various pty functionsBryant Mairs
* grantpt * ptsname/ptsname_r * posix_openpt * unlockpt
2017-04-21Merge #592bors[bot]
592: remove test warnings r=Susurrus
2017-04-21remove test warningsking6cong
2017-04-18Merge #589bors[bot]
589: Raise the bors timeout to four hours r=Susurrus The timeout is, by default, one hour. `nix` builds take about that long, sometimes longer, sometimes shorter, making builds flaky.
2017-04-18Raise the bors timeout to four hoursMichael Howell
bors's timeout should always be twice a long as the test suite takes. This is to allow Travis to fast-fail a test; if one of the builders immediately reports a failure, then bors will move on to the next batch, leaving the slower builders to work through the already-doomed run and the next one. At the time this was written, nix's test suite took about an hour to run. The timeout was raised to four hours, instead of two, to give nix room to grow and time for delays on Travis's end.
2017-04-17Merge #564bors[bot]
564: select.rs FdSet: method `contains' should not mutate anything r=posborne The method does not change anything, so I updated the type signature. Tests pass.
2017-04-17Merge #585bors[bot]
585: Add v0.8.1 to changelog r=Susurrus
2017-04-17Merge #588bors[bot]
588: ci: Allow skipping tests when running under CI r=asomers This adds `--cfg=travis` to builds under CI, allowing tests to be conditionally ignored by marking them with #[cfg_attr(travis, ignore)] refs #568
2017-04-16ci: Allow skipping tests when running under CIKamal Marhubi
This adds `--cfg=travis` to builds under CI, allowing tests to be conditionally ignored by marking them with #[cfg_attr(travis, ignore)] refs #568
2017-04-16Add v0.8.1 to changelogKamal Marhubi
v0.8.1 was released to fix the broken build on FreeBSD. It is v0.8.0 with a859ee3 cherry-picked. refs #567
2017-04-16Self should not be mutated (pull request 564)diekmann
2017-04-16Merge #581bors[bot]
581: Fix syntax for changelog and add missing feature r=Susurrus
2017-04-16Merge #582bors[bot]
582: Add AioCb::from_boxed_slice r=posborne The existing AioCb constructors work for simple programs where everything is stored on the stack. But in more complicated programs the borrow checker can't prove that a buffer will outlive the AioCb that references it. Fix this problem by introducting AioCb::from_boxed_slice, which takes a reference-counted buffer. Fixes #575
2017-04-15Add AioCb::from_boxed_sliceAlan Somers
The existing AioCb constructors work for simple programs where everything is stored on the stack. But in more complicated programs the borrow checker can't prove that a buffer will outlive the AioCb that references it. Fix this problem by introducting AioCb::from_boxed_slice, which takes a reference-counted buffer. Fixes #575
2017-04-16Merge #579bors[bot]
579: tests should protect concurrent access to signal handlers r=asomers Adds a mutex to protect access to SIGUSR2 signal handlers by the AIO tests. Fixes #578
2017-04-16Merge #584bors[bot]
584: Replace homu with bors-ng r=posborne @homu has served us well, but is unmaintained. @bors will serve us in its stead. Fixes https://github.com/nix-rust/nix/issues/580
2017-04-15Replace homu with bors-ngKamal Marhubi
@homu has served us well, but is unmaintained. bors will serve us in its stead. Fixes https://github.com/nix-rust/nix/issues/580
2017-04-15Fix syntax for changelog and add missing featureBryant Mairs
2017-04-15tests should protect concurrent access to signal handlersAlan Somers
Adds a mutex to protect access to SIGUSR2 signal handlers by the AIO tests. Fixes #578
2017-04-16Auto merge of #536 - nix-rust:new-ci/master, r=kamalmarhubiHomu
Merge New CI Infrastructure Based on Trust/Cross Into Master See discussion on https://github.com/nix-rust/nix/pull/528. This PR is to track the final decision of whether we are ready to merge the new CI infrastructure (and related bug fixes) back into master. Initially, we know that the branch is not ready to merge (as there are still failing tests). This PR acts as a single point of reference to get the current status of how close we are to merging things back into master. A number of issues with "TRUST CI" in the title have been created for the work that appears to be required to get us to the point where this branch can be merged.
2017-04-15List supported targets in the READMEBryant Mairs
2017-04-15Update changelogBryant Mairs
Some entries were erroneously listed under the 0.8.0 release.
2017-04-15Increase minimum supported Rust version.Bryant Mairs
We need to raise it up to 1.13 because our test infrastructure requires it
2017-04-15Allow failures for currently failing targetsBryant Mairs
2017-04-15Use min Rust version but test beta and nightlyBryant Mairs
2017-04-09ci: remove thread parallelismPaul Osborne
Fixes https://github.com/nix-rust/nix/issues/529, also refer to https://github.com/nix-rust/nix/issues/529 which first added this for the old CI infrastructure. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2017-04-09Updated changelog.Zac Berkowitz
2017-04-09Split socket consts. test across ARM arch.Zac Berkowitz
2017-04-09Removed tests on ARM for non-existant constants.Zac Berkowitz
2017-04-09Removed unused libc imports in termios.Zac Berkowitz
2017-04-09Added missing syscalls for powerpcZac Berkowitz
2017-04-09Re-enabled errorno test for not_android.Zac Berkowitz
2017-04-09Fixed failing ioctl tests.Zac Berkowitz
2017-04-09Removed some socket constants from arch=armZac Berkowitz
2017-04-09Fixed constants for MIPSZac Berkowitz
2017-04-09Fixes nix-rust/nix#532Zac Berkowitz
2017-04-09Switched bsd speed_t def. to libc::speed_tZac Berkowitz
2017-04-09Removed commented `cargo run` targets in CIZac Berkowitz
2017-04-09Disable tests on BSD targets.Zac Berkowitz
2017-04-09Removed 'cargo run' directives from ci script.Zac Berkowitz
2017-04-09Fixed ci/script.sh to run tests when desired.Zac Berkowitz
2017-04-09Removed arches.Zac Berkowitz
Removed: - mips64-unknown-linux-gnu - mips64el-unknown-linux-gnu - arm-unknown-linux-musleabi
2017-04-09Added/removed CI arches.Zac Berkowitz
Added: - arm-unknown-linux-gnueabi - arm-unknown-linux-musleabi Removed: - powerpc64-unknown-linux-gnu (not suppported by nix) - mips64el-unknown-linux-gnu (not suppported by nix) - mipsel-unknown-linux-gnu (not suppported by nix)
2017-04-09Enabled tests for BSD. Added mipsel & mips64elZac Berkowitz
2017-04-09Updated .travis.ymlZac Berkowitz
2017-04-09Removed appveyor -- this is a unix only lib.Zac Berkowitz
2017-04-09Added ci templates from `trust` v0.1.1Zac Berkowitz
2017-04-09Removed old ci infrastructure.Zac Berkowitz