Rémi Bernon
68ff9a942e
include: Move ddk/imm.h to immdev.h.
2023-02-15 21:48:33 +01:00
Piotr Caban
667d889d3a
msvcrt: Improve error handling in _wgetenv_s.
2023-02-15 21:48:33 +01:00
Piotr Caban
b7a586771b
msvcrt: Improve error handling in getenv_s.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54486
2023-02-15 21:48:33 +01:00
Piotr Caban
d812af3f12
msvcrt: Don't crash on NULL argument in _wgetenv.
2023-02-15 21:48:33 +01:00
Piotr Caban
86fb5c7ba6
msvcrt: Don't crash on NULL argument in getenv.
2023-02-15 21:48:33 +01:00
Jason Millard
887e72b24e
vbscript: Fix compile when statement after ElseIf or after separator.
2023-02-15 21:48:33 +01:00
Rémi Bernon
aa7a6b8f42
dinput: Use rawinput interface for keyboard device.
2023-02-15 21:48:33 +01:00
Rémi Bernon
a75e0d0622
dinput: Merge all acquired device lists together.
...
This is no longer needed as an optimization.
2023-02-15 21:48:33 +01:00
Rémi Bernon
6e0dd0d8b1
dinput: Merge mouse and rawmouse acquired lists.
2023-02-15 21:48:33 +01:00
Rémi Bernon
5c16cda656
dinput: Avoid entering the hook CS in input_thread_ll_hook_proc.
2023-02-15 21:48:33 +01:00
Rémi Bernon
2d6776e82e
dinput: Introduce keyboard_handle_key_event helper.
2023-02-15 21:48:33 +01:00
Francois Gouget
d384e858c1
atl100/tests: Trace GetLastError() when DeleteFile() fails.
...
test_AtlAxCreateControl()'s DeleteFile() call fails from time to time.
2023-02-15 21:48:33 +01:00
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