Commit graph

168916 commits

Author SHA1 Message Date
Hans Leidekker a9193a200f bcrypt: Add support for setting DH parameters. 2024-01-18 18:08:53 +01:00
Alexandre Julliard 2c8b60af43 user32: Return result through NtCallbackReturn for the window hook callback. 2024-01-18 18:08:49 +01:00
Alexandre Julliard 3f9de12980 user32: Return result through NtCallbackReturn for the enum monitors callback. 2024-01-18 18:08:49 +01:00
Alexandre Julliard a9e42169ca user32: Return result through NtCallbackReturn for the draw text callback. 2024-01-18 18:08:49 +01:00
Alexandre Julliard ee106102c5 user32: Return result through NtCallbackReturn for the load sys menu callback. 2024-01-18 18:08:49 +01:00
Alexandre Julliard 33793446c4 user32: Return result through NtCallbackReturn for the load image callback. 2024-01-18 18:08:48 +01:00
Alexandre Julliard a60747c755 user32: Return result through NtCallbackReturn for the copy image callback. 2024-01-18 18:08:48 +01:00
Alexandre Julliard cdf7b1bb77 user32: Return result through NtCallbackReturn for the thunk lock callback. 2024-01-18 18:08:48 +01:00
Alexandre Julliard 85e351abaf user32: Return result through NtCallbackReturn for the DDE message callback. 2024-01-18 18:08:48 +01:00
Zhiyi Zhang 386e9fef2b user32/tests: Add recursive WM_SETCURSOR message tests.
This test show that WM_SETCURSOR gets handled recursively, so in process_mouse_message(),
accept_hardware_message() can be called after sending WM_SETCURSOR and no changes are needed there.
2024-01-18 18:08:48 +01:00
Zhiyi Zhang f110dc58ba win32u: Avoid calling WH_CBT HCBT_CLICKSKIPPED hooks recursively.
Previously, accept_hardware_message() is called after WH_CBT HCBT_CLICKSKIPPED hooks. So when
these hooks call PeekMessage(), they will be called recursively. Note that WH_MOUSE hooks do
get called recursively according to tests.
2024-01-18 18:08:48 +01:00
Zhiyi Zhang a676f094f6 win32u: Avoid calling WH_KEYBOARD and WH_CBT HCBT_KEYSKIPPED hooks recursively.
Previously, accept_hardware_message() is called after WH_KEYBOARD and WH_CBT HCBT_KEYSKIPPED hooks.
So when PeekMessage() gets called in WH_KEYBOARD and WH_CBT HCBT_KEYSKIPPED hooks, the hooks will be
called recursively because the message is still in the server message queue.

Fix Toad for Oracle F3 find next function not working properly because its WH_KEYBOARD hook gets
called too many times.
2024-01-18 18:08:48 +01:00
Zhiyi Zhang 3c9e57d57f user32/tests: Add recursive keyboard and mouse hook tests. 2024-01-18 18:08:48 +01:00
Alex Henrie 98e14329dd mgmtapi: AddSnmpMgrOpen stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56062
2024-01-18 18:08:48 +01:00
Alex Henrie 3fbdd41297 include: Add mgmtapi.h and LPSNMP_MGR_SESSION. 2024-01-18 18:08:48 +01:00
Jinoh Kang 015434d24c ntdll/tests: Restore x86-64 #AC exception test in test_exceptions(). 2024-01-18 18:08:48 +01:00
Jinoh Kang b07ce09982 ntdll/tests: Avoid misaligned load in exception handler code in run_exception_test_flags().
This is required for testing EH behavior on alignment check (#AC)
exceptions.
2024-01-18 18:08:48 +01:00
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