1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00
Commit graph

170314 commits

Author SHA1 Message Date
Rémi Bernon
899abeafe4 mfplat/tests: Add tests for MFInitMediaTypeFromMFVideoFormat. 2024-03-19 23:02:11 +01:00
Rémi Bernon
a712d7ec87 mfplat/mediatype: Stub MFInitMediaTypeFromMFVideoFormat. 2024-03-19 23:02:11 +01:00
Rémi Bernon
fe0c129e0b mfplat/tests: Check the conditions for the MFVideoFlag_BottomUpLinearRep flags. 2024-03-19 23:02:11 +01:00
Rémi Bernon
b1d7c03514 mfplat/mediatype: Append user data in MFCreateMFVideoFormatFromMFMediaType. 2024-03-19 23:02:11 +01:00
Rémi Bernon
75a5263c60 mfplat/tests: Test that MFCreateMFVideoFormatFromMFMediaType appends user data. 2024-03-19 23:02:11 +01:00
Rémi Bernon
7598556b64 mfplat/tests: Test that aperture is dropped with VIDEOINFOHEADER2.
But preserved with MFVIDEOFORMAT.
2024-03-19 23:02:11 +01:00
Hans Leidekker
4fdb45f23f ntdll/tests: Load NtMakeTemporaryObject() dynamically. 2024-03-19 23:02:11 +01:00
Zhenbo Li
b4a5775ffb shell32: Create nonexistent destination directories in FO_MOVE.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=25207
2024-03-19 23:02:11 +01:00
Zebediah Figura
19627b13e4 shell32/tests: Remove obsolete workarounds from test_move(). 2024-03-19 23:02:11 +01:00
Alexandre Julliard
1bb011f815 ntdll/tests: Update the KiUserExceptionDispatcher test for ARM64EC. 2024-03-19 23:02:11 +01:00
Alexandre Julliard
2c22295233 ntdll/tests: Fix exception address checks in child process on ARM64EC. 2024-03-19 22:26:07 +01:00
Alexandre Julliard
d70dd61030 msvcrt: Use floating point comparison builtins also in MSVC mode. 2024-03-19 11:06:03 +01:00
Alexandre Julliard
5cf558935d netprofm: Use the correct symbols for error codes. 2024-03-19 10:05:57 +01:00
Mark Jansen
9e639ff1f6 kernel32/tests: Add tests for job object accounting.
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
2024-03-18 23:21:37 +01:00
Santino Mazza
b37d3f232b mf/topoloader: Preserve input topology id. 2024-03-18 23:21:37 +01:00
Santino Mazza
4da091eddd mf/test: Check the topologies id's in topo loader. 2024-03-18 23:21:37 +01:00
Rémi Bernon
fc97535ccb mfplat/mediatype: Implement some VIDEOINFOHEADER2 dwInterlaceFlags conversion. 2024-03-18 23:21:37 +01:00
Rémi Bernon
76abdf3403 mfplat/mediatype: Implement VIDEOINFOHEADER2 dwControlFlags conversion. 2024-03-18 23:21:37 +01:00
Rémi Bernon
5a34601606 mfplat/mediatype: Implement MF_MT_FRAME_RATE from VIDEOINFOHEADER2.
Native seems to also treat some frame rate specially, matching a wide
range of time per frame into the same predefined frame rates.
2024-03-18 23:21:37 +01:00
Rémi Bernon
aa385765a1 mfplat: Support flexible frame time in MFAverageTimePerFrameToFrameRate. 2024-03-18 23:21:37 +01:00
Rémi Bernon
578d104cf6 mfplat/tests: Add more MFAverageTimePerFrameToFrameRate tests. 2024-03-18 23:21:37 +01:00
Rémi Bernon
c94c464920 mfplat/mediatype: Set rcSource and rcTarget if stride differs from width. 2024-03-18 23:21:37 +01:00
Rémi Bernon
d0c996b2b4 mfplat/mediatype: Map rcSource to MF_MT_(PAN_SCAN|MINIMUM_DISPLAY)_APERTURE. 2024-03-18 23:21:37 +01:00
Rémi Bernon
66ea15f13a mfplat/mediatype: Set MF_MT_SAMPLE_SIZE from bmiHeader.biSizeImage. 2024-03-18 23:21:37 +01:00
Rémi Bernon
08cafe23d5 mfplat/mediatype: Support FORMAT_VideoInfo2 in MFInitMediaTypeFromAMMediaType. 2024-03-18 23:21:37 +01:00
Rémi Bernon
6413303e60 mfplat/tests: Test aperture to VIDEOINFOHEADER fields mapping. 2024-03-18 23:21:37 +01:00
Nikolay Sivov
30140b7d7e msxml6/tests: Add some tests for MXWriter60.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-18 23:21:37 +01:00
Alexandre Julliard
bd5ab1c6cd jscript: Use the correct facility for JScript errors. 2024-03-18 11:00:41 +01:00
Esme Povirk
552cc456d1 user32/tests: Add another missing message for TrackPopupMenu. 2024-03-15 23:49:00 +01:00
Paul Gofman
4d56a33ab0 server: Ignore some ICMP-originated socket errors for connectionless sockets. 2024-03-15 23:48:52 +01:00
Nikolay Sivov
9d3e458c55 wshom/network: Implement UserDomain property.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56434
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-15 23:48:17 +01:00
Alexandros Frantzis
e63da6ea68 win32u: Cancel previous key auto-repeat when starting a new one.
The previous auto-repeat may be associated with a different HWND,
so we cannot rely on the new timer replacing the old timer, and
we don't want simultaneous repeats on different windows in the
same thread.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56307
2024-03-15 17:55:30 +01:00
Alexandros Frantzis
7a25bd885e win32u: Cancel auto-repeat only if the repeat key is released.
This fixes the behavior to match other systems, where releasing
an unrelated key does not affect the repeating key.
2024-03-15 17:55:28 +01:00
Eric Pouech
819d8692c6 dbghelp: No longer embed unwind information in minidump (x86_64).
This can generate very long time when saving the minidump, but
also when reloading it.
Unwind information is expected to be gotten from an image matching
the modules listed in the minidump for Normal mode.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55798
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-15 15:06:38 +01:00
Eric Pouech
6b9c1682b1 winedbg: Reload module without virtual flag.
So that we can get to debug info.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-15 15:06:38 +01:00
Eric Pouech
aabf6334f3 winedbg: Fallback to PE image when reading memory (minidump).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-15 15:06:38 +01:00
Eric Pouech
ca95533e8a dbghelp: Add support for V2 unwind info (x86_64).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-15 15:06:38 +01:00
Rémi Bernon
8dd24ad2a4 mfplat/mediatype: Implement MFInitAMMediaTypeFromMFMediaType for FORMAT_VideoInfo2. 2024-03-15 15:06:38 +01:00
Rémi Bernon
d307cfede9 mfplat/tests: Add tests for MFInitMediaTypeFromVideoInfoHeader2. 2024-03-15 15:06:38 +01:00
Rémi Bernon
4319ada736 mfplat/mediatype: Implement MFInitMediaTypeFromVideoInfoHeader2. 2024-03-15 15:06:38 +01:00
Rémi Bernon
e497f0e88d mfplat/mediatype: Implement implicit MFInitMediaTypeFromVideoInfoHeader subtype. 2024-03-15 15:06:38 +01:00
Rémi Bernon
2692cd8b04 mfplat/tests: Test each VIDEOINFOHEADER field conversion separately. 2024-03-15 15:06:38 +01:00
Hans Leidekker
498b632899 ntdll/tests: Fix a test failure. 2024-03-15 15:06:37 +01:00
Kyrylo Babikov
b16b366327 dbghelp: Fix PDB processing using the FPO stream instead of FPOEXT. 2024-03-15 15:06:37 +01:00
Robin Kertels
f166b298ec d3d9/tests: Skip desktop window tests if device creation fails.
Signed-off-by: Robin Kertels <robin.kertels@gmail.com>
2024-03-15 15:06:37 +01:00
Henri Verbeet
47be32f3d1 wined3d: Do not check the input signature element count for sm4+ shaders in shader_spirv_compile_arguments_init().
Shader model 4 fragment shaders can have more than 12 input varyings. That's
fine though, because we don't need to build a varying map for them in the
first place. Note that in principle the ERR in question could still be
triggered by e.g. attempting to use a shader model 4 fragment shader with a
shader model 3 vertex shader.
2024-03-15 15:06:37 +01:00
Zhiyi Zhang
d6ac41a9f4 win32u: Don't enumerate mirrored monitor clones when unnecessary.
These functions don't need to enumerate mirrored monitor clones.
2024-03-15 15:06:37 +01:00
Zhiyi Zhang
793e4640e4 win32u: Don't enumerate mirrored monitor clones for GetSystemMetrics(SM_CMONITORS).
Only one monitor in a mirrored monitor set contributes to the result of GetSystemMetrics(SM_CMONITORS).
Tested manually on Win7 and Win10.
2024-03-15 15:06:37 +01:00
Zhiyi Zhang
6505403e58 win32u: Fix a possible condition that makes EnumDisplayMonitors() not reporting any monitors.
When there are two monitors and they are mirrored, both of them are considered primary. When the
first primary monitor happens to be a clone, EnumDisplayMonitors() ends up not reporting any
monitors because should_enumerate_monitor() returns FALSE and we break out the loop to enumerate
primary monitors after that.

This is a regression from b59619d and my review comments. My indent was to break out of the loop
after finding the *master* primary monitor, not cloned primary monitors, to avoid unnecessary
iterations. However, the primary monitor count is small and it's cleaner this way so let's break
when should_enumerate_monitor() returns TRUE.
2024-03-15 15:06:37 +01:00
Andrew Nguyen
1600f2e6bd ddraw: Release only valid texture parents on ddraw_texture_init failure.
When ddraw_texture_init needs to clean up on failure, it will call the
wined3d_texture_get_sub_resource_parent function on draw_texture in
order to retrieve its parent for a IDirectDrawSurface release call.
However, if draw_texture is NULL, then the function call will crash
due to a null pointer dereference.

Therefore, on failure cleanup, the release operation on the texture
parent should only be performed if draw_texture is not NULL.

This fixes a crash in the Virtual Insanity game demo.
2024-03-15 15:06:37 +01:00