480 Commits

Author SHA1 Message Date
Bert Belder
e61acfab97
version 1.5.1 v1.5.1 2018-06-06 12:30:19 -07:00
Bert Belder
f813598587
src,test: use consistent naming style for private names 2018-06-06 11:37:43 -07:00
Bert Belder
9fa0461e33
win: always set _WIN32_WINNT to 0x0600 2018-06-05 17:32:31 -07:00
Bert Belder
95c6d8b7a1
afd: remove afd_poll() support for blocking operations
It's an internal API and this functionality is unused.
2018-06-04 23:55:31 -07:00
Bert Belder
6e50accebe
afd: use SetFileCompletionNotificationModes on driver sockets
This should slightly improve performance.
2018-06-04 23:55:31 -07:00
Bert Belder
44f357ab2e
afd: simplify afd_create_driver_socket() error-return logic 2018-06-04 23:55:30 -07:00
Bert Belder
dd65a0c06b
util: move static_assert polyfill to test-util.h
It's no longer used in the main source code.
2018-06-04 23:55:30 -07:00
Bert Belder
74e6f02ee4
reflock: use Interlocked functions directly, use long instead of uint32_t 2018-06-04 23:55:25 -07:00
Bert Belder
49146ab381
ws: make retry logic in ws_get_protocol_catalog() more readable 2018-06-04 23:12:28 -07:00
Bert Belder
513410278d
build: use GLOB instead of GLOB_RECURSE in cmake config 2018-06-01 13:54:38 -07:00
Bert Belder
e7e2cd478a
build: put tests in solution folder 2018-06-01 13:40:42 -07:00
Bert Belder
4e685dcf29
dist: merge release tag v1.5.0 2018-05-17 02:23:22 -07:00
Bert Belder
6146716d4a
version 1.5.0 v1.5.0 2018-05-17 02:23:17 -07:00
Bert Belder
64b714ab36
port,sock: drop 'ep_' prefix, rename types to sock_state_t/port_state_t 2018-05-17 01:31:29 -07:00
Bert Belder
613a821a30
src: rename/remove macros that clang says have reserved names 2018-05-17 01:31:28 -07:00
Bert Belder
8f4d4e9602
src,test: squelch clang signed/unsigned conversion warnings 2018-05-17 01:31:28 -07:00
Bert Belder
042bfd32f3
test: add static qualifier to local functions in test-oneshot-and-hangup 2018-05-17 01:31:27 -07:00
Bert Belder
bcc72f8ec5
test: make clang use __attribute__((constructor)) to register leak checker 2018-05-17 01:31:27 -07:00
Bert Belder
4e21e8411e
test: surpress some overly pedantic clang warnings 2018-05-17 01:31:26 -07:00
Bert Belder
cb50462b77
afd: simplify definition of IOCTL_AFD_POLL 2018-05-17 01:31:26 -07:00
Bert Belder
52e3f7d596
nt: remove unused STATUS_* definitions 2018-05-17 01:31:25 -07:00
Bert Belder
3e2cc6379f
sock: squelch clang non-matching cast warning 2018-05-17 01:31:25 -07:00
Bert Belder
73af86d1f5
reflock: don't cast away constness from void pointers 2018-05-17 01:31:25 -07:00
Bert Belder
a919a57ad2
util: remove extra semicolon from static_assert() polyfill 2018-05-17 01:31:24 -07:00
Bert Belder
2e882a5dfe
util: remove 'unused_fn' macro which itself isn't used 2018-05-17 01:31:23 -07:00
Bert Belder
0a817e84ec
util: squelch clang cast alignment warning caused by container_of() 2018-05-17 01:31:23 -07:00
Bert Belder
3098a3cda5
util: don't define _SSIZE_T_DEFINED
Clang complains about it, and it's unnecessary anyway.
2018-05-17 01:31:23 -07:00
Bert Belder
a60d90a26a
ws: add out param for catalog entry count to ws_get_protocol_catalog()
This avoids a sign-conversion warning on clang 6.x.
2018-05-17 01:31:22 -07:00
Bert Belder
fa16c36d95
win: suppress clang reserved-id-macro warning when setting _WIN32_WINNT 2018-05-17 01:31:22 -07:00
Bert Belder
354e56be7e
win: use exact case when including Windows SDK header files
This prevents clang 6.x from emitting nonportable-system-include-path
warnings.
2018-05-17 01:31:21 -07:00
Bert Belder
3e3251e0d9
error: break up return_error() macro into two non-variadic macros
This prevents clang 6.x from emitting a
gnu-zero-variadic-macro-arguments warning.
2018-05-17 01:31:21 -07:00
Bert Belder
e3c63df748
error: make err_map_win_error_to_errno() a static function 2018-05-17 01:31:20 -07:00
Bert Belder
24dda1ef62
header: squelch clang warnings about recursive macro invocation 2018-05-17 01:31:20 -07:00
Bert Belder
8e4f574d37
header: squelch clang 6.x shift-sign-overflow warning 2018-05-17 01:31:20 -07:00
Bert Belder
f00c18e323
poll-group: rename _POLL_GROUP_MAX_SIZE to _POLL_GROUP_MAX_GROUP_SIZE 2018-05-17 01:31:19 -07:00
Bert Belder
1e5def7413
build: disable msvs 2017 spectre mitigation warning 2018-05-17 01:31:13 -07:00
Bert Belder
52c9a3722a
dist: merge release tag v1.4.2 2018-05-16 19:45:54 -07:00
Bert Belder
3512e8324a
version 1.4.2 v1.4.2 2018-05-16 19:45:50 -07:00
Bert Belder
33a6ee6889
util: fix missing <assert.h> include 2018-05-04 02:45:40 +02:00
Bert Belder
2e4627ba4a
util: remove safe_container_of() macro 2018-05-04 02:45:40 +02:00
Bert Belder
6f6c32628a
thread-safe-tree: don't use safe_container_of() 2018-05-04 02:42:02 +02:00
Bert Belder
b9b4cc7686
sock: integrate _poll_req_t fields into ep_sock_t, and merge functions 2018-05-04 02:13:52 +02:00
Bert Belder
7c57e19298
sock: make all ep_sock_t fields private, remove _ep_sock_private_t 2018-05-03 23:27:41 +02:00
Bert Belder
74d7624afd
port: access ep_sock_t.tree_node and ep_sock_t.queue_node through getters 2018-05-03 23:27:40 +02:00
Bert Belder
fb9820b06c
src: improve phrasing of some comments, fix spelling error 2018-05-03 23:27:04 +02:00
Bert Belder
55d08bee97
port: assert that the update queue is empty before freeing 2018-05-03 23:25:55 +02:00
Bert Belder
5b7b5b0ed4
afd: remove unused event type and flag definitions 2018-05-03 14:40:52 +02:00
Bert Belder
0fbf0e2b0e
src: use more condensed style for short comments 2018-05-03 14:40:52 +02:00
Bert Belder
7c52fee8be
util: fix comments about polyfills 2018-05-03 14:40:52 +02:00
Bert Belder
279315afcd
src: add missing <string.h> includes 2018-05-03 14:40:51 +02:00