Commit graph

168375 commits

Author SHA1 Message Date
Alexandre Julliard d18e32c869 winewayland.drv: Remove DECLSPEC_HIDDEN usage. 2023-11-29 23:16:39 +01:00
Alexandre Julliard fcd587a80e winemac.drv: Remove DECLSPEC_HIDDEN usage. 2023-11-29 23:16:39 +01:00
Alexandre Julliard 35b3ff8ad6 wineandroid.drv: Remove DECLSPEC_HIDDEN usage. 2023-11-29 23:16:39 +01:00
Alexandre Julliard ef9debff60 wineboot: Remove a noisy FIXME. 2023-11-29 23:16:39 +01:00
Paul Gofman 4c9b39964c ntdll: Implement NtQueryInformationThread(ThreadIsTerminated). 2023-11-29 20:46:55 +01:00
Brendan McGrath 72590048b2 d2d1: Acquire lock before attempt to draw to device context.
Ensures the Direct 2D lock is held before attempting to access Direct 2D
exclusive resources.

This fixes periodic crashes in PowerPoint 365
2023-11-29 20:45:23 +01:00
Brendan McGrath e6954d793b d2d1: Add test for singlethreaded draw.
Tests that Direct2D can access D2D exclusive resources whilst the
Direct 2D lock is held if the factory type is single threaded
2023-11-29 20:45:21 +01:00
Brendan McGrath de9eeba7bd d2d1: Add test for multithreaded draw.
Tests that Direct2D can not access D2D exclusive resources whilst the
Direct 2D lock is held
2023-11-29 20:45:20 +01:00
Alexandros Frantzis 7fd9c158d0 winewayland.drv: Implement vkGetPhysicalDevicePresentRectanglesKHR.
This is a simple passthrough implementation to the native Vulkan driver.
2023-11-29 20:45:00 +01:00
Alexandros Frantzis ef35ddeeb8 winewayland.drv: Implement vkGetDeviceGroupSurfacePresentModesKHR.
This is a simple passthrough implementation to the native Vulkan driver,
with the addition of a VkSurfaceKHR invalidation check.
2023-11-29 20:44:58 +01:00
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