Brendan Shanks
d7d94ed0df
kernelbase: Implement DiscardVirtualMemory().
2023-03-08 17:49:00 +01:00
Martin Storsjö
7f7f06fe61
ntdll: Handle aarch64 pointer authentication in unwind info.
...
These were docmented in [1] (with the user-facing name of the opcode
adjusted later in [2]).
Since MSVC 2022, the precompiled runtimes (both runtimes such as
vcruntime140*.dll and the statically linked code from e.g. libcmt.lib)
are built with pointer authentication enabled.
To correctly handle unwinding through such functions, even on HW that
don't support the pointer authentication mechanism itself, wine needs
to at least be aware of it (for handling the cases with packed unwind
info with CR==2 simiarly to CR==3).
This patch has been tested on Linux on HW supporting pointer
authentication too, with binaries built with MSVC.
[1] f510c83085
[2] cac237d3f3
2023-03-08 17:49:00 +01:00
Alexandre Julliard
26163c10bb
ntdll: Don't touch the top of the 32-bit thread stack.
2023-03-08 17:48:55 +01:00
Alexandre Julliard
cc0ca49a46
ntdll: Pass the WoW context to the server on ARM64.
2023-03-08 12:43:20 +01:00
Alexandre Julliard
fa47ea7400
server: Determine the native thread context flags on the client side.
2023-03-08 12:43:20 +01:00
Alexandre Julliard
eccf92996c
ntdll: Always call Wow64PrepareForException when dispatching an exception.
2023-03-08 12:43:20 +01:00
Alexandre Julliard
4d217cb274
maintainers: Assume maintainership of ARM platforms.
2023-03-08 09:16:12 +01:00
Mohamad Al-Jaf
50f5f9af1c
windows.perception.stub: Implement ISpatialSurfaceObserverStatics2::IsSupported().
...
Needed by the VR games Forewarned and Überlaüfer.
2023-03-07 18:36:54 +01:00
Mohamad Al-Jaf
4f9a79bcea
windows.perception.stub/tests: Add ISpatialSurfaceObserverStatics2::IsSupported() tests.
2023-03-07 18:36:54 +01:00
Mohamad Al-Jaf
006bc33c57
windows.perception.stub: Add ISpatialSurfaceObserverStatics2 stub interface.
2023-03-07 18:36:54 +01:00
Mohamad Al-Jaf
b7d55543d6
windows.perception.stub: Add ISpatialSurfaceObserverStatics stub interface.
2023-03-07 18:36:54 +01:00
Mohamad Al-Jaf
ffb664f1c5
windows.perception.stub: Add stub DLL.
2023-03-07 18:36:54 +01:00
Mohamad Al-Jaf
79a7c7ca40
include: Add windows.perception.spatial.surfaces.idl file.
2023-03-07 18:36:26 +01:00
Mohamad Al-Jaf
16b3b79105
include: Add windows.graphics.directx.idl file.
...
Needed by windows.perception.spatial.surfaces.idl.
2023-03-07 18:36:25 +01:00
Mohamad Al-Jaf
9065c6637e
include: Add windows.perception.spatial.idl file.
...
Needed by windows.perception.spatial.surfaces.idl.
2023-03-07 18:36:23 +01:00
Francois Gouget
6da1e08dba
t2embed/tests: Fix the TTGetEmbeddingType() test in UTF-8 locales.
...
A screen-compatible memory DC uses a TrueType font by default in UTF-8
locales.
2023-03-07 18:35:20 +01:00
Rémi Bernon
bd7a1a4d66
maintainers: Assume maintainership of IME support.
2023-03-07 17:25:08 +01:00
Francois Gouget
ed6ab3222e
dbghelp/tests: Let the tests run on Windows 7, 8 and 10 <= 1607.
...
Provide a fallback if IsWow64Process2() is not available.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54605
2023-03-07 17:25:08 +01:00
Francois Gouget
145e3c758b
riched20/tests: Fix a typo in a comment.
2023-03-07 17:25:08 +01:00
Francois Gouget
5f08c8fbcc
winscard: Fix the spelling of a function parameter.
2023-03-07 17:25:08 +01:00
Francois Gouget
6c6cc2cebc
msado15: Fix the spelling of a comment.
2023-03-07 17:25:08 +01:00
Jinoh Kang
f54a1dac64
riched20/tests: Don't specify DT_WORDBREAK in _check_txgetnaturalsize().
...
Today, test_TxGetNaturalSize() creates a pop-up window with a fixed size
(extent) of 100 x 100. The test function then proceeds to compute the
natural size of rich edit control that fits the sample text
"TestSomeText" and compare it to the RECT calculated by DrawText.
Apparently, this test fails if the width of the sample text
"TestSomeText" exceeds the width of the test window's client area. In
this case, DrawText() with DT_WORDBREAK breaks the text into the two
lines due to text wrapping; however, Rich Edit's
ITextServices::TxGetNaturalSize implementation does not seem to perform
text wrapping on overflow. This results in extent mismatch.
(Note that the test may either succeed or fail depending on the current
font used for DEFAULT_GUI_FONT, which defaults to Tahoma according to
Microsoft's documentation. To reproduce this failure, it may be
necessary to switch fonts or change the width of the pop-up window.)
Fix this by omitting the DT_WORDBREAK flag for the DrawText() call in
_check_txgetnaturalsize().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54637
2023-03-07 17:25:08 +01:00
Rémi Bernon
eca1e4ea36
winex11: Initialize IO_STATUS_BLOCK in X11DRV_GetICMProfile.
...
To avoid invalid writes on WOW64 Nt calls.
2023-03-07 17:25:08 +01:00
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