`EM_GETSEL` fills a `DWORD` only, so using a `SIZE_T` would leave upper bits to contain random values. We could initialize it to 0, but instead, just get rid of all the pointer cast hacks and use a proper pointer to check if it was found or not. In fact, this removes the duplication with setting pos to ~0, too.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1982
LOCALE_SGROUPING's string and the `Grouping` field in NUMBERFMTW are confusingly different. The former, which is what is fixed here, treats a '0' as a repeat of the previous grouping. But a 0 at the end of the `Grouping` field prevents it from repeating (it repeats by default otherwise) so it's the opposite. Note that without a '0' in the LOCALE_SGROUPING string, it shouldn't even repeat in the first place.
This fixes the typical "3;0" default grouping, for example.
See: https://learn.microsoft.com/en-us/windows/win32/intl/locale-sgrouping
--
v3: kernelbase: Fix grouping repeat for number formatting.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1937
LOCALE_SGROUPING's string and the `Grouping` field in NUMBERFMTW are confusingly different. The former, which is what is fixed here, treats a '0' as a repeat of the previous grouping. But a 0 at the end of the `Grouping` field prevents it from repeating (it repeats by default otherwise) so it's the opposite. Note that without a '0' in the LOCALE_SGROUPING string, it shouldn't even repeat in the first place.
This fixes the typical "3;0" default grouping, for example.
See: https://learn.microsoft.com/en-us/windows/win32/intl/locale-sgrouping
--
v4: kernelbase: Fix grouping repeat for number formatting.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1937
Relax some order of debug events in kernel32:debugger tests.
This reduces a bunch of failures when run on Windows.
Unfortunately, this is not sufficient to get rid of all of them
(still timeout in some cases, BZ 53144, wrong exit codes...).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1980
Second part of !50.
--
v3: vkd3d-shader/hlsl: Add field-level documentation to struct hlsl_scope.
vkd3d-shader/hlsl: Add field-level documentation to function structs.
vkd3d-shader/hlsl: Add field-level documentation to struct hlsl_buffer.
vkd3d-shader/hlsl: Add documentation to small hlsl.h structs.
vkd3d-shader/hlsl: Add field-level documentation to struct hlsl_deref.
vkd3d-shader/hlsl: Add documentation to struct hlsl_reg.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/61
ICM_DECOMPRESS_GET_FORMAT does not work well with the BITMAPINFOHEADER from MS-CRAM, because a biBitCount of 24
(or anything above 8) indicates RGB555 encoding, which actually means the bit count is 16 bpp, but the decoder rejects
any format that doesn't have biBitCount of exactly 8 or 16.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54024
Signed-off-by: Torge Matthies <tmatthies(a)codeweavers.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1929
--
v4: tests: Print DLL versions when running tests on Windows.
tests: Run d3d9 and d3d12 tests on non-cross builds too.
tests: Distinguish between cross and non-cross Win32 builds.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/57