Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-06 | Reformat everything | Alex Saveau | |
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com> | |||
2022-07-10 | More docs for mqueue. | Alan Somers | |
Also, delete some dead code. It's always been dead. | |||
2022-01-22 | Better type safety for mqueue | Alan Somers | |
On some platforms, mqd_t is a pointer. That means code like the below can trigger a segfault. Fix it by defining a Newtype around mqd_t that prevents use-after-free and dangling pointer scenarios. ```rust fn invalid_mqd_t() { let mqd: libc::mqd_t = std::ptr::null_mut(); mq_close(mqd).unwrap(); } ``` Also, get test coverage for mqueue in CI on FreeBSD. | |||
2021-12-27 | Added getters for the MqAttr struct | fpagliughi | |
2021-12-20 | feature-gate most Nix functions | Vincent Dagonneau | |
Using features reduces build time and size for consumer crates. By default all features are enabled. | |||
2021-09-19 | Clippy cleanup | Alan Somers | |
And this time, start running Clippy in CI | |||
2021-07-24 | Constify many functions | Alan Somers | |
Constify most functions that can be constified. The exceptions are mostly accessors for structs that have no const constructor. | |||
2021-05-13 | Use https instead of http | Ryan Zoeller | |
2021-02-15 | Port mqueue to x32 | наб | |
Test fix obtained from https://github.com/nix-rust/nix/issues/1384#issuecomment-774708486 | |||
2020-05-31 | Convert the crate to edition 2018 | Alan Somers | |
2019-11-02 | Fix a warning with the latest nightly compiler | Alan Somers | |
The latest compiler warns about unnecessary parentheses in a position that previous compilers ignored. | |||
2019-09-03 | Replace most instances of mem::uninitialized with mem::MaybeUninit | Alan Somers | |
Only two instances remain: * For the deprecated sys::socket::CmsgSpace::new. We should probably just remove that method. * For sys::termios::Termios::default_uninit. This will require some more thought. Fixes #1096 | |||
2019-08-29 | Clippy cleanup | Alan Somers | |
2019-06-09 | Add extra traits for all types | Bryant Mairs | |
Derive Clone, Copy, Eq, Hash, and PartialEq for all types. Not all traits are supported by all types, which is why many are missing some. | |||
2018-12-08 | Replace try! with ? | Alan Somers | |
try! is not available in Rust 2018 | |||
2018-01-28 | Require Debug impls for all types | Bryant Mairs | |
2018-01-10 | Expose mqueue functions for all supported OSes | Alan Somers | |
2017-12-20 | Use backticks around types/functions in docs | Bryant Mairs | |
2017-12-04 | Stop reexporting `Errno` and its variants | Jonas Schievink | |
cc #664 (unsure if this is everything needed) | |||
2017-12-02 | Upgrade to Bitflags 1.0 | Bryant Mairs | |
The libc_bitflags! macro was replaced with a non-recursive one supporting only public structs. I could not figure out how to make the old macro work with the upgrade, so I reworked part of the bitflags! macro directly to suit our needs, much as the original recursive macro was made. There are no uses of this macro for non-public structs, so this is not a problem for internal code. | |||
2017-10-08 | Replace most Linux man page links with Open Group man page links | Alan Somers | |
But leave in place Linux links for non-standard functions. Also, add brief docs for some functions that were lacking them. | |||
2017-08-16 | Match libc_bitflags! syntax to upstream bitflags! | Bryant Mairs | |
2017-02-16 | Update bitflags to 0.7 | Simon Sapin | |
2016-08-31 | Run rustfmt on mqueue.rs | Philipp Matthias Schaefer | |
2016-08-31 | Replace ffi module by libc functions in mqueue.rs | Philipp Matthias Schaefer | |
2016-04-14 | fixed a few clippy warnings | Andre Bogus | |
2016-02-20 | mqueue: change types to allow more cases | Nikolay Amiantov | |
2016-01-28 | Move errno::Result back to crate root | arcnmx | |
2016-01-28 | Errno::result() | arcnmx | |
2016-01-18 | allow improper_ctypes for size_t | Mattis Marjak | |
2015-10-27 | Fix some comments | Jeremy Fitzhardinge | |
2015-09-28 | added convenience functions for setting O_NONBLOCK on message queues | Markus Jais | |
2015-09-03 | added support and tests for mq_setattr | Markus Jais | |
2015-08-17 | renamed test methods for mqueue and added mq_unlink | Markus Jais | |
2015-07-18 | added mq_getattr for Linux | Markus Jais | |
2015-05-28 | Move nix::mq -> nix::mqueue to mirror header | Carl Lerche | |