Commit graph

170530 commits

Author SHA1 Message Date
Alexandros Frantzis 5571422344 winewayland.drv: Enable wglDescribePixelFormat through p_get_pixel_formats. 2024-04-24 17:16:23 +02:00
Alexandros Frantzis ab70da6dd5 opengl32: Cache driver pixel format information.
Use the glReserved1 area in the Teb to cache the latest pixel format
information requested from the driver.
2024-04-24 17:16:21 +02:00
Alexandros Frantzis 9943ab6e20 opengl32: Implement wglDescribePixelFormat using new driver API get_pixel_formats.
Introduce a new wgl driver callback function to allow the driver to provide
a complete list of all pixel formats and their attributes. If the driver
provides the information use it to implement wglDescribePixelFormat.
2024-04-24 17:15:44 +02:00
Alexandros Frantzis 76aa8668bd winex11.drv: Rename wgl_pixel_format to glx_pixel_format.
We want to use wgl_pixel_format in the wgl driver API.
2024-04-24 17:15:42 +02:00
Paul Gofman e00cbef06d ntdll: Pre-check entry->addr before taking a spin lock in RtlWaitOnAddress(). 2024-04-24 17:14:15 +02:00
Paul Gofman 56d56ec629 ntdll: Remove entries from queue in RtlWakeAddressAll(). 2024-04-24 17:14:15 +02:00
Alexandre Julliard fffed9b3b1 oleaut32: Extend 8- and 16-bit parameters on ARM.
And update tests to show that Windows does the same.
2024-04-24 17:12:59 +02:00
Alexandre Julliard 28cb539ef9 rpcrt4: Extend 8- and 16-bit parameters on ARM. 2024-04-24 16:27:56 +02:00
Alexandre Julliard 00756efcfb rpcrt4: Generate the parameter extension data for typelibs on ARM platforms. 2024-04-24 15:55:38 +02:00
Alexandre Julliard 486068560e rpcrt4: Fix stack alignment and by-value parameters for typelibs on ARM platforms. 2024-04-24 15:55:38 +02:00
Gopal Prasad d07019e4d1 winewayland.drv: Implement SetWindowText.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56000
Co-authored-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2024-04-23 22:29:23 +02:00
Gopal Prasad dbc00aecec winewayland.drv: Set wayland app-id from the process name.
Co-authored-by: Ryan Hendrickson <ryan.hendrickson@alum.mit.edu>
Co-authored-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2024-04-23 22:29:19 +02:00
Dmitry Timoshkov 13e1259754 widl: Add support for function parameter flags to SLTG typelib generator.
This makes stdole32.tlb generated by widl have proper [in,out,retval]
parameter flags.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-23 22:14:19 +02:00
Dmitry Timoshkov 202acc52eb widl: Set the lowest bit in the param name to indicate whether type description follows the name.
It looks like the lowest bit in the param name offset actually indicates
whether type description follows the name, and since the name offsets are
always aligned that makes sense.

This makes oleview.exe from PSDK running under Windows7 correctly show mix
of different very complex and relatively simple type descriptions generated
by widl's SLTG generator.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-23 22:14:17 +02:00
Dmitry Timoshkov 918425bbe9 widl: Create library block index right after the CompObj one.
Otherwise Wine's oleaut32 refuses to load a typelib.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-23 22:14:14 +02:00
Dmitry Timoshkov 62223ed995 widl: Make automatic dispid generation scheme better match what midl does.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-23 22:14:14 +02:00
Danyil Blyschak f97e12de40 mfreadwrite: Store result of object activation in stream transform.
In source_reader_create_transform(), store the result of
IMFActivate_ActivateObject() so that in the event of failure, resources
are freed and an appropriate HRESULT is returned.

Previously, if every object's activation failed, the last part of the
function was not aware of this.
2024-04-23 22:09:14 +02:00
Alexandre Julliard 1dac9d7d79 rpcrt4: Remove obsolete version comments from spec file. 2024-04-23 21:23:16 +02:00
Alexandre Julliard e4b7eeaad4 rpcrt4: Stop passing the actual FPU regs pointer to client call functions. 2024-04-23 21:23:16 +02:00
Alexandre Julliard 889767ce35 rpcrt4: Remap registers to the stack for stubless proxies on ARM platforms. 2024-04-23 21:23:16 +02:00
Alexandre Julliard d9067a8ae4 rpcrt4: Move the FPU register conversion to the stubless proxy wrapper. 2024-04-23 15:03:33 +02:00
Alexandre Julliard a8ad671bae rpcrt4: Add a wrapper for client calls from stubless proxies. 2024-04-23 15:03:33 +02:00
Alexandre Julliard 522cecf67c include: Update a couple of RPC structures. 2024-04-23 11:44:25 +02:00
Henri Verbeet bcb7396adf wined3d: Introduce the "glsl-vkd3d" shader backend.
Note that this won't compile very many shaders until vkd3d-shader's GLSL
support is much more complete.
2024-04-23 11:44:25 +02:00
Henri Verbeet a0b79ba35c wined3d: Pass a shader_glsl_priv structure to shader_glsl_generate_compute_shader(). 2024-04-23 11:44:25 +02:00
Henri Verbeet a1494deef3 wined3d: Pass a shader_glsl_priv structure to shader_glsl_generate_fragment_shader().
Much like we do for e.g. shader_glsl_generate_vertex_shader().
2024-04-23 11:44:25 +02:00
Brendan McGrath 752126d60e winegstreamer: Respond to the URI query.
The default behaviour for gstreamer is to use the URI to create the
stream-id. Without this, gstreamer creates a random stream-id per pad
which can cause inconsistent ordering on the decodebin src pads.

This in turn can cause issues, for example, with audio stream selection.
2024-04-23 11:44:25 +02:00
Brendan McGrath 9e1f5f6d11 winegstreamer: Pass uri to wg_parser when available.
This is a partial cherry-pick of eda34f74c6ad from Proton.
2024-04-23 11:44:25 +02:00
Ziqing Hui bb77968851 winegstreamer: Merge video_mpeg1 into video field. 2024-04-23 11:44:25 +02:00
Ziqing Hui 8ff54f9d34 winegstreamer: Merge video_indeo into video field. 2024-04-23 11:44:25 +02:00
Ziqing Hui 6e90dff6e7 winegstreamer: Merge video_wmv into video field. 2024-04-23 11:44:25 +02:00
Ziqing Hui 654dc1158b winegstreamer: Merge video_h264 into video field. 2024-04-23 11:44:25 +02:00
Ziqing Hui b3a46a94a3 winegstreamer: Merge video_cinepak into video field. 2024-04-23 11:44:25 +02:00
Nikolay Sivov 03f852a6f2 d2d1: Implement newer CreateDeviceContext() methods. 2024-04-23 11:44:25 +02:00
Nikolay Sivov 975d6b56a5 d2d1: Update to ID2D1Device6. 2024-04-23 11:44:25 +02:00
Nikolay Sivov a603db0c25 d2d1: Update to ID2D1DeviceContext6. 2024-04-23 11:44:25 +02:00
Nikolay Sivov bb40c32a1b d2d1: Update to ID2D1Factory7. 2024-04-23 11:44:25 +02:00
Billy Laws f1f28d2e28 winevulkan: Allocate commited memory for placed mappings.
This is necessary to prevent virtual_set_force_exec from resetting the
permissions of mappings back to --- when a non-NX-compatible module is
loaded.
2024-04-23 11:44:25 +02:00
Michael Bond 1134834b74 shell32/shellpath: Fix UserPinned and QuickLaunch KnownFolderPaths. 2024-04-22 23:34:04 +02:00
Piotr Caban 12f73ed9d8 windowscodecs: Support 32-bit ABGR bitfields bitmaps. 2024-04-22 17:46:12 +02:00
Esme Povirk e00762b961 mscoree: Update Wine Mono to 9.1.0. 2024-04-22 17:46:01 +02:00
Alexandre Julliard 166895ae3a Release 9.7. 2024-04-19 22:18:13 +02:00
Alexandre Julliard 3c8fc4927d rpcrt4: Leave some space on the stack for varargs when called from ARM64EC code. 2024-04-19 14:52:34 +02:00
Jacek Caban b87589757b ntdll: Use mangled function names in ARM64EC assembly. 2024-04-18 20:54:25 +02:00
Tim Clem f0efb2e46a winemac.drv: Hide app's dock icon when it wouldn't have a taskbar item on Windows.
Hide the icon when an app has no visible windows, or when all of its
visible windows would have no taskbar entry (i.e., they are owned or
have WS_EX_TOOLWINDOW or WS_EX_NOACTIVATE, but not WS_EX_APPWINDOW).
The dock icon returns if those conditions are no longer satisfied.

This behavior is behind a Mac Driver registry key,
EagerDockIconHiding (defaulting to true), to allow toggling it on a
per-app or global basis.
2024-04-18 20:54:25 +02:00
Jinoh Kang d6e39da995 kernel32/tests: Document which fields may be overwritten later in gen_forward_chain_testdll().
Const correctness is helpful for figuring out which fields are mutable
and which ones are intended to stay constant.
2024-04-18 20:54:25 +02:00
Jinoh Kang c014ff7afe kernel32/tests: Fix argument order in subtest_export_forwarder_dep_chain() calls.
The parameter types are (size_t, size_t, BOOL).

Fixes: 4baada41a0
2024-04-18 20:54:25 +02:00
Zhiyi Zhang 730b6c0162 light.msstyles: Use #fefefe instead of #ffffff for scrollbar parts.
Fix Imperium: Greek Wars (1183470) launcher scrollbar largely drawn as transparent.

The application sets a hardcoded #ffffff as the color key for transparency. On Windows, the
scrollbar parts only have very few #ffffff pixels so the scrollbar is drawn as basically opaque.
If a theme that have many 0xffffff pixels is being used, then the bug reproduces as well on Windows.
I don't want to change the light theme style for this. So let's work around this by using #fefefe
instead of #ffffff. This have little difference visually.

Based on investigation done by Santino Mazza.
2024-04-18 20:54:25 +02:00
Zhiyi Zhang ab091b28cb uxtheme/tests: Test that scrollbar parts should have very few #ffffff pixels. 2024-04-18 20:54:25 +02:00
Brendan Shanks fbfc8df4bb dxgi: Add IDXGISwapChain4 stubs for D3D11.
Microsoft Flight Simulator (2020) requires IDXGISwapChain4.
2024-04-18 20:54:25 +02:00