Commit graph

162593 commits

Author SHA1 Message Date
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
Max Figura
7c3941ce7e wined3d: Move the WINED3D_RS_ANISOTROPY stub to wined3d_device_apply_stateblock. 2023-03-01 22:28:30 +01:00
Max Figura
7ca0b7e35b wined3d: Move the WINED3D_RS_MIPMAPLODBIAS stub to wined3d_device_apply_stateblock. 2023-03-01 22:28:30 +01:00
Max Figura
33239aa7e0 wined3d: Move the WINED3D_RS_STIPPLEENABLE stub to wined3d_device_apply_stateblock. 2023-03-01 22:28:30 +01:00
Max Figura
c7d61ab7d4 wined3d: Move the WINED3D_RS_STIPPLEDALPHA stub to wined3d_device_apply_stateblock. 2023-03-01 22:28:29 +01:00
Max Figura
64277d0cdc wined3d: Move the WINED3D_RS_SUBPIXELX stub to wined3d_device_apply_stateblock. 2023-03-01 22:28:29 +01:00
Gabriel Ivăncescu
25abbfff68 mshtml: Send all readystatechange events for synchronous XHRs in IE9 and below.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Gabriel Ivăncescu
6a31e4acc7 mshtml: Implement synchronous XMLHttpRequest.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Gabriel Ivăncescu
51a6818491 mshtml: Add separate task list for tasks dispatching events.
They need to be handled separately because they are blocked by sync XHRs
for the given window.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Gabriel Ivăncescu
13d25529a3 mshtml: Track readyState in XHRs and report it manually.
So it can be forced to specific values during synchronous XHRs.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Gabriel Ivăncescu
06b1679e09 mshtml: Register all event handlers when creating the XMLHttpRequest.
So we can properly track state for synchronous XHRs.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Gabriel Ivăncescu
59bdd9d01f mshtml: Pass optional args to XMLHttpRequest.open() correctly.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Gabriel Ivăncescu
63b38aed27 mshtml: Free the task after the destructor.
And get rid of default_task_destr since it's only used in one place anyway. It
was already confusing and leaking in some cases.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Gabriel Ivăncescu
2319a27757 mshtml: Use proper types for readystate_locked and readystate_pending.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-01 21:39:30 +01:00
Adrian Thiele
0d4f63b34c mfreadwrite/reader: Release device manager in source_reader_release. 2023-03-01 21:39:30 +01:00
Adrian Thiele
eeb25932c7 mfreadwrite/tests: Check refcount of device manager after release. 2023-03-01 21:39:30 +01:00
Philip Gruebele
7eb1ac5143 dwrite: Pass correct font key when adding glyph to cache.
Without this fix, the font cache was filling up with lots of duplicate entries,
and getting cache misses, thereby causing font-intensive applications
to be very slow (e.g. AvalonEdit).
This fix provides 30x speed increase when processing glyphs.
2023-03-01 21:39:30 +01:00
Alex Henrie
b9627b996f ntoskrnl: Add ExGetPreviousMode and test.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54378
2023-03-01 21:39:30 +01:00
Alex Henrie
f3e1d897ca server: Annotate allocation functions with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2023-03-01 21:39:30 +01:00
Alexandre Julliard
14967933ec server: Fix another buffer overflow compiler warning. 2023-03-01 21:39:30 +01:00
Alexandre Julliard
d5468b9cac ntdll: Implement RtlAddProcessTrustLabelAce(). 2023-03-01 21:39:30 +01:00
Alexandre Julliard
fec95db075 makedep: Store the list of .ok files per-architecture. 2023-03-01 21:39:30 +01:00
Rémi Bernon
a375ff9e65 widl: Use "g16" for GUID parameterized type signature. 2023-03-01 11:01:15 +01:00
Mohamad Al-Jaf
ef43048c65 widl: Use "i2" / "u2" for INT16 parameterized type signature. 2023-03-01 11:01:15 +01:00
Mohamad Al-Jaf
e427e893fc widl: Use "i4" / "u4" for LONG parameterized type signature. 2023-03-01 11:01:13 +01:00
Serkan Önder
56db5b0bf1 po: Update Turkish translation. 2023-02-28 20:55:45 +01:00
Rémi Bernon
ad5cb8305f winex11: Assume that Xkb extension is available. 2023-02-28 20:55:45 +01:00
Huw Davies
0410660d6e maintainers: Add myself to the Audio I/O section. 2023-02-28 20:55:45 +01:00
Alex Henrie
354e999c5a winex11: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-28 20:55:45 +01:00
Alex Henrie
129d861656 winex11: Use RTL_CONSTANT_STRING instead of reimplementing it. 2023-02-28 20:55:45 +01:00
Alex Henrie
99396d4986 dsound: Use CRT functions for memory allocation. 2023-02-28 15:07:54 +01:00
Francois Gouget
1833dc0b2d mmdevapi/tests: WoW64 processes can read the properties from the registry.
Since Windows 10 2004 so consider the old limitation to be broken.
2023-02-28 15:07:54 +01:00