Commit graph

162327 commits

Author SHA1 Message Date
Alistair Leslie-Hughes 5b9496ade6 msdasql: Always return affected rows if required.
When using msadosql it always returns the number of records
affected or records returned by a SELECT statement.

The access database, which is what the defaults tests are using
doesn't return the number of records for a SELECT.
It's a known issue that you have to MoveLast/MoveFirst before
the correct RecordCount value is return for an Access DB.
2023-02-16 10:35:21 +01:00
Alistair Leslie-Hughes a40d67e04a msdasql: Use SQLDriverConnectW to connect to the ODBC driver. 2023-02-16 10:35:21 +01:00
Alistair Leslie-Hughes 96e18688e9 include: Add missing SQL prototype. 2023-02-16 10:31:56 +01:00
Connor McAdams ed1ed6aeb3 uiautomationcore: Add support for UIA_NamePropertyId to MSAA providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-16 10:28:28 +01:00
Connor McAdams bb66ad4459 uiautomationcore: Implement get_BoundingRectangle for MSAA providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-16 10:28:28 +01:00
Connor McAdams 2b8c8be7bd uiautomationcore: Add support for UIA_ValueIsReadOnlyPropertyId.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-16 10:28:28 +01:00
Connor McAdams 44aa2ea89f uiautomationcore: Add support for UIA_BoundingRectanglePropertyId.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-16 10:28:26 +01:00
Eric Pouech df5f6f66de kernelbase: Re-implement EnumProcessModules on top of EnumProcessModulesEx.
Note: this patch changes the results of EnumProcessModules for a wow64
target process called from a 64bit process.

It now returns:
- main module and all loaded 64bit modules (Wine multi-arch wow64 and
  Windows)
- main module only (Wine "old" wow64).
It used to return all the 32bit modules.
You now must use EnumProcessModulesEx(..., LIST_MODULES_32BIT) to get
that result.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-15 21:48:33 +01:00
Eric Pouech 00bf7293af psapi: Add more tests for EnumProcessModules().
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-15 21:48:33 +01:00
Eric Pouech 82e3e014be dbghelp: Use EnumProcessModulesEx().
In order to get 32bit modules for a wow64 process.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-15 21:48:33 +01:00
Eric Pouech 34120921d9 dbgeng: Use EnumProcessModulesEx().
In order to get 32bit modules for a wow64 process.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-15 21:48:33 +01:00
Eric Pouech e38455a218 psapi/tests: Test directory of enumerated loaded modules.
Showing that Wine incorrectly reports, for a Wow64 process, the system
DLLs from within the wow64 directory while they should be from system32.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-15 21:48:33 +01:00
Rémi Bernon 333ab2b4d6 include: Add Imm(Get|Set)HotKey declarations. 2023-02-15 21:48:33 +01:00
Rémi Bernon f371309f6d include: Fix ImeToAsciiEx declaration. 2023-02-15 21:48:33 +01:00
Rémi Bernon 2fdfe16c2d include: Fix ImeInquire declaration. 2023-02-15 21:48:33 +01:00
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