`getpeername()` is currently handled in ntdll. This merge request changes ntdll to forward `getpeername()` to wineserver. The implementation utilises new `peer_addr` and `peer_addr_len` fields in wineserver's `struct sock`.
This fixes multiple `todo_wine`s in `ws2_32/tests` and allows for more accurate peer names to be provided in case the address the socket is bound to on the Unix side does not match what `bind()` was called with on the Windows side.
*This merge request was originally intended to be included in !2786 (Add support for AF_UNIX sockets) but was split into its own merge request because this is not an insignificant change.*
--
v9: ws2_32/tests: Remove todo_wine from now-successful tests.
server: Move getpeername() implementation from ntdll/unix.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3074
gnutls now may fail signature verification for the old hash algorithms which are considered insecure (e. g., md5). The test added in the patch fails on Fedora 38 without the flag.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3203
Fixes Age of Empire 2 failing to start due to WinVerifyTrust failing to successfully verify game files' signatures which are signed with ECC key.
I added a test in patch 1 to show that ECC certificate signature raw data indeed has bytes reversed (unlike the signature in messages). The existing code appears to be correct but removing this reversal wasn't resulting in test failures.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3201
Initialize the calendars variable after checking if locale is NULL before using it to avoid NULL
pointer references. Fix a Excel 2016 crash when formatting dates with the custom format 'ddd'.
--
v4: kernelbase: Check if locale is NULL before using it in Internal_EnumDateFormats().
https://gitlab.winehq.org/wine/wine/-/merge_requests/3190
On Windows, `sendto()` ignores its destination parameters when provided with a connection-based socket (currently only SOCK_STREAM), even if they contain invalid data. This patch implements this behavior.
--
v4: ws2_32/tests: Add test for sendto() and recvfrom() on TCP sockets.
ntdll/unix: Skip address conversion for TCP sockets in try_send().
https://gitlab.winehq.org/wine/wine/-/merge_requests/3186
Initialize the calendars variable after checking if locale is NULL before using it to avoid NULL
pointer references. Fix a Excel 2016 crash when formatting dates with the custom format 'ddd'.
--
v3: kernelbase: Check if locale is NULL before using it in Internal_EnumDateFormats().
https://gitlab.winehq.org/wine/wine/-/merge_requests/3190
Initialize the calendars variable after checking if locale is NULL before using it to avoid NULL
pointer references. Fix a Excel 2016 crash when formatting dates with the custom format 'ddd'.
--
v2: kernelbase: Check if locale is NULL before using it in Internal_EnumDateFormats().
https://gitlab.winehq.org/wine/wine/-/merge_requests/3190
--
v2: vkd3d-shader/hlsl: Free the "iter" block pointer on success in create_loop().
vkd3d-shader/hlsl: Return a hlsl_block from the "expr_statement" and "expr" rules.
vkd3d-shader/hlsl: Return a hlsl_block from the "jump_statement" rule.
vkd3d-shader/hlsl: Return a hlsl_block from the "selection_statement" rule.
vkd3d-shader/hlsl: Return a hlsl_block from the "loop_statement" rule.
vkd3d-shader/hlsl: Return a hlsl_block from the "statement" rule.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/258