Commit graph

162648 commits

Author SHA1 Message Date
Rémi Bernon 647e20a9ff win32u: Initialize IO_STATUS_BLOCK in rawinput add_device.
To avoid invalid writes on WOW64 Nt calls.
2023-03-07 17:25:08 +01:00
Rémi Bernon ec5d9f6413 win32u: Initialize IO_STATUS_BLOCK in load_directory_fonts.
To avoid invalid writes on WOW64 Nt calls.
2023-03-07 17:25:08 +01:00
Jinoh Kang 3fe15349d3 riched20: Implement ITextDocument::Freeze and ITextDocument::Unfreeze.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54617
2023-03-07 17:25:08 +01:00
Jinoh Kang 2027be7e03 riched20: Don't assume that TxDraw preserves the device context's brush selection.
Today, RichEditWndProc_common assumes that ITextServices::TxDraw
preserves the brush selection of the given device context.  However,
this invariant may be broken by misbehaving embedded OLE objects in the
text document.

Fix this by not assuming that the return value of the second
SelectObject() call equals the brush passed to the first SelectObject()
call in RichEditWndProc_common's WM_PAINT / WM_PRINTCLIENT case.
2023-03-07 17:25:08 +01:00
Jinoh Kang 3105fad82b riched20/tests: Test for ITextDocument::Freeze and ITextDocument::Unfreeze. 2023-03-07 17:25:08 +01:00
Alexandre Julliard 63a781de1d wow64: Declare exported functions in winternl.h. 2023-03-07 17:25:08 +01:00
Alexandre Julliard c244fe3d27 wow64: Keep track of APC stack frames, similarly to user callback frames.
And use the appropriate frame to restore the context in NtContinue.
2023-03-07 17:25:08 +01:00
Alexandre Julliard 96841d0358 wow64: Push a valid return address when calling KiRaiseUserExceptionDispatcher. 2023-03-07 17:25:08 +01:00
Alexandre Julliard 419e4d69d6 wow64: In system calls always return the status from Wow64SystemServiceEx. 2023-03-07 17:25:08 +01:00
Alexandre Julliard 972a1192e0 ntdll/tests: Allow zero size return for NtQueryDirectoryObject on Wow64. 2023-03-07 11:54:13 +01:00
Alexandre Julliard 16227352a6 ntdll/tests: Remove invalid instruction from KiUserExceptionDispatcher test.
It trips up box86.
2023-03-07 11:08:01 +01:00
Alexandre Julliard c2a2f1caad ntdll/tests: Check the default stack information against the exe header. 2023-03-07 11:07:00 +01:00
Max Figura 45e83cc8c2 wined3d: Move the WINED3D_RS_WRAP8 stub to wined3d_device_apply_stateblock. 2023-03-06 22:53:44 +01:00
Max Figura 2df817d914 wined3d: Move the WINED3D_RS_WRAP9 stub to wined3d_device_apply_stateblock. 2023-03-06 22:53:44 +01:00
Max Figura caea3779a5 wined3d: Move the WINED3D_RS_WRAP10 stub to wined3d_device_apply_stateblock. 2023-03-06 22:53:44 +01:00
Max Figura 572daa341d wined3d: Move the WINED3D_RS_WRAP11 stub to wined3d_device_apply_stateblock. 2023-03-06 22:53:44 +01:00
Max Figura 1d9b07bcbd wined3d: Move the WINED3D_RS_WRAP12 stub to wined3d_device_apply_stateblock. 2023-03-06 22:53:44 +01:00
Connor McAdams 5353b2594b uiautomationcore: Implement IUIAutomation::get_RawViewCondition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-06 20:33:06 +01:00
Connor McAdams a4bb7c12b2 uiautomationcore: Implement IUIAutomation::get_ControlViewCondition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-06 20:33:05 +01:00
Connor McAdams f5d562b789 uiautomationcore: Implement IUIAutomation::CreateOrCondition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-06 20:33:05 +01:00
Connor McAdams 078a2c8831 uiautomationcore: Implement IUIAutomation::CreateNotCondition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-06 20:33:05 +01:00
Connor McAdams 6b4ad50c83 uiautomationcore: Implement IUIAutomation::CreatePropertyCondition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-06 20:33:05 +01:00
Connor McAdams 6adae23d98 uiautomationcore: Implement IUIAutomation::Create{True,False}Condition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-06 20:33:05 +01:00
Anton Baskanov 0a1a5015d0 ir50_32: Handle 24-bit output media type.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47407
2023-03-06 11:18:53 +01:00
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