Commit graph

171272 commits

Author SHA1 Message Date
Elizabeth Figura 7693cbe39c wined3d: Remove the no longer used wined3d_context.fog_coord field. 2024-05-29 10:41:28 +02:00
Fabian Maurer 7b2ff97773 riched20: In para_set_fmt protect against out of bound cTabStop values.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56730
2024-05-29 10:41:23 +02:00
Rémi Bernon a3b22d3bf7 win32u: Only keep DPI awareness context with window objects. 2024-05-28 20:45:11 +02:00
Rémi Bernon 37252fd505 win32u: Fix SetThreadDpiAwarenessContext. 2024-05-28 20:44:39 +02:00
Rémi Bernon dc05a4499e win32u: Pass the DPI awareness context in win_proc_params. 2024-05-28 20:44:39 +02:00
Rémi Bernon cda7027bc8 win32u: Get the thread DPI context instead of the awareness. 2024-05-28 20:44:39 +02:00
Dmitry Timoshkov 7103be9c1b user32/tests: Add a test to show that SendMessage(LB_SETCOUNT) adds a scrollbar.
In addition to existing tests this shows that the call
SendMessage(listbox, LB_SETCOUNT, 100, 0);
adds a scrollbar to the listbox however it doesn't add a nonclient area to
an update region because the call
ValidateRect(listbox, NULL);
validates a client area, and after that a window no longer has an update region.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-05-28 20:42:56 +02:00
Danyil Blyschak 11a386960e wineps.drv: Only merge dmDefaultSource member of devmodes when a slot is found.
In the PSDRV_MergeDevmodes and merge_devmodes functions, there is a
check earlier to update dmDefaultSource only if a slot is found, and so
this member should not be updated again with no such check.
2024-05-28 20:42:39 +02:00
Eric Pouech b3fa23e88d conhost: Fix display of font preview in 64-bit mode.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-28 20:42:29 +02:00
Zhiyi Zhang 23c5d4c065 comctl32/ipaddress: Delete font when destroying the control.
For bug for bug compatibility, delete the font set by WM_SETFONT when destroying the control even if
the font is not owned by the control according to tests.
2024-05-28 20:42:02 +02:00
Zhiyi Zhang c9452db769 comctl32/tooltips: Don't duplicate font when handling WM_SETFONT.
This reverts 06effbf0.
2024-05-28 20:42:00 +02:00
Zhiyi Zhang 480598680c comctl32/syslink: Don't delete font when destroying the control.
The font set by WM_SETFONT is not owned by syslink so it shouldn't be deleted when handling
WM_DESTROY for the control.

Fix Toad for Oracle text gets reset to the system font after installing Team Coding. The application
creates a font and set it to a syslink. Then after the syslink destroys itself, the font becomes
invalid so other controls using the font end up falling back to the system font.
2024-05-28 20:41:58 +02:00
Zhiyi Zhang daa6f9b1b2 comctl32/tests: Add WM_SETFONT tests. 2024-05-28 20:41:58 +02:00
Paul Gofman b32c69b086 mf: Implement audio capture device enumeration in MFEnumDeviceSources(). 2024-05-28 20:41:42 +02:00
Paul Gofman 499af3e4f2 mf/tests: Add a test for MFEnumDeviceSources(). 2024-05-28 20:41:14 +02:00
Elizabeth Figura a8ea6ae268 wined3d: Remove the no longer used buffer conversion code. 2024-05-28 13:45:13 +02:00
Elizabeth Figura 4f2f51526b wined3d: Remove the no longer needed wined3d_vertex_caps.ffp_generic_attributes flag. 2024-05-28 13:45:13 +02:00
Elizabeth Figura a080a2a1a8 wined3d: Remove the no longer needed wined3d_vertex_caps.xyzrhw flag. 2024-05-28 13:45:13 +02:00
Elizabeth Figura 1acb951be1 wined3d: Remove the no longer needed fragment_caps.color_key flag. 2024-05-28 13:45:13 +02:00
Elizabeth Figura fdbb5232d4 wined3d: Remove the no longer needed fragment_caps.srgb_texture flag. 2024-05-28 13:45:13 +02:00
Alexandre Julliard 014cd36a56 msvcrt: Only export stubs of thiscall functions on i386.
The mangled names are different on platforms without thiscall.
2024-05-28 13:45:13 +02:00
Alexandre Julliard 4701e2bae0 msvcrt: Only export thiscall functions on i386.
The mangled names are different on platforms without thiscall.
2024-05-28 13:45:13 +02:00
Alexandre Julliard 9f6654652d msvcp: Only export stubs of thiscall functions on i386.
The mangled names are different on platforms without thiscall.
2024-05-28 13:45:13 +02:00
Alexandre Julliard b235c96408 msvcp: Only export thiscall functions on i386.
The mangled names are different on platforms without thiscall.
2024-05-28 13:45:12 +02:00
Alexandre Julliard 43191a3a02 msvcp140: Sort entry points by function instead of platform.
This makes it easier to find missing entries.
2024-05-28 13:45:12 +02:00
Rémi Bernon 63ec330b3a winex11: Stop using a recursive mutex for the window surfaces. 2024-05-28 11:19:16 +02:00
Rémi Bernon 3c21f175b8 winewayland: Stop using a recursive mutex for the window surfaces. 2024-05-28 11:19:16 +02:00
Rémi Bernon 07600c7f37 winemac: Stop using a recursive mutex for the window surfaces. 2024-05-28 11:19:15 +02:00
Rémi Bernon ecb72cf826 wineandroid: Stop using a recursive mutex for the window surfaces. 2024-05-28 11:19:15 +02:00
Rémi Bernon 0afa484b50 win32u: Stop using a recursive mutex for the offscreen surface. 2024-05-28 11:19:15 +02:00
Rémi Bernon 0d2fa879d7 win32u: Remove surface recursive locking requirement. 2024-05-28 11:19:15 +02:00
Rémi Bernon ec700bb712 win32u: Flush window surface when it is fully unlocked. 2024-05-28 11:19:15 +02:00
Rémi Bernon 8cc16edc59 wineandroid: Use DWORD for pixel pointers. 2024-05-28 11:18:20 +02:00
Rémi Bernon e9ec634b62 wineandroid: Fix NtUserSendHardwareInput parameter order. 2024-05-28 11:18:20 +02:00
Krzysztof Bogacki 2a9db2a10c win32u: Remove unused variable from add_vulkan_only_gpus.
Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-05-28 11:18:09 +02:00
Krzysztof Bogacki 3c211c6a07 win32u: Log Vulkan UUIDs when adding GPUs.
Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-05-28 11:18:09 +02:00
Krzysztof Bogacki e2aaba33a9 win32u: Log Vulkan GPU's PCI IDs when matching against them.
We already have input GPU's PCI IDs logged by TRACE above; logging Vulkan GPU's IDs the second time is a bit inconsistent and misleading.

Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-05-28 11:18:08 +02:00
Krzysztof Bogacki acea64b0ac win32u: Use separate variable for inner loop.
Signed-off-by: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
2024-05-28 11:18:06 +02:00
Dmitry Timoshkov 5f7b9a5b83 comctl32/tests: Create a fully updated ListView window.
so that the tests don't get remaining messages from the window
creation process, and verify message sequences for the actually
being tested functionality.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-05-27 22:59:21 +02:00
Rémi Bernon b3bec339d7 win32u: Use NtGdiDdDDICreateDCFromMemory for gdi16 DIBDRV.
Instead of a custom dib_window_surface.
2024-05-27 22:59:21 +02:00
Rémi Bernon b6223da118 win32u: Return UINT from NtUserGetWindowDpiAwarenessContext. 2024-05-27 22:59:21 +02:00
Rémi Bernon bcb33fd859 win32u: Use NtUserCallOnParam for SetThreadDpiAwarenessContext.
And an internal function call when possible.
2024-05-27 22:59:21 +02:00
Rémi Bernon 25a2919a55 user32/tests: Add more GetAwarenessFromDpiAwarenessContext tests. 2024-05-27 22:59:21 +02:00
Rémi Bernon 72ca475da2 user32/tests: Add more AreDpiAwarenessContextsEqual tests. 2024-05-27 22:59:21 +02:00
Rémi Bernon 9f834614a9 user32: Test and implement GetDpiFromDpiAwarenessContext. 2024-05-27 22:59:21 +02:00
Rémi Bernon 1172c4a94e user32: Test and fix IsValidDpiAwarenessContext. 2024-05-27 22:59:21 +02:00
Fabian Maurer 4537dbdcd5 userenv: Add CreateAppContainerProfile stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56724
2024-05-27 22:59:21 +02:00
Piotr Caban 9ff41324ae ntdll: Fix UNC path handling in alloc_module. 2024-05-27 22:59:21 +02:00
Aida Jonikienė 8857aa79bc dxdiagn: Add AGP properties.
Ground Control II complains about AGP acceleration being missing
if these properties don't exist.
2024-05-27 13:14:56 +02:00
Aida Jonikienė 952a2c5b7b dxdiagn: Add bIsD3DDebugRuntime property.
Ground Control II complains about D3D debug runtime being present
if this property doesn't exist.
2024-05-27 13:12:26 +02:00