Commit graph

165887 commits

Author SHA1 Message Date
Davide Beatrici
a5e3e5efa0 mmdevapi: Import get_device_name_from_guid() from driver. 2023-07-27 11:47:34 +09:00
Davide Beatrici
dd6807b408 winepulse: Export get_device_name_from_guid(). 2023-07-27 11:47:34 +09:00
Davide Beatrici
10075a9e92 wineoss: Export get_device_name_from_guid(). 2023-07-27 11:47:33 +09:00
Davide Beatrici
5a0d3fc31d winecoreaudio: Export get_device_name_from_guid(). 2023-07-27 11:47:33 +09:00
Davide Beatrici
fbb03f929b winealsa: Export get_device_name_from_guid(). 2023-07-27 11:47:30 +09:00
Georg Lehmann
b5e19a33c9 winevulkan: Update to VK spec version 1.3.259. 2023-07-24 22:52:22 +02:00
Aurimas Fišeras
330ef7a10b po: Update Lithuanian translation. 2023-07-24 22:52:22 +02:00
Zebediah Figura
3d02e9870a httpapi/tests: Do not test that a local TCP port is closed.
I suspect the intent of this test was to verify that httpapi really doesn't bind
to that port. That HttpAddUrlToUrlGroup() fails implies this, but paranoia in a
case like this is rarely unwarranted.

However, this test cannot reliably succeed; some other operating system
component may open a TCP port in the meantime, and it appears that on Windows 10
this does in fact happen.

Since the goal of the test is just extra paranoia, I don't think it's worth
keeping.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55127
2023-07-24 22:52:22 +02:00
Zebediah Figura
01afb21bf2 ws2_32: Move the event reset in WSAEnumNetworkEvents() to the server.
So that it is done atomically with retrieving events.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=52474
2023-07-24 22:51:06 +02:00
Zebediah Figura
0a33ac4a53 server: Move the implementation of IOCTL_AFD_GET_EVENTS to a dedicated server call. 2023-07-24 22:51:00 +02:00
Zebediah Figura
8ab7120bad ws2_32/tests: Execute test_iocp() near the end.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54413
2023-07-24 22:49:40 +02:00
Zebediah Figura
ca02b8e4bc ws2_32/tests: Use closesocket(), not close(). 2023-07-24 22:49:40 +02:00
Zebediah Figura
5dc0b0ef88 ws2_32/tests: Update test_write_watch() for Windows 11.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54546
2023-07-24 22:49:40 +02:00
Zebediah Figura
9a43d51e06 ws2_32/tests: Give an event test marked todo a bit more time to fail on Wine.
We are testing that FD_CLOSE isn't generated, but Wine currently generates
FD_CLOSE anyway. However, sometimes Wine does not generate FD_CLOSE immediately,
causing the test to intermittently succeed inside the todo block.

This test is difficult to fix properly—it would involve either (arbitrary?)
buffering in the server, or support from the host OS.

However, we also don't want to make the Windows tests take longer, so add the
200 ms of leeway only on Wine.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54073
2023-07-24 22:49:40 +02:00
Zebediah Figura
f523609219 ws2_32/tests: Increase the timeout on some FD_CLOSE tests.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54073
2023-07-24 22:48:42 +02:00
Fabian Maurer
7da5dff88c gdiplus: Make flatten_bezier_add iterative. 2023-07-24 22:30:38 +02:00
Connor McAdams
a8697c43a7 uiautomationcore: Implement IUIAutomation::{Add/Remove}FocusChangedEventHandler.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-24 22:12:10 +02:00
Connor McAdams
63330c6168 uiautomationcore/tests: Add IUIAutomationFocusChangedEventHandler tests.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-24 22:12:10 +02:00
Connor McAdams
53376c5568 uiautomationcore: Add support for calling COM event handlers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-24 22:12:10 +02:00
Connor McAdams
9ab915a7fb uiautomationcore: Introduce custom clientside event callback function.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-24 22:12:10 +02:00
Connor McAdams
7844a544af uiautomationcore: Use the free threaded marshaler to marshal IUIAutomationElement interfaces.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-24 22:12:10 +02:00
David Kahurani
cfc50b2887 gdiplus/font: Fix GdipGetLogFontW/A with gdi_transform.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-07-24 22:11:52 +02:00
Jinoh Kang
062ef22c45 xmllite: Eliminate DECLSPEC_HIDDEN. 2023-07-24 21:28:04 +02:00
Rémi Bernon
f185161235 mf/tests: Add missing line end in test message. 2023-07-24 14:01:40 +02:00
Rémi Bernon
495cf276d0 mf/tests: Shutdown MF if MP4 source isn't supported. 2023-07-24 14:01:40 +02:00
Jeff Smith
4245b1199c gdiplus: Set correct frame delay when GCE is missing. 2023-07-24 12:09:32 +02:00
Jeff Smith
8c6e578864 gdiplus: Return GIF frame property only if set. 2023-07-24 12:09:32 +02:00
Jeff Smith
f6ef0205b8 gdiplus: Set GIF frame delay and loop count properties correctly.
These properties are expected to be present even if frame count is 1.
2023-07-24 12:09:31 +02:00
Jeff Smith
ba564e2aba gdiplus: Expose GIF background index property only when global color table present. 2023-07-24 12:09:30 +02:00
Jeff Smith
07fa0082bb gdiplus/tests: Allow for testing properties of multiple GIF samples. 2023-07-24 12:09:30 +02:00
Jeff Smith
96540638e7 gdiplus/tests: Factor out property_test_data struct. 2023-07-24 12:09:30 +02:00
Zebediah Figura
70dc4a6a1d amstream/tests: Fix a leak in test_ddrawstream_begin_flush_end_flush(). 2023-07-24 12:09:10 +02:00
Zebediah Figura
97d7d32191 amstream: Release the previous ddraw in ddraw_IAMMediaStream_Initialize(). 2023-07-24 12:09:10 +02:00
Zebediah Figura
e6cc4ae4b4 quartz: Call EnumMatchingFilters() once in autoplug().
Instead of iterating through types one by one and calling EnumMatchingFilters()
on each one, build a list of all media types exposed by the pin and call the
function once.

This avoids trying to pointless autoplug the same filter multiple times, which
speeds up autoplugging greatly for cases when a given filter connects less than
instantaneously. The most prominent example of such a filter is the AVI
decompressor, which has to call ICLocate() on connection. ICLocate() is not a
fast API on Wine, and it is even slower on Windows; this reduces the number of
times we try to call it greatly.
2023-07-24 12:09:05 +02:00
Mohamad Al-Jaf
ce3ccccb2c windows.networking.hostname: Duplicate passed HSTRING in IHostNameFactory::CreateHostName(). 2023-07-24 11:53:28 +02:00
Mohamad Al-Jaf
95bfbdc87f windows.networking.hostname/tests: Check if passed HSTRING is duplicated. 2023-07-24 11:53:26 +02:00
Mohamad Al-Jaf
fc4813ff2f windows.devices.usb/tests: Add IUsbDeviceStatics::GetDeviceSelectorVidPidOnly() tests. 2023-07-24 11:53:21 +02:00
Mohamad Al-Jaf
d78579a24b windows.devices.usb: Implement IUsbDeviceStatics::GetDeviceSelectorVidPidOnly().
Needed for Lenovo Ready for Assistant.
2023-07-24 11:53:21 +02:00
Mohamad Al-Jaf
1450dd791e windows.devices.usb: Add IUsbDeviceStatics stub interface. 2023-07-24 11:53:21 +02:00
Mohamad Al-Jaf
701a050641 windows.devices.usb: Add stub DLL. 2023-07-24 11:53:21 +02:00
Mohamad Al-Jaf
08d0512113 include: Add windows.devices.usb.idl file. 2023-07-24 11:53:01 +02:00
Mohamad Al-Jaf
4871777b78 include: Add support for IAsyncOperation parameterized type IBuffer.
Needed by windows.devices.usb.idl.
2023-07-24 11:52:59 +02:00
Mohamad Al-Jaf
36e3122329 include: Add support for IAsyncOperation UINT32.
Needed by windows.devices.usb.idl.
2023-07-24 11:52:58 +02:00
Jacek Caban
c9a17eb503 win32u: Use user message packing for WM_NCCALCSIZE. 2023-07-24 11:52:55 +02:00
Jacek Caban
9b3aa96899 win32u: Pack messages in WH_CALLWNDPROCRET hooks. 2023-07-24 11:52:55 +02:00
Jacek Caban
7cc06fb999 win32u: Pack messages in WH_CALLWNDPROC hooks. 2023-07-24 11:52:55 +02:00
Jacek Caban
af95fc8c4f win32u: Use user message packing for HCBT_CREATEWND hooks. 2023-07-24 11:52:55 +02:00
Jacek Caban
2d8b65c214 win32u: Use CREATESTRUCTW struct layout to pass WM_CREATE message params to client. 2023-07-24 11:52:53 +02:00
Alexandre Julliard
eac34b9c85 Release 8.13. 2023-07-21 22:25:58 +02:00
Paul Gofman
a7ba208679 user32/tests: Change display mode for correct monitor in check_preferred_mode().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55065
2023-07-21 21:44:50 +02:00