This is a big update with a lot of fixes and improvements for the upcoming tavern and beyond.
Changes
- core: enforce data types on the wire
- core: allow creating sockets from fds
- core: add a fd type
- generator: fix arr in s2c
- scanner: use const & for vecs to avoid copies
- scanner: avoid auto id
- protocol: add roundtrips
- core: fix empty arrays and wire arrays
- core: minor fixes
- parser: don't catch errors
- messages/generic: add fd error
- core: improve roundtrip
- server: fix sending fds
- core: fix creating sockets from fds
- server: fix crash on exit
- server: improve fd api
- server: return client on addClient
- server/client: add pid
- client: add isHandshakeDone()
- server: allow recursive mutex locks for pollmtx
- core/socket: fix parseFromFd having a potential data race
- core/client: fix version in bind protocol
- scanner: add name() to server object handlers
- message: avoid crash on fd array parsing for debug
- core: minor fixes
- docs: add wire docs
MRs
- add OpenBSD support by @jg1uaa in #6
- Include string_view header by @dylanetaft in #9
- server/socket: fix server socket destruction with attemptEmpty by @PointerDilemma in #7
- core/client: buffer pending data on waiting for object by @vaxerski in #10
- core: Fix serialization bug with unaligned pointer reads by @jimpo in #13
- core/message: Fix uninitialized global pointer by @jimpo in #12
- core/message: copy id instead of duplicating seq in m_data by @r0chd in #15
- core: integration fixes by @PointerDilemma in #14
- core: Add support for fd arrays by @r0chd in #16
New Contributors
- @jg1uaa made their first contribution in #6
- @dylanetaft made their first contribution in #9
- @PointerDilemma made their first contribution in #7
- @jimpo made their first contribution in #13
- @r0chd made their first contribution in #15
Full Changelog: v0.2.1...v0.3.0