Skip to content

Commit aeec797

Browse files
committed
Update changelog
1 parent 3b87bc8 commit aeec797

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
2424
and nix::Error::UnsupportedOperation}`
2525
([#614](https://github.com/nix-rust/nix/pull/614))
2626
- Added `cfmakeraw`, `cfsetspeed`, and `tcgetsid`. ([#527](https://github.com/nix-rust/nix/pull/527))
27+
- Added "bad none", "bad write_ptr", "bad write_int", and "bad readwrite" variants to the `ioctl!`
28+
macro. ([#670](https://github.com/nix-rust/nix/pull/670))
2729

2830
### Changed
29-
- Changed `ioctl!(write ...)` to take argument by value instead as pointer.
30-
If you need a pointer as argument, use `ioctl!(write buf ...)`.
31-
([#626](https://github.com/nix-rust/nix/pull/626))
31+
- Changed `ioctl!(write ...)` into `ioctl!(write_ptr ...)` and `ioctl!(write_int ..)` variants
32+
to more clearly separate those use cases. ([#670](https://github.com/nix-rust/nix/pull/670))
3233
- Marked `sys::mman::{ mmap, munmap, madvise, munlock, msync }` as unsafe.
3334
([#559](https://github.com/nix-rust/nix/pull/559))
3435
- Minimum supported Rust version is now 1.13.
@@ -48,13 +49,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4849
- Revised the termios API including additional tests and documentation and exposed it on iOS. ([#527](https://github.com/nix-rust/nix/pull/527))
4950
- `eventfd`, `signalfd`, and `pwritev`/`preadv` functionality is now included by default for all
5051
supported platforms. ([#681](https://github.com/nix-rust/nix/pull/561))
52+
- The `ioctl!` macro's plain variants has been replaced with "bad read" to be consistent with
53+
other variants. The generated functions also have more strict types for their arguments. The
54+
"*_buf" variants also now calculate total array size and take slice references for improved type
55+
safety. The documentation has also been dramatically improved.
56+
([#670](https://github.com/nix-rust/nix/pull/670))
5157

5258
### Removed
5359
- Removed `io::Error` from `nix::Error` and the conversion from `nix::Error` to `Errno`
5460
([#614](https://github.com/nix-rust/nix/pull/614))
5561
- All feature flags have been removed in favor of conditional compilation on supported platforms.
5662
`execvpe` is no longer supported, but this was already broken and will be added back in the next
5763
release. ([#681](https://github.com/nix-rust/nix/pull/561))
64+
- Removed `ioc_*` functions and many helper constants and macros within the `ioctl` module. These
65+
should always have been private and only the `ioctl!` should be used in public code.
66+
([#670](https://github.com/nix-rust/nix/pull/670))
5867

5968
### Fixed
6069
- Fixed multiple issues compiling under different archetectures and OSes.
@@ -73,6 +82,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7382
([#623](https://github.com/nix-rust/nix/pull/623))
7483
- Multiple constants related to the termios API have now been properly defined for
7584
all supported platforms. ([#527](https://github.com/nix-rust/nix/pull/527))
85+
- `ioctl!` macro now supports working with non-int datatypes and properly supports all platforms.
86+
([#670](https://github.com/nix-rust/nix/pull/670))
7687

7788
## [0.8.1] 2017-04-16
7889

0 commit comments

Comments
 (0)