Commit graph

162874 commits

Author SHA1 Message Date
Davide Beatrici a20e1df90e mmdevapi: Move test_connect handling into mmdevapi. 2023-03-06 11:18:16 +01:00
Davide Beatrici ec9aab2c46 mmdevapi: Use UTF-16 for client name in "test_connect_params" and "create_stream_params" structs.
The conversion to another encoding is now up to the unixlib.
2023-03-06 11:18:16 +01:00
Davide Beatrici 3cc61002a8 winepulse: Move process_attach and process_detach handling into mmdevapi. 2023-03-06 11:18:16 +01:00
Davide Beatrici 0888d2242d mmdevapi: Query MemoryWineUnixFuncs virtual memory and store the resulting handle.
In preparation for calling the audio driver's UNIX functions directly.
2023-03-06 11:18:16 +01:00
Davide Beatrici c24df1bb6c winepulse: Return STATUS_SUCCESS for unused unixlib functions. 2023-03-06 11:18:10 +01:00
Davide Beatrici 09fd62b3d4 wineoss: Return STATUS_SUCCESS for unused unixlib functions. 2023-03-06 11:17:54 +01:00
Davide Beatrici ae3c2d7c5f winecoreaudio: Return STATUS_SUCCESS for unused unixlib functions. 2023-03-06 11:16:45 +01:00
Davide Beatrici 0870956c77 winealsa: Return STATUS_SUCCESS for unused unixlib functions. 2023-03-06 11:15:46 +01:00
Georg Lehmann 1eed39fffe winevulkan: Update to VK spec version 1.3.242. 2023-03-06 11:10:34 +01:00
Georg Lehmann 421140b624 winevulkan: Add basic support for extension dependencies. 2023-03-06 11:10:30 +01:00
Georg Lehmann 8fc724927a winevulkan: Skip features that are not part of Vulkan. 2023-03-06 11:10:26 +01:00
Georg Lehmann e500ca7648 winevulkan: Only parse extensions for Vulkan.
242 adds VulkanSC only extensions
2023-03-06 11:10:19 +01:00
Georg Lehmann 53c7ccec44 winevulkan: Deal with per api xml entries.
Otherwise we will have duplicate members/params with the new 242 xml.
2023-03-06 11:10:11 +01:00
Piotr Caban 333a63c456 gdiplus: Use transparency instead of background color if transparent color flag is set in GIF GCE.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54563
2023-03-06 11:09:39 +01:00
Brendan Shanks 93941d6ec6 loader: In macOS preloader, stop using mincore() to test if a region is empty. 2023-03-06 11:09:29 +01:00
Brendan Shanks c10207e2a7 loader: In macOS preloader, move the top-down allocations area down.
On Ventura, the Rosetta runtime and dyld shared cache now reach down
to 0x7ff7fffb8000 on my system.
2023-03-06 11:09:21 +01:00
Brendan Shanks ac031bff9e kernel32: Implement GetFirmwareType(). 2023-03-06 11:09:03 +01:00
Francois Gouget 95f2cc0f15 advapi32/tests: Fix the RegEnumValueA() tests in UTF-8 locales.
On Windows RegEnumValueA() is buggy such that when the value name
buffer is too small, it may way overestimate the required data buffer
size, sometimes returning more than the sufficiently large buffer it was
provided, in which case that buffer is untouched and thus not
NUL-terminated.
So modify the tests to accept this broken result and avoid checking
out-of-bounds data.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53172
2023-03-06 11:03:13 +01:00
Alexandre Julliard e796002ee6 Release 8.3. 2023-03-03 22:25:34 +01:00
Piotr Caban fe7885be80 windowscodecs: Don't reorder gif extension blocks in GetReaderByIndex. 2023-03-03 21:45:31 +01:00
Rémi Bernon 9c22a5ea63 win32u: Check GUID_NULL display device if desktop atom is missing.
When using nulldrv, there's no module to call __wine_set_user_driver and
the user driver is still lazy_load_driver when get_display_driver gets
called during desktop windows creation.

Then, load_desktop_driver fails as it cannot find the not-yet-created
desktop window atom, and fails later explorer.exe window creations such
as the systray window.

Other processes don't suffer from this as they wait for the desktop
window to be fully created, and its atom will be eventually set.

This change makes sure that we succeed in the case nulldrv was selected
by explorer.exe, while still failing in case of error with another user
driver as it would fail to open the right display device GUID.
2023-03-03 18:29:55 +01:00
Rémi Bernon 992d60e122 explorer: Use GUID_NULL display device GUID for nulldrv. 2023-03-03 18:29:54 +01:00
Rémi Bernon 8531f23a41 win32u: Return the current display mode depth with nulldrv. 2023-03-03 18:29:47 +01:00
Rémi Bernon 2a6b80b508 win32u: Map VK_MENU / KBDALT in kbdus_tables pCharModifiers. 2023-03-03 18:29:47 +01:00
Rémi Bernon 3785dd1f37 user32/tests: Test VK_MENU effect on ToUnicode. 2023-03-03 18:29:46 +01:00
Zebediah Figura ff752311cd d3d9/tests: Restore the focus window before sending SC_MAXIMIZE to it.
To match d3d8.

The original patch [1] claims

"WM_SIZE(SIZE_MAXIMIZED) is reliable here. The unreliable behavior
occured only with NOWINDOWCHANGES."

but this doesn't match my testing. Probably when that patch was submitted, this
very fix was applied to the d3d8 tests but forgotten for the d3d9 tests, and
then the wrong conclusions were drawn.

[1] https://www.winehq.org/pipermail/wine-patches/2014-December/135964.html
2023-03-03 11:17:02 +01:00
Zebediah Figura 45f69f73bf d3d8/tests: Do not check for WM_MOVE in sc_maximize_messages. 2023-03-03 11:17:02 +01:00
Mohamad Al-Jaf c78cd3f554 include: Add more Windows.Foundation.Numerics structs. 2023-03-03 11:16:22 +01:00
Etaash Mathamsetty 10765f2956 ntoskrnl.exe/tests: Add Driver Object Extension Tests. 2023-03-02 20:10:46 +01:00
Zebediah Figura 2f3c7e8725 ddraw: Remove the redundant "desc" parameter to ddraw_surface_create_wined3d_texture(). 2023-03-02 19:43:08 +01:00
Zebediah Figura c86263aa5d ddraw: Forbid DDSD_MIPMAPCOUNT without DDSCAPS_COMPLEX. 2023-03-02 19:43:07 +01:00
Zebediah Figura 9bfdd9141c ddraw: Forbid DDSCAPS_COMPLEX without any caps that merit a complex surface. 2023-03-02 19:43:07 +01:00
Zebediah Figura df8c73e906 ddraw/tests: Add more tests for mipmap surface creation flags. 2023-03-02 19:43:07 +01:00
Zebediah Figura 1cea45a183 ddraw/tests: Test that surface properties are retained across SetSurfaceDesc() calls. 2023-03-02 19:43:07 +01:00
Max Figura d1b0343d3b wined3d: Move the WINED3D_RS_WRAP13 stub to wined3d_device_apply_stateblock. 2023-03-02 19:43:00 +01:00
Max Figura 7997efa35f wined3d: Move the WINED3D_RS_WRAP14 stub to wined3d_device_apply_stateblock. 2023-03-02 19:43:00 +01:00
Max Figura 549612fd5f wined3d: Move the WINED3D_RS_WRAP15 stub to wined3d_device_apply_stateblock. 2023-03-02 19:43:00 +01:00
Max Figura 06bbd2470a wined3d: Move the WINED3D_RS_TRANSLUCENTSORTINDEPENDENT stub to wined3d_device_apply_stateblock. 2023-03-02 19:43:00 +01:00
Max Figura 9ef49c4b4e wined3d: Move the WINED3D_RS_FLUSHBATCH stub to wined3d_device_apply_stateblock. 2023-03-02 19:43:00 +01:00
Alexandre Julliard b57af3ebca wow64: Get the backend dll name from the registry. 2023-03-02 18:15:00 +01:00
Alexandre Julliard 7611492ddc wine.inf: Add keys for the platform-specific Wow64 backend. 2023-03-02 18:12:52 +01:00
Alexandre Julliard aebc819abf wine.inf: Set Program Files variables separately for all WoW platforms. 2023-03-02 18:12:28 +01:00
Alexandre Julliard 863858da2a wine.inf: Remove redundant platform-specific sections. 2023-03-02 18:11:32 +01:00
Francois Gouget 90dfa808bf shlwapi/tests: Make sure to test the formatting of troublesome dates.
Test the current date to ensure broad coverage, and specifically test a
February date because, in the French locale, it shows that
SHFormatDateTimeA() uses the CP_ACP code page, not the locale's default
one.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54149
2023-03-02 18:09:23 +01:00
Francois Gouget a662f00e6b shlwapi/tests: Fix the date formatting tests when the locale does not match the code page.
In particular, February dates contain an e-acute in French, the
representation of which depends on the code page being used, which in
SHFormatDateTimeA() is CP_ACP.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54149
2023-03-02 18:09:21 +01:00
Illia Polishchuk af65f0c9a0 d3d9: Always draw only a single instance for non-indexed draws.
Windows d3d9 always draws only a single instance for non-indexed draws.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54570
2023-03-02 18:08:51 +01:00
Illia Polishchuk 6df6c7fe0c d3d9/tests: Add test for non-indexed instancing drawing.
Windows d3d9 always draws only a single instance for non-indexed draws.
2023-03-02 18:08:49 +01:00
Florian Will b3bf30e7e2 gdiplus: Use FILE_SHARE_READ in GdipPrivateAddFontFile().
ZusiDisplay sometimes loads the same font file into two different
PrivateFontCollections using two threads, so there is a race condition
when the file is opened without the FILE_SHARE_READ sharing mode. The
second call to GdipPrivateAddFontFile() might fail if the first one
hasn't closed the file handle yet.
2023-03-02 10:20:39 +01:00
Florian Will 0ebf3222e5 gdiplus/tests: Test for GdipPrivateAddFontFile() sharing violation. 2023-03-02 10:20:38 +01:00
Henry Goffin 0e85ac17a4 win32u: Invalidate all cached keys after input.
This patch addresses an issue in Second Life and potentially other
multi-threaded applications which process WM_KEYDOWN in one thread
and then verify that the key is "still down" with GetAsyncKeyState
from another thread. Wine uses a per-thread key cache, resulting
in inconsistent views of key status. Caches are now invalidated
when an input event is injected by the driver or via SendInput.
2023-03-02 10:20:01 +01:00