Commit graph

169049 commits

Author SHA1 Message Date
Bernhard Übelacker
702aeb3acb server: Allow VirtualQueryEx on "limited" handle.
A handle created with just PROCESS_QUERY_LIMITED_INFORMATION
should allow VirtualQueryEx / APC_VIRTUAL_QUERY.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56093
2024-01-18 18:08:48 +01:00
Zhiyi Zhang
6164432aa7 compstui: Fix a possible out-of-bounds write (Coverity).
When len is 256, (ARRAY_SIZE(title) - len) is 0. When LoadStringW() is called with the last parameter
being zero, a WCHAR string pointer is stored at 'title + 256', writing title out of bounds.
2024-01-18 18:08:48 +01:00
Alex Henrie
2b323dbad7 advapi32: Add TreeSetNamedSecurityInfoW stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56055
2024-01-18 18:08:48 +01:00
Alex Henrie
2586ddc5dc tbs: Add GetDeviceIDString stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56054
2024-01-18 18:08:48 +01:00
Haidong Yu
7a941fd59a loader: Associate folder with explorer.
Signed-off-by: Haidong Yu <yuhaidong@uniontech.com>
2024-01-18 18:08:48 +01:00
Alex Henrie
53724c2eb6 uiautomationcore/tests: Use CRT allocation functions. 2024-01-18 18:08:48 +01:00
Bartosz Kosiorek
b12078d928 gdiplus: Partially implement GdipDrawImageFX.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55945
2024-01-18 18:08:48 +01:00
Bartosz Kosiorek
bc56fc1b87 gdiplus/tests: Add GdipDrawImageFX tests except effects or attributes. 2024-01-18 18:08:48 +01:00
Rémi Bernon
aa92cabd67 windows.gaming.input: Add a description to the monitor thread. 2024-01-18 18:08:48 +01:00
Rémi Bernon
4885bdda95 dinput: Add a description to the dinput worker thread. 2024-01-18 18:08:48 +01:00
Rémi Bernon
c43d3964e3 winebus: Demote BusContainerId FIXME message to WARN. 2024-01-18 18:08:48 +01:00
Rémi Bernon
08a422bf17 winexinput: Demote BusContainerId FIXME message to WARN. 2024-01-18 18:08:48 +01:00
Rémi Bernon
173ed7e61b winebus: Prefer hidraw backends for DS4 and DS5 gamepads. 2024-01-18 18:08:48 +01:00
Rémi Bernon
13d8571b08 winebus: Move device identification helpers to unixlib.h. 2024-01-18 18:08:48 +01:00
Rémi Bernon
814d2c176d winebus: Allow specific devices to prefer hidraw backend.
And use SDL otherwise in priority over evdev for abstracted HID device
implementation.
2024-01-18 18:08:48 +01:00
Rémi Bernon
ef31616393 winebus: Append is_gamepad to the device instance id. 2024-01-18 18:08:48 +01:00
Brendan Shanks
1932c3a251 combase: Make RoGetActivationFactory hookable. 2024-01-17 21:55:07 +01:00
Rémi Bernon
746de31897 win32u: Remove now unnecessary ImeToAsciiEx driver entry. 2024-01-17 21:54:59 +01:00
Rémi Bernon
f341b8003c winemac: Use the default ImeToAsciiEx implementation.
And support updates pushed from the host IME directly.
2024-01-17 21:54:58 +01:00
Rémi Bernon
2d6fa95217 win32u: Support posting IME updates while processing keys. 2024-01-17 21:54:57 +01:00
Rémi Bernon
5f313c0fdb win32u: Move ImeToAsciiEx implementation from winex11.
Using a new WINE_IME_POST_UPDATE NtUserMessageCall call for the drivers.
2024-01-17 21:54:55 +01:00
Rémi Bernon
59820f0efb winex11: Return STATUS_NOT_FOUND when IME update isn't found. 2024-01-17 21:54:55 +01:00
Bernhard Übelacker
0f6a66e919 wing32: Avoid crash in WinGGetDIBPointer when called with NULL bitmap info.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56135
2024-01-17 12:26:28 +01:00
Bernhard Übelacker
edf0635ed4 wing32: Add tests. 2024-01-17 12:26:28 +01:00
Alexandre Julliard
fad3e416f8 ntdll/tests: Add exception test for int 2d on x86-64. 2024-01-17 12:16:37 +01:00
Brendan Shanks
1f8bba0f74 opengl32: Make wglSwapLayerBuffers hookable. 2024-01-17 11:33:01 +01:00
Dmitry Timoshkov
16d2f3c8a7 ntdll: Add NtCompareTokens() stub.
SQL Native Client ODBC driver fails to load if GetProcAddress("NtCompareTokens")
returns NULL, however it never calls it.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-01-17 11:30:55 +01:00
Nikolay Sivov
ba664e108e evr/dshow: Handle YUY2 sample copy.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53810
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-01-17 11:07:00 +01:00
Sven Baars
a1adaaca27 advapi32/tests: Skip WoW64 tests on 32-bit in test_reg_create_key.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54613
2024-01-17 11:07:00 +01:00
Sven Baars
7565d61403 advapi32/tests: Introduce a new has_wow64 helper. 2024-01-17 11:07:00 +01:00
David Kahurani
760bcdcb4e gdiplus: Avoid use of temporary variable.
A temporary variable is used here to assist with assignment
but this does not conform to the coding style in the rest of
gdiplus and introduces an unnecessary variable.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2024-01-17 11:07:00 +01:00
Zhiyi Zhang
d91eab24d2 win32u: Fix a possible out-of-bounds write (Coverity). 2024-01-17 11:07:00 +01:00
Eric Pouech
20b4cdde55 user32: Load dynamically wine_get_version().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-17 11:07:00 +01:00
Eric Pouech
d40a0d8a1d appwiz.cpl: Load dynamically wine_get_version().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-17 11:07:00 +01:00
Nikolay Sivov
564b796e36 scrrun/dictionary: Handle VT_EMPTY/VT_NULL keys. 2024-01-17 11:07:00 +01:00
Nikolay Sivov
e89bedb70b scrrun/dictionary: Add support for hashing VT_NULL keys. 2024-01-17 11:07:00 +01:00
Nikolay Sivov
92e2626e9d scrrun/dictionary: Add support for hashing VT_EMPTY keys. 2024-01-17 11:07:00 +01:00
Alistair Leslie-Hughes
7ea0a3609c include: Add more D3D_FEATURE_LEVEL_ defines. 2024-01-17 11:07:00 +01:00
Zhiyi Zhang
fe7e7c62ee bcrypt: Fix an possible out-of-bounds read (Coverity). 2024-01-17 11:07:00 +01:00
Zhiyi Zhang
4afca1787f msi: Fix a memory leak (Coverity). 2024-01-17 11:07:00 +01:00
Zhiyi Zhang
b0de71f214 wldap32: Fix a possible memory leak (Coverity). 2024-01-17 11:07:00 +01:00
Biswapriyo Nath
e031a0d0da include: Add missing macros in devenum.idl. 2024-01-17 11:07:00 +01:00
Biswapriyo Nath
407bfcf985 include: Add D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Biswapriyo Nath
51e1f5e43d include: Add D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Biswapriyo Nath
e63a998420 include: Add D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Biswapriyo Nath
0c2cdfffd9 include: Add D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Fabian Maurer
31f340edfd wow64win: Add missing break inside packed_result_32to64 (Coverity). 2024-01-17 11:01:18 +01:00
Fabian Maurer
1fc50847e0 winedbg: Add missing break inside fetch_value (Coverity). 2024-01-17 11:01:16 +01:00
Fabian Maurer
ed18b66ceb wmiutils: Always zero path->namespaces in parse_text (Coverity).
When the malloc for len_namespaces should fail namespaces
would be uninitialized and passed to free.
2024-01-17 11:00:56 +01:00
Fabian Maurer
83bcb752a2 localspl: In fpScheduleJob leave critical section in error case (Coverity). 2024-01-17 11:00:37 +01:00