Commit graph

168515 commits

Author SHA1 Message Date
Alexandros Frantzis
34f392bcfe winewayland.drv: Apply client subsurface position on creation.
We cannot depend on the main surface being committed to after
the client subsurface is created, so perform a commit to ensure
the subsurface position takes effect on creation.
2023-11-29 20:44:57 +01:00
Alexandros Frantzis
dc35c8a7b9 winewayland.drv: Ensure Vulkan parent surface is mapped with proper size.
The client area subsurface (the target of Vulkan rendering) is not going
to be presented properly (or at all) by the compositor if its parent
surface is not mapped or doesn't have the right size, even though the
window may be visible from Wine's perspective. To avoid this issue,
ensure that the parent surface has up-to-date contents in terms of size,
in case these haven't been provided yet, or will never be provided
(e.g., when the Vulkan rendering is fullscreen).
2023-11-29 20:44:56 +01:00
Alexandros Frantzis
d0fb8f637c winewayland.drv: Detect and report vkQueuePresentKHR errors.
If the VkSwapchainKHR extent does not match the target window client
area, report VK_ERROR_OUT_OF_DATE_KHR, to notify the app that it should
recreate the swapchain.

We also report VK_ERROR_OUT_OF_DATE_KHR if the HWND is no longer valid,
to match win32 behavior (e.g., nvidia). The application will eventually
get VK_ERROR_SURFACE_LOST_KHR during the swapchain recreation process.
2023-11-29 20:44:54 +01:00
Alexandros Frantzis
8a4e2546f5 winewayland.drv: Implement vkQueuePresentKHR. 2023-11-29 20:44:52 +01:00
Fabian Maurer
dbf303b00b widl: In type_has_full_pointer recurse for pointer types as well. 2023-11-29 20:44:44 +01:00
Fabian Maurer
f59807c587 widl: Prevent infinite loop when structure contains array of itself.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55115
2023-11-29 20:44:42 +01:00
Louis Lenders
e83ca9b772 shell32: Add stub for SHSetTemporaryPropertyForItem.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55536
2023-11-29 20:41:38 +01:00
Piotr Caban
6a78f71f3c msvcrt: Fix string size passed to CompareString in _mbsnbcoll_l.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55959
2023-11-29 20:41:23 +01:00
Piotr Caban
244b63566a winedump: Fix EMR_EXTTEXTOUTW record dumping when ETO_PDY flag is specified. 2023-11-29 20:40:31 +01:00
Robert Wilhelm
0d6c905add oleaut32: Fix VarR8Round for negative numbers.
Floats with fractional part 0.5000 should be rounded to next even number.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55185
2023-11-29 20:40:04 +01:00
Biswapriyo Nath
56e19e2c5e include: Update d3d12sdklayers.idl from vkd3d.
This corresponds to vkd3d as of a52604da8cae8ce5639eeb20ef263c12bf70e1df commit.
2023-11-29 20:39:03 +01:00
Zebediah Figura
c80f806e86 ntdll: Print a warning when LdrGetProcedureAddress() fails. 2023-11-29 20:38:25 +01:00
Alex Henrie
bc13bda5ee d3dx9_36/tests: Use CRT allocation functions. 2023-11-28 22:58:42 +01:00
Alex Henrie
14158bb57f comdlg32/tests: Use CRT allocation functions. 2023-11-28 22:58:42 +01:00
Jactry Zeng
1967d7cd4d ntdll: Try harder to fallback to neutral locales. 2023-11-28 22:58:42 +01:00
Jactry Zeng
730bdf6c5c ntdll: Initialize locale from Mac language identifiers with script name. 2023-11-28 22:58:42 +01:00
Jactry Zeng
c2f4619db9 ntdll: Use different variable names for Mac locales. 2023-11-28 22:58:42 +01:00
Alexandre Julliard
29a2a7effd winegstreamer: Remove DECLSPEC_HIDDEN usage. 2023-11-28 22:58:42 +01:00
Alexandre Julliard
8f5aa334da wined3d: Remove DECLSPEC_HIDDEN usage. 2023-11-28 22:58:42 +01:00
Alexandre Julliard
9b2353c3b3 opencl: Remove DECLSPEC_HIDDEN usage. 2023-11-28 22:58:42 +01:00
Alexandre Julliard
9a14c4a65b mscoree: Remove DECLSPEC_HIDDEN usage. 2023-11-28 22:58:42 +01:00
Alexandre Julliard
b70154a549 dwrite: Remove DECLSPEC_HIDDEN usage. 2023-11-28 22:58:42 +01:00
Marc-Aurel Zent
7b1fe26bb0 server: Add cross-platform get_path_from_fd function. 2023-11-28 22:58:42 +01:00
Rémi Bernon
f2371a8b47 wineboot: Compute and write the TSC frequency to registry ~Mhz.
In HKEY_LOCAL_MACHINE\\HARDWARE\\DESCRIPTION\\System\\CentralProcessor

Some games such as Horizon Zero Dawn use this registry value to
correlate values from rtdsc to real time.

Returning the nominal/maximum cpu frequency here causes the game to run
in slow motion as it may not match the tsc frequency of the processor.

Based on patches from Arkadiusz Hiler and Joshua Ashton.
2023-11-28 22:58:42 +01:00
Louis Lenders
44cbc8ef84 shell32: Add stub for SHCreateItemWithParent.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55851
2023-11-28 22:58:42 +01:00
Eric Pouech
6a4dca0e5b ntdll: Return NULL in RtlFindExportedRoutine for forwarded entries.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 22:58:42 +01:00
Eric Pouech
8e00767fb4 uninstall: No longer use console/file output APIs.
Regular GUI apps don't.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 22:58:42 +01:00
Eric Pouech
1ba6a13528 winecfg: Output with MESSAGE.
Regular GUI programs don't use console nor std I/O.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 22:58:42 +01:00
Eric Pouech
e048f71ecb msiexec: No longer use console/file output APIs.
Regular GUI apps don't.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 22:58:42 +01:00
Rémi Bernon
6e85177aa7 explorer: Cache the balloon window position. 2023-11-28 08:54:52 +01:00
Rémi Bernon
118810ad3b explorer: Support standalone systray window mode. 2023-11-28 08:54:52 +01:00
Rémi Bernon
b8518d320f explorer: Use an explicit display constant for hidden icons. 2023-11-28 08:54:52 +01:00
Rémi Bernon
b135fa4cd0 explorer: Handle balloon timer in the icons window proc. 2023-11-28 08:54:51 +01:00
Rémi Bernon
5312f6242d explorer: Position the balloons relative to the icon windows. 2023-11-28 08:54:51 +01:00
Rémi Bernon
a60050abc8 explorer: Use the icon windows for their tooltips. 2023-11-28 08:54:51 +01:00
Rémi Bernon
76d144477c explorer: Display the individual systray icon windows. 2023-11-28 08:54:51 +01:00
Rémi Bernon
d2ee32bfe6 explorer: Create individual windows for the systray icons. 2023-11-28 08:54:51 +01:00
Rémi Bernon
243433623a explorer: Split systray add/remove from show/hide_icon. 2023-11-28 08:54:51 +01:00
Rémi Bernon
2e82d57d75 explorer: Remove unnecessary displayed icon array. 2023-11-28 08:54:49 +01:00
Eric Pouech
6343dc6c95 dmime: Add Release() on some codepaths.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-28 00:08:41 +01:00
Torge Matthies
b138be092e wineandroid.drv: Set PFD_SUPPORT_COMPOSITION for hardware-accelerated pixel formats.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53500
2023-11-27 23:25:08 +01:00
Torge Matthies
7eb0c463fa winemac.drv: Set PFD_SUPPORT_COMPOSITION for hardware-accelerated pixel formats.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53500
2023-11-27 23:25:08 +01:00
Torge Matthies
208a40cd61 winex11.drv: Set PFD_SUPPORT_COMPOSITION for hardware-accelerated pixel formats.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53500
2023-11-27 23:25:08 +01:00
Fabian Maurer
a5754a4f2f user32: Fix spec entry for SetThreadDpiHostingBehavior. 2023-11-27 23:25:08 +01:00
Fabian Maurer
85e355ddf3 user32: Add stub for GetThreadDpiHostingBehavior.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55892
2023-11-27 23:25:08 +01:00
Ziqing Hui
b496a354fa winegstreamer: Implement wg_muxer_finalize. 2023-11-27 22:39:52 +01:00
Ziqing Hui
e36547d26d winestreamer: Implement {Begin,End}Finalize for media sink. 2023-11-27 22:39:52 +01:00
Ziqing Hui
7e575d681d winegstreamer: Avoid media sink command leaking. 2023-11-27 22:39:52 +01:00
Anton Baskanov
a69c7a8aa0 amstream: Use correct index in MediaStreamFilter's IEnumPins::Next(). 2023-11-27 22:39:52 +01:00
Anton Baskanov
150463b39b amstream/tests: Test IEnumPins with two streams. 2023-11-27 22:39:52 +01:00