Windows allows closure of a waitable timer handle while a work item is
waiting on it. Also, the current Wine ntdll implementation calls
NtWaitForMultipleObjects() on multiple handles if multiple items are
pending, and if one handle is not valid, no items will execute.
Btw there are occurrences of `INVALID_HANDLE_VALUE` elsewhere, e.g. in `RtlDeleteTimer()`, which I think are incorrect, unless Windows internals are inconsistent with its use.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8191
NdrClientCall() should only be used in 32-bit mode when
Oi or Oic stub optimizations are used. Currently our interpreted
mode targets Oicf mode and other levels are not supported.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8195
--
v6: mshtml: Remove outdated FIXME comment.
mshtml: Try to guess the script encoding when there's no BOM.
mshtml/tests: Test mixed charset encodings for document and text resources.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7360
This adds support for `CROSSDEBUG="dwarf pdb"` (or the equivalent `CROSSCFLAGS`) to enable embedding DWARF debug info alongside PDB files, as well as `CROSSDEBUG="split-dwarf pdb"` to generate both split DWARF and PDB files from a single Clang-based build. This makes it easier to produce a Wine build that can be debugged using both Windows and Unix tools.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8193
Follow-up of !2786, which appears to have been abandoned.
Depends on !8182
# Execute minimal test case
1. in dlls/ws2_32/tests/sock.c wrap all calls to test functions after `Init()` until `test_afunix()` with #if 0 ... #endif
2. checkout wine into ~/src/wine
3. build into ~/src/wine-build
4. run `(cd ~/src/wine-build; WINEPREFIX=~/src/wine/.wine ../wine/tools/runtest -q -P wine -T . -M ws2_32.dll -p dlls/ws2_32/tests/i386-windows/ws2_32_test.exe sock)`
# How to debug wineserver
Since `wineserver` runs in the background, simple calls to printf() will show nothing when the test case is executed. A workaround is to open a file and call fprintf() to write debug messages to this file, which can then be inspected.
--
v29: ws2_32: Add note in bind() for AF_UNIX sockets
ws2_32/tests: In tests for AF_UNIX sockets print actual directory used
ws2_32/tests: In AF_UNIX socket tests always print used path in case of errors
ws2_32/tests: Add test for AF_UNIX sockets
server: Fix getsockname() and accept() on AF_UNIX sockets.
server: Introduce error when attempting to create a SOCK_DGRAM AF_UNIX socket.
server: Allow for deletion of socket files.
ws2_32: Add support for AF_UNIX sockets.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7650
Follow-up of !2786, which appears to have been abandoned.
Depends on !8182
# Execute minimal test case
1. in dlls/ws2_32/tests/sock.c wrap all calls to test functions after `Init()` until `test_afunix()` with #if 0 ... #endif
2. checkout wine into ~/src/wine
3. build into ~/src/wine-build
4. run `(cd ~/src/wine-build; WINEPREFIX=~/src/wine/.wine ../wine/tools/runtest -q -P wine -T . -M ws2_32.dll -p dlls/ws2_32/tests/i386-windows/ws2_32_test.exe sock)`
# How to debug wineserver
Since `wineserver` runs in the background, simple calls to printf() will show nothing when the test case is executed. A workaround is to open a file and call fprintf() to write debug messages to this file, which can then be inspected.
--
v28: ws2_32: Add note in bind() for AF_UNIX sockets
ws2_32/tests: In tests for AF_UNIX sockets print actual directory used
ws2_32/tests: In AF_UNIX socket tests always print used path in case of errors
ws2_32/tests: Add test for AF_UNIX sockets
server: Fix getsockname() and accept() on AF_UNIX sockets.
server: Introduce error when attempting to create a SOCK_DGRAM AF_UNIX socket.
server: Allow for deletion of socket files.
ws2_32: Add support for AF_UNIX sockets.
ws2_32: Add afunix.h header.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7650
This MR also adds support for the I420 10LE format.
Windows doesn't have support for the I420 10LE format. Instead, a
decoding MFT will offer P010 as an output format.
Therefore, we translate GST_VIDEO_FORMAT_I420_10LE to
WG_VIDEO_FORMAT_P010_10LE so that Wine also offers P010 as an output.
This fixes playback of videos in VRChat that use I420 10LE as the raw video color format.
--
v3: winedmo: Add support for the P010 format.
winegstreamer: Add support for the P010 format.
mfplat: Add support for the P010 format.
mfplat/tests: Add image size tests for P010.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8144
On Wed May 28 16:18:33 2025 +0000, Jacob Czekalla wrote:
> changed this line in [version 5 of the diff](/wine/wine/-/merge_requests/8166/diffs?diff_id=181329&start_sha=2a4ed9fe52845b9c0198f9d66a0a48e00c6caea0#481a308eda1925984f142699cc247376b6478487_470_470)
Thanks for the feedback! Looks like it just got merged.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8166#note_105191
--
v3: avifil32: Fix dwLength counting for fixed size samples.
avifil32: Assume OF_WRITE for OF_CREATE in AVIFileOpenW().
avifil32/tests: Test creating AVI file with OF_CREATE but without access mode.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8152