Commit graph

162300 commits

Author SHA1 Message Date
Alex Henrie e60e8af0a9 ntoskrnl: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-15 21:48:33 +01:00
Alex Henrie 9cbbcb409c kernelbase: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-15 19:55:12 +01:00
Alex Henrie 1798bcd540 wow64: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-15 19:55:12 +01:00
Alex Henrie 956005d338 krnl386: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-15 19:55:12 +01:00
Jason Millard 72b86f967e oleaut32: Fix VarAbs function for BSTR with positive values. 2023-02-15 10:19:59 +01:00
Jacek Caban 23f0df4201 oleaut32: Remove overflow check for VT_R4 and VT_R8 in VarAbs. 2023-02-15 10:19:57 +01:00
Connor McAdams 23c10c928b uiautomationcore: Add UiaRaiseChangesEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams e84b95ef6f uiautomationcore: Add UiaRaiseNotificationEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams 5e7356c8db uiautomationcore: Add UiaRaiseTextEditTextChangedEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams c928ae56e4 uiautomationcore: Add UiaRaiseAsyncContentLoadedEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams 8f70e20fbd uiautomationcore: Add UiaRaiseStructureChangedEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Max Figura 0dfc946105 wined3d: Move the WINED3D_RS_MONOENABLE stub to wined3d_device_apply_stateblock. 2023-02-14 20:57:09 +01:00
Max Figura 089ef6f38b wined3d: Move the WINED3D_RS_WRAPV stub to wined3d_device_apply_stateblock. 2023-02-14 20:57:09 +01:00
Max Figura ef4a893e2e wined3d: Move the WINED3D_RS_WRAPU stub to wined3d_device_apply_stateblock. 2023-02-14 20:57:09 +01:00
Max Figura c126a7eacd wined3d: Move the WINED3D_RS_TEXTUREPERSPECTIVE stub to wined3d_device_apply_stateblock. 2023-02-14 20:57:09 +01:00
Max Figura 8bb11da528 wined3d: Move the WINED3D_RS_ANTIALIAS stub to wined3d_device_apply_stateblock. 2023-02-14 20:57:09 +01:00
Paul Gofman 9bcc90fb4b imm32: Disable cross thread access for ImmSetCompositionString(). 2023-02-14 20:57:09 +01:00
Zebediah Figura 97b836a938 wined3d: Destroy objects belonging to wined3d_device_gl.completed_fence_id.
Not just those belonging to earlier completed fences.

completed_fence_id names the most recent fence to be completed. In essence, this fixes an off-by-one error.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53217
2023-02-14 20:57:09 +01:00
Zebediah Figura a1b3a79895 wined3d: Destroy objects belonging to wined3d_context_vk.completed_command_buffer_id.
Not just those belonging to earlier completed command buffers.

completed_command_buffer_id names the most recent command buffer to be completed. In essence, this fixes an off-by-one error.
2023-02-14 20:57:09 +01:00
Zebediah Figura 80bb094e4a d3d11: Expand tests for IDXGIResource. 2023-02-14 20:57:09 +01:00
Zebediah Figura 555cee6449 dxgi: Implement IDXGIResource::GetUsage(). 2023-02-14 20:57:09 +01:00
Zebediah Figura 302996efae wined3d: Introduce wined3d_texture_get_swapchain(). 2023-02-14 20:57:09 +01:00
Jinoh Kang 5242546465 ntdll: Fix integer overflow in RtlUniform.
The integer overflow bug in RtlUniform has been fixed since Windows
Vista.  Synchronize Wine's version accordingly.
2023-02-14 20:57:09 +01:00
Jinoh Kang b4ca6643b7 ntdll/tests: Update test_RtlUniform to match Windows Vista or later.
Today, test_RtlUniform() skips almost all of its tests on Windows Vista
or later.  The skipped tests only succeed in Windows XP, and fail on
Windows Vista or later.

This is because RtlUniform()'s behavior has changed, presumably due to a
bug fix shipped in Windows Vista.  It appears that RtlUniform, a linear
congruential generator, could overflow before computing the modulo in
WindoWs XP.  This is no longer the case in Windows Vista or later.

Meanwhile, we no longer support Windows XP behavior and thus do not test
for it regularly; therefore, the tests are obsolete as of 2023.

Remove obsolete tests that no longer work with any of the Windows
versions actively tested by WineHQ (as of 2023), and replace them with
updated tests that works in the Windows versions from Vista up to 10.
2023-02-14 20:57:09 +01:00
Zebediah Figura 89e68fa9c9 ddraw/tests: Test that presenting does not set the pixel format on a window without one. 2023-02-14 20:57:09 +01:00
Zebediah Figura 5287d375a6 d3d8/tests: Test that presenting does not set the pixel format on a window without one. 2023-02-14 20:57:09 +01:00
Zebediah Figura 5535d834ee d3d9/tests: Test that presenting does not set the pixel format on a window without one. 2023-02-14 20:57:09 +01:00
Zebediah Figura 02b482f47b ddraw/tests: Remove unnecessary skips and conditionals from test_pixel_format().
We do not expect normal CreateWindow() and GetDC() calls to ever fail.
2023-02-14 20:57:09 +01:00
Rémi Bernon b3aea08c31 dinput: Use a WH_CBT hook instead of WH_CALLWNDPROC.
WH_CALLWNDPROC hooks are called on every message, but we only need it
for the activation messages. WH_CBT hooks are called for a few events
only, which is much lighter, as we need to use a global hook to track
windows which belong to any other thread.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54431
2023-02-14 20:57:09 +01:00
Rémi Bernon 20a835a20b dinput: Name input thread message and wparam values.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54431
2023-02-14 20:57:09 +01:00
Rémi Bernon 7f9fb63aec dinput: Split dinput_unacquire_window_devices helper.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54431
2023-02-14 20:57:09 +01:00
Francois Gouget cde58336b5 dpnet/tests: Fix the unexpected async handle traces. 2023-02-14 20:57:09 +01:00
Alexandre Julliard 46d0da53b6 ntdll: Replace the wine_server_handle_to_fd() syscall by a Unix call. 2023-02-14 20:57:09 +01:00
Alexandre Julliard 6d27bcbe2c ntdll: Replace the wine_server_fd_to_handle() syscall by a Unix call. 2023-02-14 20:57:09 +01:00
Alexandre Julliard 8a3ba513ff ntdll: Replace the wine_server_call() syscall by a Unix call. 2023-02-14 20:57:09 +01:00
Alexandre Julliard a14b4c7d0d ntdll: Replace the __wine_unix_spawnvp() syscall by a Unix call. 2023-02-14 20:57:09 +01:00
Alexandre Julliard 5c62fe0bfe ntdll: Replace the __wine_dbg_write() syscall by a Unix call. 2023-02-14 20:57:09 +01:00
Alexandre Julliard 7406583e5b ntdll: Store the unixlib handle at ntdll load time. 2023-02-14 20:57:09 +01:00
Alexandre Julliard 157be05143 ntdll: Use the standard unixlib macro for Unix calls. 2023-02-14 20:57:09 +01:00
Zebediah Figura 0ac2166cec user32: Pass BSMINFO in BroadcastSystemMessageExA(). 2023-02-14 20:57:09 +01:00
Francois Gouget 348fafcdbb winevulkan: Add a trailing linefeed to some FIXME() thunk messages. 2023-02-14 20:57:08 +01:00
Francois Gouget 9338531ee4 winex11.drv: Fix a typo in a comment. 2023-02-14 09:58:03 +01:00
Francois Gouget 96c8d38360 winevulkan: Fix a typo in a comment. 2023-02-14 09:58:03 +01:00
Francois Gouget a72415ce5d winegstreamer: Fix a typo in a comment. 2023-02-14 09:58:03 +01:00
Francois Gouget 511f98280d uiautomationcore: Fix a typo in a FIXME() message. 2023-02-14 09:58:03 +01:00
Francois Gouget ed03f20d60 spoolss/tests: Fix a typo in a comment. 2023-02-14 09:58:03 +01:00
Francois Gouget 2f3d4d8fa1 kernel32/tests: Fix a typo in a comment. 2023-02-14 09:58:03 +01:00
Francois Gouget d9ccc8664c dbghelp: Fix a typo in a comment. 2023-02-14 09:58:03 +01:00
Francois Gouget 98d7826d0e crypt32/tests: Fix a typo in a comment. 2023-02-14 09:58:02 +01:00
Francois Gouget edf88aa9df d3dcompiler/tests: Allow more imprecision in test_trig() for NVIDIA.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54150
2023-02-14 09:58:02 +01:00