Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v2: d2d1/tests: Add a basic rendering test for the Flood effect.
d2d1: Add property descriptions for the 2D Affine Transform effect.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9365
When the sane.ds TWAIN data source displays it's user interface, it auto-generates a proprties dialog from the sane options for the current scanner.
Oftenly this dialog contains windows ComboBox controls to choose between scan modes (gray / color) or resolutions.
The ComboBox controls created are too flat to properly drop down, they only open about half a line height. This is difficult to use.
This patch makes the control about 10 times the height of a string. The combox will not occupy more height than the elements that are filled in anyway.
Behaviour before the patch:
{width=305 height=244}
Behaviour after the patch:
{width=308 height=246}
--
v2: dlls/sane.ds: Make comboboxes in property sheet high enough to properly drop down
https://gitlab.winehq.org/wine/wine/-/merge_requests/9328
The frame index should be strictly less than idCount. Previously, an index equal to idCount was not rejected, leading to an out-of-range access.
Signed-off-by: chenzhengyong chenzhengyong(a)uniontech.com
Although this bug was not fatal because subsequent IStream_Read and related functions also perform boundary checks, it is better to catch the invalid index early for clarity and consistency.
--
v3: windowscodecs: Fix off-by-one check in IcoDecoder_GetFrame.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9347
It may be unaligned on certain architectures (e.g. macOS).
---
We started seeing this intermittently on Intel Macs after !9060. Since FPU_sig was returning an XMM_SAVE_AREA32*, the compiler assumed it was correctly aligned, and emitted `movaps` for a copy. If the pointer wasn't aligned, that of course failed. Presumably alignment is dodgy on macOS because we're returning a pointer a few fields into the context struct - `__fpu_fcw` is preceded by `int __fpu_reserved[2]`.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9364