Commit graph

162294 commits

Author SHA1 Message Date
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
Francois Gouget
cac02872c6 winetest: Avoid an infinite loop in vstrfmtmake() when the format is NULL.
When the format is NULL vsnprintf() always returns -1 so we keep
doubling the allocated memory until running out of memory.
2023-02-14 09:57:07 +01:00
Francois Gouget
b07129bad4 winetest: Don't use plain strings as format specifiers.
When they contain a percent character they would, at best, not be
printed correctly, and at worst cause a crash.
2023-02-14 09:57:07 +01:00
Aurimas Fišeras
be6cc4f135 po: Update Lithuanian translation. 2023-02-14 09:51:34 +01:00
Eric Pouech
25743d46f4 riched20/tests: Add retry loop around OpenClipboard() to avoid access denial.
Reusing existing helper from user32 & comctl32.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47888
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-13 22:18:03 +01:00
Eric Pouech
4fd5252f63 riched20/tests: Ensure clipboard has been pasted before testing the result.
The patch does reduce error failures locally.

For the record:
- WM_PASTE in undo operations haven't been transformed (as it requires
  UNDO stack manipulation in a coherent way across platforms)

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47888
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-13 22:17:58 +01:00
Eric Pouech
1b7a918bd7 riched20: Support SFF_SELECTION when streaming in plain text.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-13 22:17:57 +01:00