Patch 4/5 has `broken(1)` which is probably not very nice, but I don't know how to handle that otherwise. I would say it's a property that we want to enforce for our implementation; at the same time it breaks on older Windows builds without much logic, AFAICT. I would constrain the `brokn()` on the Windows version, but my understanding is that this is not allowed.
--
v2: mmdevapi/tests: Test calling GetNextPacketSize() after GetBuffer().
mmdevapi/tests: Check that captured packets are consecutive.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8978
uiLengthDrawn should represent the number of characters that have been processed.
However, the original implementation uses len (the count of displayed characters
in the current line), which is not accurate.
When text requires line breaks or special processing (such as adding an ellipsis),
the actual number of processed characters may differ from the number of displayed
characters.
When the DT_CALCRECT flag is absent, len gets decremented to 0 during the drawing loop.
Consequently, uiLengthDrawn becomes inaccurate since it relies on len's value for statistics.
--
v8: user32: Fix uiLengthDrawn calculation in DrawTextExW().
user32/tests: Add some tests for uiLengthDrawn calculation in DrawTextExW().
https://gitlab.winehq.org/wine/wine/-/merge_requests/8178
Altium Designer installer in win7 mode fails reporting "KB2670838" and "KB3140245" updates are not installed.
With this patch the installer starts successfully.
(Though I could of course change windows version to win10 to work around this, it might be useful to see if the installer installs maybe less newer/other components in win7 mode.)
--
v5: wbemprox: Add two hotfixid's for Windows 7 to Win32_QuickFixEngineering.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8990
win32u: change the stretch mode of dst hdc from BlackOnWhite to ColorOnColor when using StretchBlt in TransparentBlt.
In NtGdiTransparentBlt function, the StretchBlt mode of dst hdc is not set. The Default StretchBlt Mode in wine is BlackOnWhite. It is not correct to use this StretchBltMode in TransparentBlt dealing with color bitmap. According to MSDN, it should be converted to ColorOnColor.
My test code shows that, the image converted by wine generates a lot of chromatic noise.
[test_blt.c](/uploads/26101bc7bdb27400d02c8ff5bf741864/test_blt.c)
[test_blt.exe](/uploads/98ee3ab7ce0d590e1511bd8a5fb5a1bb/test_blt.exe)



--
v2: win32u: change the stretch mode of dst hdc from BlackOnWhite to ColorOnColor when using StretchBlt in TransparentBlt.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8988
This format is used for video output with a depth of 10 bits per channel. Decoding at 10-bit quality is not currently supported, but this patch makes video playable.
--
v5: mfmediaengine: Retry topology resolution if necessary with video output type B8G8R8A8_UNORM.
mfmediaengine: Resolve the topology before setting it on the session object.
mfmediaengine: Introduce a create_video_media_type_from_fourcc() helper function.
mfmediaengine: Call OnVideoStreamTick() if a sample is not available.
mfmediaengine: Call media_engine_render_d3d11 if stretch/scale is needed.
mfmediaengine: Round the source box coordinates in media_engine_transfer_d3d11().
mfmediaengine: Rename media_engine_transfer_to_d3d11_texture() helper function.
mfmediaengine/tests: Test output to format R10G10B10A2 from H.264.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8531
Giving this one final shot. If this is not deemed acceptable, I will abandon the effort and just move on to other things, no hard feelings.
This is IMO a cleaner, more conservative/less invasive change.
What is fixed:
- Bug #56381, "TYPE c:\windows\winhelp.exe >foo", i.e. binary mode operation. I would probably consider this the main reason for this change. I'm trying to get the compiler mentioned in the bug report working.
- Ctrl-Z termination of TYPE output to the console.
- "TYPE con >foo", with Ctrl-Z handling, functionally equivalent to "COPY con foo".
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56381
--
v7: cmd/tests: Remove todo_wine from two TYPE tests that should pass after certutil changes are merged.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8920