Bert Belder
|
1a2743cf5e
|
win: gcc doesn't grok #pragma warning
|
2017-12-08 19:41:40 +01:00 |
|
Bert Belder
|
1ef60cb893
|
win: ensure definitions for Vista or later are included
|
2017-12-08 19:41:40 +01:00 |
|
Bert Belder
|
a2eeaa5f82
|
src: move variable declarations to top of block
|
2017-12-08 19:34:52 +01:00 |
|
Bert Belder
|
2b57c726c8
|
util: move 'unused_fn' macro to from rb.h to util.h
|
2017-12-08 19:34:52 +01:00 |
|
Bert Belder
|
1ad34ec3f3
|
util: rename 'unused' macro to 'unused_var'
|
2017-12-08 19:34:52 +01:00 |
|
Bert Belder
|
05c384b181
|
src: rename WEPOLL_INTERNAL_EXTERN to WEPOLL_INTERNAL_VAR
|
2017-12-08 19:34:52 +01:00 |
|
Bert Belder
|
d84e928508
|
win: add missing comment after final #endif
|
2017-12-08 19:34:51 +01:00 |
|
Bert Belder
|
d26c10f852
|
nt: remove unnecessary '#ifdef _NTDEF_' condition
|
2017-12-08 19:34:51 +01:00 |
|
Bert Belder
|
42d714eded
|
gitignore: ignore executable and library outputs
|
2017-12-08 19:34:51 +01:00 |
|
Bert Belder
|
3bfdff4c8e
|
dist: merge release tag v1.2.2
|
2017-12-07 22:32:49 +01:00 |
|
Bert Belder
|
d85c46f114
|
version 1.2.2
v1.2.2
|
2017-12-07 22:32:09 +01:00 |
|
Bert Belder
|
658775faee
|
test: add epoll_ctl_mod() EEXIST and ENOENT tests to test-error
|
2017-12-07 22:30:54 +01:00 |
|
Bert Belder
|
937b9a27fa
|
test: improve test-error readability
|
2017-12-07 22:26:08 +01:00 |
|
Bert Belder
|
7dcc3d5eab
|
error: remove return_handle_error() and helpers
|
2017-12-07 22:06:11 +01:00 |
|
Bert Belder
|
0f68b70114
|
api: explicitly check handle validity in epoll_wait()
|
2017-12-07 22:04:17 +01:00 |
|
Bert Belder
|
093e6f5240
|
api: explicitly check handle validity in epoll_close()
|
2017-12-07 22:03:45 +01:00 |
|
Bert Belder
|
157cadf4e4
|
api: always check handle validity when epoll_ctl_mod() fails
|
2017-12-07 22:00:11 +01:00 |
|
Bert Belder
|
d448bdf8d8
|
error: make err_check_handle() an internal api
|
2017-12-07 21:37:58 +01:00 |
|
Bert Belder
|
04f956501a
|
dist: merge release tag v1.2.1
|
2017-12-11 15:21:15 +01:00 |
|
Bert Belder
|
af5b83ac9d
|
version 1.2.1
v1.2.1
|
2017-12-07 19:12:52 +01:00 |
|
Bert Belder
|
24ae64e042
|
test: add more test cases to test-error
|
2017-12-07 19:09:35 +01:00 |
|
Bert Belder
|
097e4fef9a
|
port: epoll_ctl() to report EBADF when both op and sock are invalid
|
2017-12-07 19:07:01 +01:00 |
|
Bert Belder
|
b5864f3a0f
|
afd: report EPERM+ERROR_DEVICE_FEATURE_NOT_SUPPORTED for non-afd sockets
|
2017-12-07 18:01:49 +01:00 |
|
Bert Belder
|
5b7ebc3b93
|
ci: remove unnecessary branch filter from appveyor configuration
|
2017-12-07 05:23:39 +01:00 |
|
Bert Belder
|
7cf7ecfef6
|
build: remove run-cmake.bat
|
2017-12-07 04:50:40 +01:00 |
|
Bert Belder
|
d8093dc167
|
doc: add build status badge to readme
|
2017-12-07 04:44:41 +01:00 |
|
Bert Belder
|
30ca0a1319
|
ci: add appveyor configuration file
|
2017-12-07 04:42:57 +01:00 |
|
Bert Belder
|
42ccc11634
|
src: suppress warnings caused by Windows SDK headers
|
2017-12-07 04:42:37 +01:00 |
|
Bert Belder
|
99ce867424
|
src: polyfill the 'include' keyword for Visual Studio 2013
|
2017-12-07 04:41:51 +01:00 |
|
Bert Belder
|
450292aebc
|
test: add missing errno.h include to test-oneshot-and-hangup
|
2017-12-07 04:40:57 +01:00 |
|
Bert Belder
|
86fbe53e70
|
build: disable 'conditional expression is constant' warning
Visual Studio 2013 often generates this warning when it encounters a
`do { ... } while (0)` construct, which is commonly used in preprocessor
macros.
|
2017-12-07 04:40:30 +01:00 |
|
Bert Belder
|
6182e1ec73
|
test: add leak checker to all tests
|
2017-12-05 20:30:04 +01:00 |
|
Bert Belder
|
4d6cb0ff5b
|
test: remove unnecessary include from test-error
|
2017-12-05 20:09:59 +01:00 |
|
Bert Belder
|
ada9cb5910
|
test: close epoll handle after running test-ctl-fuzz
|
2017-12-05 20:09:48 +01:00 |
|
Bert Belder
|
9114b4232a
|
test: add test to detect memory leak
The leak itself was fixed in the previous commit.
|
2017-12-05 20:08:55 +01:00 |
|
Bert Belder
|
f260365c45
|
port: plug memory leak where deleted socket would never be freed
|
2017-12-05 20:04:41 +01:00 |
|
Bert Belder
|
05bad1e58b
|
sock: move poll cancellation to _ep_sock_cancel_poll()
|
2017-12-05 20:04:41 +01:00 |
|
Bert Belder
|
eecfb0e5e3
|
port: make ep_port_release_poll_group() signature consistent
|
2017-12-05 20:04:41 +01:00 |
|
Bert Belder
|
50f84cdc6b
|
port: refactor socket update queue
|
2017-12-05 20:04:35 +01:00 |
|
Bert Belder
|
a11f4de81c
|
test: add some epoll_ctl() test cases to test-error
|
2017-12-05 05:14:02 +01:00 |
|
Bert Belder
|
e5a8d83c8b
|
api: epoll_ctl() to return ENOTSOCK when sock argument is not a socket
|
2017-12-05 05:02:57 +01:00 |
|
Bert Belder
|
4159a14364
|
afd: make afd_get_protocol() error reporting more accurate
|
2017-12-05 04:47:59 +01:00 |
|
Bert Belder
|
283aa5fe76
|
error: map ERROR_NOT_SUPPORTED to EPERM
|
2017-12-05 04:46:30 +01:00 |
|
Bert Belder
|
af9a6eb40f
|
test: add tests for epoll_wait() failure modes
|
2017-12-04 23:22:03 +01:00 |
|
Bert Belder
|
a2f6609d57
|
api: report EINVAL if epoll_wait() is called with invalid maxevents
|
2017-12-04 23:21:39 +01:00 |
|
Bert Belder
|
227ee0e63d
|
dist: merge release tag v1.2.0
|
2017-12-04 21:10:19 +01:00 |
|
Bert Belder
|
c053eb280d
|
version 1.2.0
v1.2.0
|
2017-12-04 21:09:07 +01:00 |
|
Bert Belder
|
bbeed7566c
|
test: add (incomplete) error code test
|
2017-12-04 21:07:43 +01:00 |
|
Bert Belder
|
11d7a0395f
|
api: report EINVAL when ephnd is a valid handle but not an epoll instance
|
2017-12-04 21:04:58 +01:00 |
|
Bert Belder
|
d5b5b605c0
|
api: epoll_ctl_mod() report EBADF when modifying/deleting invalid socket
|
2017-12-04 21:03:59 +01:00 |
|