Bert Belder
f8a135487d
src: improve code comments
2020-05-26 19:07:02 +02:00
Bert Belder
07af653b17
src: rename 'afd_helper' to the more descriptive 'afd_device'
2020-05-26 19:07:02 +02:00
Bert Belder
78bb46e678
port,sock: minor tweaks to 'alloc()' and 'free()' functions
2020-05-26 18:57:00 +02:00
Bert Belder
469cb335c1
dist: merge release tag v1.5.7
2020-05-15 22:38:42 +02:00
Bert Belder
fa78be3f47
version 1.5.7
v1.5.7
2020-05-15 22:38:42 +02:00
Bert Belder
8dc6115127
ws: add workaround for Komodia based LSPs that break SIO_BASE_HANDLE
2020-05-13 01:31:16 +02:00
Bert Belder
8223744d7b
port: drop '_handle' suffix from 'port_(un)register_socket()' function names
2020-05-12 03:56:30 +02:00
Bert Belder
81411367b5
queue: rename functions to make their purpose more obvious
2020-05-12 03:56:29 +02:00
Bert Belder
126c00944c
test: make the memory leak checker for tests work again
...
It turns out that these static constructors declared with
`__declspec(allocate(".CRT$XCU"))` don't work if you try to link them
from a static library. With this patch we go back to passing
'leak-check.c' as an extra source file when compiling a test.
2020-05-09 11:16:07 +02:00
Bert Belder
532d57ed31
style: use clang-format version 10.x
2020-05-09 11:06:23 +02:00
Bert Belder
8128da416c
version 1.5.6
v1.5.6
2020-01-13 00:26:46 +01:00
Bert Belder
4fe5f50f22
dist: merge release tag v1.5.6
2020-01-13 00:26:46 +01:00
Bert Belder
efa35adbc5
tree: rename 'FIXUP' macros to 'REBALANCE'
2020-01-13 00:15:16 +01:00
Bert Belder
3ad20d71ff
build: refactor config infrastructure and test build setup
...
* Configuration is now done with files, instead of through command line
switches specified in CMakeLists.txt.
* Link tests with a static library instead of compiling individual
wepoll source files as part of the test executable. This should make
the CI run significantly faster.
2020-01-12 23:56:59 +01:00
Bert Belder
4536518f8a
tools/bundle: log files in which no include guards were found
2020-01-12 23:42:37 +01:00
Bert Belder
bb6c522d8f
tools/bundle: require include guards to end with '_H_'
2020-01-12 23:42:37 +01:00
Bert Belder
d272c5188d
tools/bundle: rename 'combine.js' to 'bundle.js'
2020-01-12 23:42:37 +01:00
Bert Belder
dd7dd6fcd9
build: rename configuration 'combined' to 'bundle'
2020-01-12 23:42:36 +01:00
Bert Belder
c57eb84863
build: work around bug in in Windows SDK 10.0.17763.0 and maybe other versions
2020-01-12 23:42:34 +01:00
Bert Belder
8cd6e896cd
test: fix clang warning caused by 'static_assert' polyfill
2020-01-12 23:42:07 +01:00
Bert Belder
d87deefada
doc: update copyright years
2020-01-12 23:42:06 +01:00
Bert Belder
a11398b1c5
api: fix typo in comment
2019-06-24 18:14:47 +02:00
Bert Belder
8c98df30da
gitignore: sort patterns
2019-06-24 18:14:47 +02:00
Bert Belder
d5f8f5f1b1
afd: use IO_STATUS_BLOCK instead of OVERLAPPED to track async poll ops
...
This reduces per-socket memory usage, as the OVERLAPPED structure
contains some fields that are never used.
2019-06-12 21:49:12 +02:00
Bert Belder
a627f365fd
src,test: clean up #include directives
2019-06-12 21:49:11 +02:00
Bert Belder
027fb4a419
util,test: remove definition and usage of type 'ssize_t'
2019-06-12 21:49:11 +02:00
Bert Belder
7080d540e2
build: do not force-include wepoll.h using a command line switch
2019-06-12 21:49:10 +02:00
Bert Belder
017fa62aac
tools/combine: fold identical 'typedef struct' declarations
2019-06-12 21:49:10 +02:00
Bert Belder
06dd355e33
tools: use prettier to format javascript files
2019-06-12 21:21:31 +02:00
Bert Belder
20af8d02c7
port: rename 'iocp' to 'iocp_handle' where appropriate
2019-05-17 13:56:37 -07:00
Bert Belder
cf4530307f
port: make the definition of 'struct port_state' private
2019-05-17 13:42:08 -07:00
Bert Belder
0088a1f263
sock: put functions in a more logical order
2019-05-17 13:42:08 -07:00
Bert Belder
4727adafb7
src: reformat with clang-format 8.0
2019-05-17 13:42:08 -07:00
Bert Belder
65b4e44abd
dist: merge release tag v1.5.5
2019-05-05 05:14:53 +02:00
Bert Belder
e9bf27c395
version 1.5.5
v1.5.5
2019-05-05 05:14:52 +02:00
Bert Belder
adf44ab203
test: remove unnecessary semicolon from test-tree
2019-05-05 04:52:33 +02:00
Bert Belder
f196d9fc31
doc: update copyright years
2019-05-05 04:45:29 +02:00
Bert Belder
870273c60d
reflock: use proper access mask when creating keyed event
2018-12-06 08:54:12 +01:00
Bert Belder
ec78f05d70
nt: use documented parameter names for keyed event functions
2018-12-06 08:54:05 +01:00
Bert Belder
2cd1a594d4
nt: sort NT_NTDLL_IMPORT_LIST
2018-12-06 07:15:49 +01:00
Bert Belder
b7289278e1
reflock: make assert in reflock_unref() more strict, improve comments
2018-12-04 13:19:40 -08:00
Bert Belder
b55b10a934
reflock: use lowercase for hex digits consistently
2018-12-04 12:28:46 -08:00
Bert Belder
210f4f8fba
init: fix grammar and clarify comment
2018-11-26 16:43:01 -07:00
Bert Belder
fca062c60d
tools: remove optional parentheses around arrow function parameters
2018-11-26 15:52:40 -07:00
Bert Belder
11633bf403
tools/combine: use arrow functions for Array.map closures
2018-11-26 15:52:07 -07:00
Bert Belder
1bc78625f0
tools/release: simplify regex
2018-11-26 15:50:47 -07:00
Bert Belder
97276ce4dd
nt: remove unused LSA_UNICODE_STRING type
2018-11-25 23:31:23 -07:00
Bert Belder
a82802933a
build: strip clang-format on/off directives from combined source
2018-11-18 03:06:13 -08:00
Bert Belder
653545fd35
test: make test-connect-success-events more robust
2018-11-17 02:02:49 -08:00
Bert Belder
7274ddd9fb
version 1.5.4
v1.5.4
2018-11-17 00:47:49 -08:00