Commit graph

158104 commits

Author SHA1 Message Date
Giovanni Mascellani 2f83de8cff mfplat/buffer: Deduplicate common code between Lock2D() and Lock2DSize().
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-01 19:16:16 +02:00
Alexandre Julliard 49f8704aac ntdll: Add atan2.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-01 19:16:16 +02:00
Alexandre Julliard 6f16956c0b ntdll: Add _ftol2 and _ftol2_sse.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-01 19:16:16 +02:00
Alexandre Julliard 607a38246b ntdll: Add _vscprintf and _vscwprintf.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-01 19:16:16 +02:00
Alexandre Julliard 5b36a00b4d ntdll: Add bsearch_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-01 19:16:16 +02:00
Alexandre Julliard d1cc31cebb ntdll: Add qsort_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-01 19:16:16 +02:00
Zhiyi Zhang 00eff14f33 winex11.drv: Use a global Vulkan instance in X11DRV_D3DKMTOpenAdapterFromLuid().
This avoids opening multiple Vulkan instances when multiple D3D kernel mode adapters are open.
Some tests that leak reference to D3D adapters crash because of out of memory errors before this
patch.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53201
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53231
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53235
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-01 16:12:09 +02:00
Zebediah Figura a4aabcd1b5 wineusb.sys: Create a separate unix_device struct to wrap the libusb device handle.
Keep unix_device objects in a separate list.
2022-07-01 16:10:10 +02:00
Zebediah Figura 0b02f2e950 wineusb.sys: Do not store a reference to the libusb device in the usb_device structure.
Retrieve it from the handle if necessary.

For simplicity.
2022-07-01 16:10:09 +02:00
Zebediah Figura 8599b204d4 wineusb.sys: Cache members of the device descriptor in the usb_device structure.
These are already cached by libusb, but for convenience we want to cache them on the PE side.
2022-07-01 16:10:08 +02:00
Zebediah Figura e61498c0f2 wineusb.sys: Move the libusb_cancel_transfer() call to a new Unix library. 2022-07-01 16:10:06 +02:00
Nikolay Sivov 9513f8a184 d2d1/tests: Add some tests for enum property structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-01 16:08:18 +02:00
Claire Girka 67f9c76386 mmdevapi: Override product strings for DualSense controller audio devices.
Some games expect the DualSense audio device (used for haptic feedback and
controller speaker) to be called “Wireless Controller”.
2022-06-30 19:03:30 +02:00
Georg Lehmann fda62d4b19 winevulkan: Update to VK spec version 1.3.219.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-06-30 19:03:01 +02:00
Hugh McMaster ab03ecf7bc regedit: Allow renaming of values in root keys.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-30 19:02:17 +02:00
Hans Leidekker 0a10bfc8b1 secur32: Return a SECBUFFER_MISSING buffer from the handshake if the input message is incomplete. 2022-06-30 19:02:02 +02:00
Hans Leidekker fc701aa14c wininet: Remove assertion that is no longer valid in Windows 10. 2022-06-30 19:01:57 +02:00
Hans Leidekker 80a2c66441 winhttp: Remove assertion that is no longer valid in Windows 10. 2022-06-30 19:01:57 +02:00
Ziqing Hui 34a701f29e d2d1/tests: Test value size checking for custom properties.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:54 +02:00
Ziqing Hui 5a58ea8c2a d2d1/tests: Add tests for GetPropertyCount().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:54 +02:00
Ziqing Hui 3462a31bd9 d2d1/tests: Add tests for system properties attributes.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:54 +02:00
Nikolay Sivov 7b15245d43 d2d1/effect: Initial implementation of subproperties.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-30 12:32:52 +02:00
Brendan Shanks ee0fd30e58 ntdll: Use +threadname channel for SetThreadDescription().
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
2022-06-30 12:32:48 +02:00
Brendan Shanks 8a61b7c2eb ntdll: Use +threadname channel for thread rename exceptions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
2022-06-30 12:32:48 +02:00
Eric Pouech fc128f661d d3d10core: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Zhiyi Zhang 2e0a56257a mfplat/tests: Fix resource leaks.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53235
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 12:32:48 +02:00
Zhiyi Zhang 9678d0f9f5 d2d1/tests: Fix resource leaks.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53231
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 12:32:48 +02:00
Zhiyi Zhang 0519f53ca0 evr/tests: Fix resource leaks.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53201
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 12:32:48 +02:00
Zhiyi Zhang 86034654a8 evr: Release buffer after adding it to sample.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53201
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 12:32:48 +02:00
Alexandre Julliard ca9f357647 ntdll: Add _makepath_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 0c986b2c77 ntdll: Add _wmakepath_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 5d2f0688cf ntdll: Add _splitpath_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 0db689edf4 ntdll: Add _wsplitpath_s.
Implementation copied from msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 911810c51a ntdll: Add _i64toa_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 4e269f75ec ntdll: Add _ui64toa_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard c45abb8a7c ntdll: Add _i64tow_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 703212b67e ntdll: Add _ui64tow_s.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard 9dcfda0233 ntdll: Add _wcstoui64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Alexandre Julliard ae1202cef0 ntdll: Add _wcstoi64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-30 12:32:48 +02:00
Zhiyi Zhang 914b1246d3 light.msstyles: Add window parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:55:02 +02:00
Zhiyi Zhang fe944b26f1 light.msstyles: Add Vista+ trackbar parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:55:01 +02:00
Zhiyi Zhang 4c292e773f light.msstyles: Add Vista+ tooltip parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:59 +02:00
Zhiyi Zhang b1ac164257 light.msstyles: Add Vista+ toolbar parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:58 +02:00
Zhiyi Zhang c894d9a41c light.msstyles: Add taskdialog class.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53066
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:56 +02:00
Zhiyi Zhang b5301fb147 light.msstyles: Add Vista+ tab parts.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-30 10:54:54 +02:00
Rémi Bernon b5c65f1ee0 winex11.drv: Avoid requesting current mode in X11DRV_desktop_get_modes.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:47 +02:00
Rémi Bernon 5cc3808a62 winex11.drv: Merge settings.c into display.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:45 +02:00
Rémi Bernon a4c36cba8d winex11.drv: Use nameless structs and unions in settings.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:44 +02:00
Rémi Bernon b8a639c08c winex11.drv: Rename display settings handlers to settings_handler.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-30 10:54:42 +02:00
Zebediah Figura ff166bac15 user32: Merge rawinput.c into input.c. 2022-06-30 10:54:18 +02:00