Commit graph

170562 commits

Author SHA1 Message Date
Alistair Leslie-Hughes c81c6fca50 include: Add atldef.h. 2024-04-25 22:44:44 +02:00
Akihiro Sagawa 545b1c67b5 winegstreamer: Implement input media type enumeration in MPEG splitter. 2024-04-25 22:18:19 +02:00
Akihiro Sagawa 486f89b97d winegstreamer: Reject unexpected formats on init. 2024-04-25 22:18:19 +02:00
Akihiro Sagawa 953af3af5f quartz/tests: Add tests to reject unsupported contents for MPEG splitter. 2024-04-25 22:18:19 +02:00
Etaash Mathamsetty c737574801 user32: Fake success from UnregisterTouchWindow. 2024-04-25 22:18:19 +02:00
Etaash Mathamsetty 6236c50807 user32: Fake success from RegisterTouchWindow. 2024-04-25 22:18:19 +02:00
Alex Henrie 6e0b07e8ec setupapi: Don't set RequiredSize when SetupDiGetClassDescription* fails.
Discovered while investigating Bug 56551.
2024-04-25 22:18:19 +02:00
Tuomas Räsänen 987695a427 setupapi: Use INF parser to read class GUID and class name.
Previously, SetupDiGetINFClassW read INF files with
GetPrivateProfileString, which does not substitute %strkey% tokens.

This caused device installation to fail for devices which had driver
INF files using %strkey% tokens in Version section.

An example of such device is Vernier LabQuest Mini (08f7:0008) for
which Vernier's LoggerPro application includes a driver.

The INF file in question adds a new device setup class and has
following entries in Version section:

  Class = %ClassName%
  ClassGuid = %DeviceClassGUID%

Strings section includes following entries:

  DeviceClassGUID = "{6B8429BF-10AD-4b66-9FBA-2FE72B891721}"
  ClassName = "VST_WinUSB"

Previously, when LoggerPro was installed and LabQuest Mini was
hotplugged, device installation failed with the following error:

  fixme:setupapi:SetupDiGetINFClassW failed to convert "L"%DeviceClassGUID"" into a guid

This caused GUID_NULL to be used and Class was not set to the registry
for the device.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56579
2024-04-25 22:18:19 +02:00
Tuomas Räsänen d8bbf6d0ae setupapi/tests: Add tests for reading INF class with %strkey% tokens. 2024-04-25 22:18:19 +02:00
Dmitry Timoshkov 7f190e67da stdole32.tlb: Generate typelib in SLTG format.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-25 21:10:31 +02:00
Dmitry Timoshkov ce6fe5d06e widl: Fix calculation of the SLTG library block size.
This patch fixes a regression in comparison with SLTG generator in wine-staging,
and allows oleview.exe from PSDK correctly load SLTG typelib generated by widl.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-25 21:10:27 +02:00
Alexandre Julliard 2c05f9d085 sechost: Use fully interpreted IDL stubs. 2024-04-25 14:19:03 +02:00
Alexandre Julliard 5ac51de688 schedsvc/tests: Use fully interpreted IDL stubs. 2024-04-25 14:18:49 +02:00
Alexandre Julliard f7f3f96a64 schedsvc: Use fully interpreted IDL stubs. 2024-04-25 14:18:49 +02:00
Alexandre Julliard 54cb9a2ab2 rpcrt4/tests: Use fully interpreted IDL stubs. 2024-04-25 14:17:26 +02:00
Alexandre Julliard 8f7e877a55 rpcrt4: Use fully interpreted IDL stubs. 2024-04-25 14:17:09 +02:00
Hans Leidekker ab071858a4 wintrust: Add support for the PE image hash in CryptCATAdminCalcHashFromFileHandle(). 2024-04-25 13:10:05 +02:00
Zebediah Figura 61b88ebd50 kernelbase: Do not start the debugger if SEM_NOGPFAULTERRORBOX is set.
Motor City Online apparently checks for a debugger by setting this flag and then
intentionally causing a page fault. If no debugger is present on Windows, the
subprocess simply dies without spawning any crash dialog. This patch emulates
that behaviour, suppressing a (harmless) crash dialog from winedbg.

This may result in legitimate failures no longer triggering a winedbg crash
dialog, if other programs happen to use SEM_NOGPFAULTERRORBOX, but the winedbg
crash dialog cannot be relied upon anyway.
2024-04-25 12:57:58 +02:00
Rémi Bernon 8653ed03de win32u: Move host surface destruction out of the drivers. 2024-04-25 12:57:46 +02:00
Rémi Bernon 34d288a939 win32u: Pass HWND directly to vulkan surface creation driver callback.
And to destroy, it'll be useful later.
2024-04-25 12:57:43 +02:00
Rémi Bernon 334a100a8e win32u: Rename vulkan surface creation/destroy driver callbacks. 2024-04-25 12:57:43 +02:00
Rémi Bernon 50584bcc02 winevulkan: Pass win32u surface wrappers for each vkQueuePresent swapchain. 2024-04-25 12:57:43 +02:00
Rémi Bernon d054ccc8a3 win32u: Introduce a new VkSurfaceKHR wrapping structure. 2024-04-25 12:57:42 +02:00
Rémi Bernon 46713b03a7 win32u: Introduce a distinct vulkan interface between win32u and the user drivers. 2024-04-25 12:57:42 +02:00
Paul Gofman 798f158a60 cryptnet: Do not use InternetCombineUrlW() in build_request_url(). 2024-04-25 12:55:02 +02:00
Paul Gofman 7300b40b47 crypt32: Mind constructor tag in CRYPT_AsnDecodeOCSPSignatureInfoCertEncoded(). 2024-04-25 12:55:00 +02:00
Rémi Bernon 7bb1b147ce mfreadwrite/reader: Avoid leaking the stream transform service MFT. 2024-04-24 17:17:21 +02:00
Rémi Bernon 8514ddb200 mfreadwrite/tests: Shutdown the test stream event queues on source shutdown. 2024-04-24 17:17:21 +02:00
Rémi Bernon c908181eef mfreadwrite/tests: Avoid using MFCreateMediaBufferFromMediaType.
It's not available on Win7.
2024-04-24 17:17:19 +02:00
Rémi Bernon 7b47833b28 mfreadwrite/tests: Do not accept MFVideoFormat_RGB32 in the test transform. 2024-04-24 17:17:19 +02:00
Alexandros Frantzis 79edaed639 winex11.drv: Remove unnecessary parameter from describe_pixel_format. 2024-04-24 17:16:26 +02:00
Alexandros Frantzis cff896b39b winex11.drv: Enable wglDescribePixelFormat through p_get_pixel_formats. 2024-04-24 17:16:24 +02:00
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