@@ -9,8 +9,42 @@ This project adheres to [Semantic Versioning](http://semver.org/).
9
9
- Added complete definitions for all kqueue-related constants on all supported
10
10
OSes
11
11
([ #415 ] ( https://github.com/nix-rust/nix/pull/415 ) )
12
+ - Added function ` epoll_create1 ` and bitflags ` EpollCreateFlags ` in
13
+ ` ::nix::sys::epoll ` in order to support ` ::libc::epoll_create1 ` .
14
+ ([ #410 ] ( https://github.com/nix-rust/nix/pull/410 ) )
15
+
16
+ ### Changed
17
+ - Changed ` KEvent ` to an opaque structure that may only be modified by its
18
+ constructor and the ` ev_set ` method.
19
+ ([ #415 ] ( https://github.com/nix-rust/nix/pull/415 ) )
20
+ - ` pipe2 ` now calls ` libc::pipe2 ` where available. Previously it was emulated
21
+ using ` pipe ` , which meant that setting ` O_CLOEXEC ` was not atomic.
22
+ ([ #427 ] ( https://github.com/nix-rust/nix/pull/427 ) )
23
+ - Renamed ` EpollEventKind ` to ` EpollFlags ` in ` ::nix::sys::epoll ` in order for
24
+ it to conform with our conventions.
25
+ ([ #410 ] ( https://github.com/nix-rust/nix/pull/410 ) )
26
+ - ` EpollEvent ` in ` ::nix::sys::epoll ` is now an opaque proxy for
27
+ ` ::libc::epoll_event ` . The formerly public field ` events ` is now be read-only
28
+ accessible with the new method ` events() ` of ` EpollEvent ` . Instances of
29
+ ` EpollEvent ` can be constructed using the new method ` new() ` of EpollEvent.
30
+ ([ #410 ] ( https://github.com/nix-rust/nix/pull/410 ) )
31
+
32
+ ### Fixed
33
+ - Fixed using kqueue with ` EVFILT_USER ` on FreeBSD
34
+ ([ #415 ] ( https://github.com/nix-rust/nix/pull/415 ) )
35
+ - Fixed the build on FreeBSD, and fixed the getsockopt, sendmsg, and recvmsg
36
+ functions on that same OS.
37
+ ([ #397 ] ( https://github.com/nix-rust/nix/pull/397 ) )
38
+ - Fixed an off-by-one bug in ` UnixAddr::new_abstract ` in ` ::nix::sys::socket ` .
39
+ ([ #429 ] ( https://github.com/nix-rust/nix/pull/429 ) )
40
+
41
+ ## [ 0.7.0] 2016-09-09
42
+
43
+ ### Added
12
44
- Added ` lseek ` and ` lseek64 ` in ` ::nix::unistd `
13
45
([ #377 ] ( https://github.com/nix-rust/nix/pull/377 ) )
46
+ - Added ` mkdir ` and ` getcwd ` in ` ::nix::unistd `
47
+ ([ #416 ] ( https://github.com/nix-rust/nix/pull/416 ) )
14
48
- Added accessors ` sigmask_mut ` and ` sigmask ` to ` UContext ` in
15
49
` ::nix::ucontext ` .
16
50
([ #370 ] ( https://github.com/nix-rust/nix/pull/370 ) )
@@ -20,24 +54,54 @@ This project adheres to [Semantic Versioning](http://semver.org/).
20
54
- Added new module ` ::nix::sys::reboot ` with enumeration ` RebootMode ` and
21
55
functions ` reboot ` and ` set_cad_enabled ` . Currently for _ linux_ only.
22
56
([ #386 ] ( https://github.com/nix-rust/nix/pull/386 ) )
57
+ - ` FdSet ` in ` ::nix::sys::select ` now also implements ` Clone ` .
58
+ ([ #405 ] ( https://github.com/nix-rust/nix/pull/405 ) )
59
+ - Added ` F_FULLFSYNC ` to ` FcntlArg ` in ` ::nix::fcntl ` for _ apple_ targets.
60
+ ([ #407 ] ( https://github.com/nix-rust/nix/pull/407 ) )
61
+ - Added ` CpuSet::unset ` in ` ::nix::sched ` .
62
+ ([ #402 ] ( https://github.com/nix-rust/nix/pull/402 ) )
63
+ - Added constructor method ` new() ` to ` PollFd ` in ` ::nix::poll ` , in order to
64
+ allow creation of objects, after removing public access to members.
65
+ ([ #399 ] ( https://github.com/nix-rust/nix/pull/399 ) )
66
+ - Added method ` revents() ` to ` PollFd ` in ` ::nix::poll ` , in order to provide
67
+ read access to formerly public member ` revents ` .
68
+ ([ #399 ] ( https://github.com/nix-rust/nix/pull/399 ) )
69
+ - Added ` MSG_CMSG_CLOEXEC ` to ` MsgFlags ` in ` ::nix::sys::socket ` for _ linux_ only.
70
+ ([ #422 ] ( https://github.com/nix-rust/nix/pull/422 ) )
23
71
24
72
### Changed
25
- - Changed ` KEvent ` to an opaque structure that may only be modified by its
26
- constructor and the ` ev_set ` method.
27
- ([ #415 ] ( https://github.com/nix-rust/nix/pull/415 ) )
28
73
- Replaced the reexported integer constants for signals by the enumeration
29
74
` Signal ` in ` ::nix::sys::signal ` .
30
75
([ #362 ] ( https://github.com/nix-rust/nix/pull/362 ) )
31
76
- Renamed ` EventFdFlag ` to ` EfdFlags ` in ` ::nix::sys::eventfd ` .
32
77
([ #383 ] ( https://github.com/nix-rust/nix/pull/383 ) )
78
+ - Changed the result types of ` CpuSet::is_set ` and ` CpuSet::set ` in
79
+ ` ::nix::sched ` to ` Result<bool> ` and ` Result<()> ` , respectively. They now
80
+ return ` EINVAL ` , if an invalid argument for the ` field ` parameter is passed.
81
+ ([ #402 ] ( https://github.com/nix-rust/nix/pull/402 ) )
82
+ - ` MqAttr ` in ` ::nix::mqueue ` is now an opaque proxy for ` ::libc::mq_attr ` ,
83
+ which has the same structure as the old ` MqAttr ` . The field ` mq_flags ` of
84
+ ` ::libc::mq_attr ` is readable using the new method ` flags() ` of ` MqAttr ` .
85
+ ` MqAttr ` also no longer implements ` Debug ` .
86
+ ([ #392 ] ( https://github.com/nix-rust/nix/pull/392 ) )
87
+ - The parameter ` msq_prio ` of ` mq_receive ` with type ` u32 ` in ` ::nix::mqueue `
88
+ was replaced by a parameter named ` msg_prio ` with type ` &mut u32 ` , so that
89
+ the message priority can be obtained by the caller.
90
+ ([ #392 ] ( https://github.com/nix-rust/nix/pull/392 ) )
91
+ - The type alias ` MQd ` in ` ::nix::queue ` was replaced by the type alias
92
+ ` libc::mqd_t ` , both of which are aliases for the same type.
93
+ ([ #392 ] ( https://github.com/nix-rust/nix/pull/392 ) )
33
94
34
95
### Removed
35
96
- Type alias ` SigNum ` from ` ::nix::sys::signal ` .
36
97
([ #362 ] ( https://github.com/nix-rust/nix/pull/362 ) )
98
+ - Type alias ` CpuMask ` from ` ::nix::shed ` .
99
+ ([ #402 ] ( https://github.com/nix-rust/nix/pull/402 ) )
100
+ - Removed public fields from ` PollFd ` in ` ::nix::poll ` . (See also added method
101
+ ` revents() ` .
102
+ ([ #399 ] ( https://github.com/nix-rust/nix/pull/399 ) )
37
103
38
104
### Fixed
39
- - Fixed using kqueue with ` EVFILT_USER ` on FreeBSD
40
- ([ #415 ] ( https://github.com/nix-rust/nix/pull/415 ) )
41
105
- Fixed the build problem for NetBSD (Note, that we currently do not support
42
106
it, so it might already be broken again).
43
107
([ #389 ] ( https://github.com/nix-rust/nix/pull/389 ) )
0 commit comments