Commit graph

169124 commits

Author SHA1 Message Date
Jacek Caban
6e49ff99eb windowscodecs: Pass result as void pointer to ComponentInfo_GetUINTValue. 2024-01-30 11:05:45 +01:00
Piotr Caban
fdd9e257e2 msvcrt: Remove no longer used parameters reference arguments from _unDname helpers. 2024-01-29 21:19:13 +01:00
Piotr Caban
779ba03bcd msvcrt: Store _unDName function parameter backreferences in parsed_symbol structure.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53934
2024-01-29 21:19:13 +01:00
Rémi Bernon
852c4d0a8a explorer: Restore a per-desktop ShowSystray registry setting.
With a global fallback setting under HKCU\Software\Wine\Explorer.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56243
2024-01-29 21:16:06 +01:00
Nikolay Sivov
75b9c221b2 mfplat/tests: Skip device manager test if d3d11 device can't be created.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-01-29 21:15:35 +01:00
Jacek Caban
0db8c0184e ncrypt/tests: Don't use uninitialized variable in test_get_property. 2024-01-29 21:15:20 +01:00
David Kahurani
1580c1133a msvcrt: Free previous environment variable when clearing.
Shifting the rest of the variables by one towards indices of lesser value
overwrites the variable being cleared and effectively leaks it.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2024-01-29 21:15:09 +01:00
David Kahurani
9164cf8fd9 gdiplus: Use path_list to path helper in GdipWidenPath.
The data is the path is invalid and therefore caution has to be
taken when adding data to this path to avoid lengthening it
unnecessarily. Also, don't assume there's a head node on the list
while counting number of nodes.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2024-01-29 21:15:04 +01:00
David Kahurani
ccc3568567 gdiplus: Use path_list to path helper in GdipFlattenPath.
This avoids a situation where the lengthening code, assuming the
data in the path is valid proceeds to lengthen the path further
while transforming data from a path_list into a path.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2024-01-29 21:15:03 +01:00
David Kahurani
a430702b41 gdiplus: Use GdipCreatePath2 when serializing paths.
This seems like a better interface and avoids duplicating code.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2024-01-29 21:15:02 +01:00
David Kahurani
90fb47489e gdiplus: Use GdipCreatePath2 in GdipClonePath.
This seems like a more effective interface and avoids
code duplication.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2024-01-29 21:15:00 +01:00
Alexandre Julliard
ba6a6d5781 ntdll: Move DbgUiRemoteBreakin() to the CPU backends. 2024-01-29 17:18:58 +01:00
Alexandre Julliard
d1836e226c ntdll: Avoid calling DbgBreakPoint() in process_breakpoint(). 2024-01-29 17:18:58 +01:00
Alexandre Julliard
f704b80a26 ntdll: Use a .seh handler for the unwind exception handler. 2024-01-29 17:18:58 +01:00
Alexandre Julliard
658a0665d4 ntdll: Use the system setjmp/longjmp for exceptions in Unix libs. 2024-01-29 17:18:58 +01:00
Alex Henrie
b87bd5e9b0 krnl386: Emulate the VGA status register.
Sega Bug uses it as a timer.
2024-01-29 17:08:10 +01:00
Alexandros Frantzis
fe1f3e277d winewayland.drv: Track and apply latest window cursor on pointer enter.
Keep track of the window cursor set for each surface and apply it when
the pointer enters the corresponding surface. This fixes a problem where
due to transient disagreements between win32 pointer focus and Wayland
pointer focus a cursor update may be lost. For example:

1. Assume existing cursor C1.
2. Window is created beneath cursor.
3. The SetCursor(hwnd, C2) driver callback is called, but because the
   wl_pointer hasn't entered the Wayland surface yet we don't update
   the wl_pointer cursor.
4. wl_pointer enters the surface, we apply the latest cursor we know
   about, which is C1.
5. Since no change in cursor window occurs, we don't get any
   further SetCursor(hwnd, C2) callbacks, so we get stuck with C1.

This commit fixes the problem by tracking the per-surface HCURSOR in
step 3, regardless of whether the cursor is actually applied. So, in
step 4 we can use that HCURSOR for the surface.

This change also fixes some cases of our mouselook heuristics not
kicking in properly due to missing a SetCursor(hwnd, NULL) in the
manner described above.
2024-01-29 17:08:10 +01:00
Eric Pouech
8169c4d040 dmime/tests: Add some tests about end-points.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-29 10:42:48 +01:00
Eric Pouech
7d1cfb9e01 dmime: Remove unused fields in segment.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-29 10:42:48 +01:00
Eric Pouech
1bdf94a409 dmime: Fix IDirectMusicAudioPath::GetObjectInPath() prototype.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-29 10:42:48 +01:00
Eric Pouech
b2441ad699 dmime/tests: Add some tests for loops on wave tracks.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-29 10:42:48 +01:00
Eric Pouech
7aef55a996 dmime/tests: Fix copy & paste errors.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-29 10:42:48 +01:00
Alexandre Julliard
2e9da0ba24 winsta: Start time is an input parameter in WinStationGetProcessSid.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56256
2024-01-29 10:42:48 +01:00
Alexandre Julliard
e5becbf6a8 configure: Reset host flags in all cross-compiler error paths. 2024-01-29 10:42:48 +01:00
Alexandre Julliard
c963c4141a Release 9.1. 2024-01-26 23:56:23 +01:00
Zebediah Figura
34232874ad wined3d: Collapse some trivially nested ifs into a single condition. 2024-01-26 23:47:16 +01:00
Zebediah Figura
d219903c61 wined3d: Check for WINED3DUSAGE_LEGACY_CUBEMAP instead of checking the GL texture target.
This check was introduced in 4640be8dc8. At that point the only way for that
condition to be false was for a cube map texture.

It's not clear why cube maps are relevant here; we have no tests for this, but
it seems most expedient to just preserve the intent of the check.
2024-01-26 23:47:14 +01:00
Zebediah Figura
df70800b12 wined3d: Set the tex_type field of the FFP fragment settings from the resource's GL type. 2024-01-26 23:47:13 +01:00
Zebediah Figura
36597df656 wined3d: Check the wined3d resource type and usage in find_ps_compile_args(). 2024-01-26 23:47:13 +01:00
Zebediah Figura
dc15413585 d3d11/tests: Add a test for shader stencil export.
Ported from b8ab71e4dc in vkd3d by Conor McCarthy.
2024-01-26 23:47:05 +01:00
Zebediah Figura
775812ab11 d3d11: Report support for shader stencil export if available. 2024-01-26 23:47:04 +01:00
Zebediah Figura
5efd4b64f6 wined3d: Implement shader stencil export for GL. 2024-01-26 23:47:04 +01:00
Zebediah Figura
0ef730529a wined3d: Report VK_EXT_shader_stencil_export availability to vkd3d_shader_compile(). 2024-01-26 23:47:04 +01:00
Zebediah Figura
a586fd080d d3d11: Implement D3D11_FEATURE_D3D11_OPTIONS2. 2024-01-26 23:47:04 +01:00
Jacek Caban
4d2d6666db devenum: Use switch statements for moniker type handling.
Fixes -Wsometimes-uninitialized clang warnings by using DEFAULT_UNREACHABLE.
2024-01-26 18:30:07 +01:00
Rémi Bernon
68f8b53d69 winegstreamer: Use an array for the audio decoder input types. 2024-01-26 18:30:01 +01:00
Rémi Bernon
c65703eac7 winegstreamer: Use MFCreateAudioMediaType in the AAC decoder. 2024-01-26 18:30:01 +01:00
Rémi Bernon
42c96b9c8f winegstreamer: Fix reading MF_MT_USER_DATA into HEAACWAVEFORMAT.
Fixes 681d201462. The winegstreamer
private declaration of HEAACWAVEINFO previously didn't include the
WAVEFORMATEX member as it should.
2024-01-26 18:29:59 +01:00
Giovanni Mascellani
54217dab6d wined3d: Expose the image view usage for non-default views. 2024-01-26 18:11:51 +01:00
Giovanni Mascellani
7663be90ff wined3d: Expose the image view usage for null views. 2024-01-26 18:11:51 +01:00
Rémi Bernon
52a4d9e321 user32/tests: Tests clicking through window with SetWindowRgn. 2024-01-26 18:11:05 +01:00
Rémi Bernon
71201815bc user32/tests: Test clicking through attribute-layered windows. 2024-01-26 18:11:05 +01:00
Rémi Bernon
c5e16d2090 user32/tests: Filter the ll-hook messages with accept_message.
Wine sends spurious mouse move messages in some cases, let's ignore
them as it makes tests unreliable otherwise.
2024-01-26 18:11:02 +01:00
Nikolay Sivov
3724385c86 d3d10/effect: Use bitfields for numeric type descriptions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-01-26 17:54:33 +01:00
Martin Storsjö
11128e236f wineps.drv: Avoid invalid unaligned accesses.
While armv7 generally tolerates unaligned loads/stores in most
cases, the compiler is free to use the ldrd/strd instructions,
for loading/storing two consecutive 32 bit registers, and this
requires the destination to be aligned to a 4 byte boundary.

When packing a number of variable length structures, make sure
that each actual struct gets aligned at the right address
boundary.

This fixes crashes in DllMain of wineps.drv, when built for
armv7, since 351e58dc2d.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-01-26 17:54:33 +01:00
Alexandre Julliard
adf5f5fd30 ntdll/tests: Port the exception unwinding tests to ARM. 2024-01-26 17:54:33 +01:00
Alexandre Julliard
32f5efcdb2 ntdll/tests: Port the exception unwinding tests to ARM64. 2024-01-26 17:54:33 +01:00
Alexandre Julliard
35c1cc6c81 ntdll: Clear CONTEXT_UNWOUND_TO_CALL in signal frames. 2024-01-26 17:54:33 +01:00
Aida Jonikienė
81e9ae96f1 localspl: Fix a maybe-uninitialized warning in fill_builtin_form_info(). 2024-01-26 11:02:41 +01:00
Paul Gofman
bd2a2c25f5 winhttp: Always return result at once if available in WinHttpReadData(). 2024-01-26 11:01:50 +01:00