Commit graph

168252 commits

Author SHA1 Message Date
Nell Hardcastle 92dcc916fd mmdevapi: Override product strings for DualSense Edge.
Enables audio device features for the DualSense Edge.
2023-11-20 17:47:44 +01:00
Nell Hardcastle 33a3726a05 winebus.sys: Identify DualSense Edge as a DualSense controller.
The DualSense Edge implements extra features (haptics and adaptive triggers)
in the same way as the DualSense.
2023-11-20 17:47:42 +01:00
Michael Stefaniuc 466c97008c quartz: Remove redudant NULL checks before CoTaskMemFree(). 2023-11-20 17:44:52 +01:00
Michael Stefaniuc 7113bef649 winegstreamer: Remove redundant NULL check before free(). 2023-11-20 17:44:52 +01:00
Marc-Aurel Zent f715f400dc ntdll: Use IOPowerSources API to fill battery info on macOS. 2023-11-20 17:44:30 +01:00
Nikolay Sivov 2dd3a20520 dxva2/tests: Skip tests if D3D9 is unusable.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-11-20 17:43:54 +01:00
Piotr Caban 4623c41100 msvcrt: Add _mbsrev tests. 2023-11-20 17:43:46 +01:00
Piotr Caban c180a902c0 msvcrt: Avoid temporary buffer allocation in _mbsrev_l. 2023-11-20 17:43:46 +01:00
Bernhard Übelacker 71b3d10f95 uxtheme: Add stub for RefreshImmersiveColorPolicyState.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55898
2023-11-20 17:43:33 +01:00
Nikolay Sivov 05892c2369 evr/tests: Skip tests if D3D9 is unusable.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-11-20 17:43:20 +01:00
Nikolay Sivov 055e2c166e evr/presenter: Handle failure to initialize D3D9.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-11-20 17:43:19 +01:00
Paul Gofman f27dd7740c windowscodecs: Enable WICPixelFormat32bppBGRA in BMP encoder. 2023-11-20 17:43:05 +01:00
Daniel Lehman e55cae42b0 msxml3/tests: Add tests for default namespace. 2023-11-20 17:42:57 +01:00
Daniel Lehman 712b33c171 msxml4/tests: Add tests for default namespace. 2023-11-20 17:42:57 +01:00
Daniel Lehman 6a7c53130f msxml6/tests: Add tests for default namespace. 2023-11-20 17:42:57 +01:00
Rémi Bernon 8ffebcf4ab evr: Set last presented sample atomically.
Fixes a race condition and crashes in Secret of Mana.

The queue critical section is held in video_presenter_sample_present
while GetCurrentImage only locks the presenter CS. Double locking is
tricky and atomic operation is appropriate to swap the sample pointer.
2023-11-20 17:40:35 +01:00
Tim Clem 7c45c7c5eb winemac.drv: Move surface-related logs to the bitblt channel.
The logs in this file are very noisy. x11drv uses the bitblt channel
for its analogous messages.
2023-11-17 19:56:10 +01:00
Jacek Caban 1bd4bcaa4a ole32/tests: Remove unused variable. 2023-11-17 19:54:48 +01:00
Paul Gofman 5415eb7c37 gdiplus: Round width and height in gdip_format_string(). 2023-11-17 19:54:39 +01:00
Bartosz Kosiorek 65f7d5ec48 msvcrt: Add _mbsspnp_l implementation. 2023-11-17 19:54:28 +01:00
Bartosz Kosiorek c94671324e msvcrt: Fix _mbsspn_l implementation. 2023-11-17 19:54:28 +01:00
Tim Clem adfb58f17d msvcrt: Pass INT_MAX as the length in implementations of the _mbscoll family.
A length of -1 has no special meaning for the mbsn*coll functions, and
since it is > INT_MAX, it will eventually trigger _invalid_parameter in
_strnicmp_l in newer versions of msvcrt.
2023-11-17 19:54:17 +01:00
Jacek Caban e3709b0c9d gdiplus: Remove unused variable. 2023-11-17 19:54:09 +01:00
Jacek Caban 93668319dd msi/tests: Initialize pathkey in test_installprops.
It could be used uninitialized on early no access return.
2023-11-17 19:54:00 +01:00
Jacek Caban 2daa8c9f95 msi: Store Context as MSIINSTALLCONTEXT in MSIPACKAGE.
Avoids casting to enum pointer in msi_locate_product call.
2023-11-17 19:53:59 +01:00
Zebediah Figura 877a072efa wined3d: Set the active texture in nvts_texdim(). 2023-11-17 19:53:51 +01:00
Zebediah Figura 8da8dc94e2 wined3d: Set the active texture in sampler_texdim().
This was probably accidentally omitted in 51e64b3fe9.

In practice, this is guaranteed to work anyway, since due to the state table
construction the equivalent misc handler, i.e. sampler(), is always guaranteed
to be called right before the fragment pipeline handler for each stage. However,
this is a subtle detail and best not to be depended on.
2023-11-17 19:53:48 +01:00
Zebediah Figura 60e4722bcf wined3d: Trigger constant update when an SRV requiring NPOT fixup is bound.
Ported from state_sampler().

This is currently relevant to the case where a d3d11 device is created with a
9.x feature level—this will have resources bound via SRVs [and will therefore
go through wined3d_context_gl_bind_shader_resources() rather than
state_sampler()] but need not support ARB_texture_non_power_of_two.

The NPOT non-requirement is explicitly called out in the d3d11 documentation,
and because we need some degree of emulation for conditional NPOT textures, we
need to hook that up for feature level 9.x d3d11 devices as well.

Looking forward, d3d 1-9 will be normalized to creating internal SRVs and
binding those through the d3d10+ path, so this will also be necessary for that
reason.
2023-11-17 19:53:45 +01:00
Zebediah Figura 831a41ee34 wined3d: Introduce a wined3d_state_get_ffp_texture() helper. 2023-11-17 19:53:45 +01:00
Paul Gofman 1a1e2d907a dnsapi: Handle IP address as DNS name in DnsQuery_UTF8(). 2023-11-17 11:16:56 +01:00
Alexandros Frantzis 7e4985212b winewayland.drv: Forward all client surface pointer events to parent.
Set an empty input region for the client area surface, so that the
compositor forwards input events to the main/parent surface instead.
This simplifies input handling, since otherwise we would need to
implement special handling of events on the client area surface
and transform them accordingly.
2023-11-17 10:56:37 +01:00
Alexandros Frantzis 4c9c991fae winewayland.drv: Set client area subsurface size.
Use the viewporter Wayland protocol to set the size of the client
area subsurface, so that it always covers the client area bounds
exactly. This may transiently lead to scaled contents.
2023-11-17 10:56:36 +01:00
Alexandros Frantzis 65a4789a7c winewayland.drv: Set client area subsurface position.
Set the position of the client area subsurface relative to its
parent surface.
2023-11-17 10:56:34 +01:00
Alexandros Frantzis 9439b3c3ee winewayland.drv: Use a client area subsurface as the Vulkan target.
Since we can't render to parts of surfaces, use a dedicated client
area subsurface as the target of Vulkan rendering.
2023-11-17 10:56:33 +01:00
Alexandros Frantzis 51dbd708b0 winewayland.drv: Implement vkDestroySurfaceKHR. 2023-11-17 10:56:32 +01:00
Alexandros Frantzis b6e9e8deda winewayland.drv: Implement vkCreateWin32SurfaceKHR.
Create Win32 VkSurfaceKHR objects which are backed by native Wayland
VkSurfaceKHR objects. For now we associate a dummy Wayland surface
with the VkSurfaceKHR.
2023-11-17 10:56:31 +01:00
Alexandros Frantzis 902465f236 winewayland.drv: Implement vkGetDeviceProcAddr and vkGetInstanceProcAddr. 2023-11-17 10:56:30 +01:00
Alexandros Frantzis 36a2e6b1f1 winewayland.drv: Implement vkDestroyInstance. 2023-11-17 10:56:28 +01:00
Alexandros Frantzis bd0d88261d winewayland.drv: Implement vkCreateInstance.
Create a Vulkan instance, ensuring we use the proper (Wayland)
SurfaceKHR extension when forwarding the request to the native Vulkan
platform.
2023-11-17 10:56:27 +01:00
Alexandros Frantzis a9ed32b0bf winewayland.drv: Implement vkEnumerateInstanceExtensionProperties.
Return the native instance extension properties, substituting
VK_KHR_wayland_surface for VK_KHR_win32_surface.
2023-11-17 10:56:25 +01:00
Alexandros Frantzis f6e800172b winewayland.drv: Add skeleton Vulkan driver. 2023-11-17 10:56:23 +01:00
Alistair Leslie-Hughes a85055ee6c msado15: Updating recordset EditMode when field value changes.
We need to know what type of Edit we are Performing, eg AddNew or Updated existing.
2023-11-17 10:55:24 +01:00
Alexandre Julliard 909e2b952a win32u: Remove DECLSPEC_HIDDEN usage. 2023-11-17 10:20:54 +01:00
Alexandre Julliard e9afc9bf8f winebuild: Stop generating the syscall argument array and related data. 2023-11-17 10:17:50 +01:00
Alexandre Julliard 85dbc0466f wow64: Build the syscall argument array from the generated list. 2023-11-17 10:00:48 +01:00
Alexandre Julliard 92b6ab2d6e win32u: Store the service table entry directly into the ntdll variable. 2023-11-17 09:57:56 +01:00
Alexandre Julliard c8ecc35966 win32u: Build the syscall argument array from the generated syscall list. 2023-11-17 09:57:14 +01:00
Alexandre Julliard f799f6f471 win32u: Set the syscall dispatcher on the PE side. 2023-11-17 09:56:37 +01:00
Alexandre Julliard 1693784169 ntdll: Build the syscall argument array from the generated syscall list. 2023-11-17 09:55:27 +01:00
Alex Henrie c64aa0006e d3dcompiler_43/tests: Use CRT allocation functions. 2023-11-16 23:18:24 +01:00