Commit graph

169471 commits

Author SHA1 Message Date
Rémi Bernon 1a757a0146 winex11: Advertise XInput2 version 2.2 support.
This is the required version for XInput2 touch events. It also allows
to greatly simplify the code by listening to master device events only
and get rid of device id tracking:

Under XInput2 protocol version < 2.1, RawEvents are not supposed to be
sent if a pointer grab is active. However slave device events are still
received regardless of this specification and Wine implemented a
workaround to receive RawEvents during pointer grabs by listening to
these slave device events.

By advertising the support of XInput2 version >= 2.1, where RawEvents
are sent even during pointer grabs, we ensure to receive the RawMotion
even if a mouse grab is active.
2024-02-12 12:32:20 +01:00
Rémi Bernon b341688dbd winex11: Process XInput2 events with QS_INPUT filter. 2024-02-12 12:32:20 +01:00
Yuxuan Shui e9e8ab1392 dmband: Implement getting/setting GUID_BandParam on band tracks. 2024-02-12 12:26:34 +01:00
Alexandre Julliard 39d8b25938 Release 9.2. 2024-02-09 22:46:52 +01:00
Gabriel Ivăncescu b5c57b9a62 explorer: Set layered style on systray icons only when it's actually layered.
Fixes a regression introduced by 229b4561d9,
which caused the icons to not be visible initially in the virtual desktop
systray.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-02-09 18:21:09 +01:00
Gabriel Ivăncescu 5e7a8f4db0 explorer: Don't activate the systray icon when showing it.
Fixes a regression introduced by 62c6646d8f,
because SetParent will unconditionally activate the window, causing newly
added icons to deactivate the foreground window.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-02-09 18:21:06 +01:00
Shaun Ren 26498d93cf sapi: Add stub implementation for ISpeechObjectTokens::get__NewEnum. 2024-02-09 18:00:04 +01:00
Shaun Ren ca6f3a7af8 sapi: Add ISpeechObjectTokens stub. 2024-02-09 18:00:04 +01:00
Shaun Ren c45bedbf23 sapi: Add ISpeechObjectToken stub. 2024-02-09 18:00:04 +01:00
Jacek Caban 4e54087fab dsound: Simplify f_to_32. 2024-02-09 18:00:04 +01:00
Jacek Caban 92f9c58e6d d3d10/tests: Avoid implicit cast changing value. 2024-02-09 18:00:04 +01:00
Alexandre Julliard 13b0f22cf9 ntdll/tests: Mark a failing test as todo. 2024-02-09 18:00:04 +01:00
Alexandre Julliard 7e2f44210b user32/tests: Fix some sysparams results on recent Windows. 2024-02-09 16:21:54 +01:00
Alexandre Julliard 525835897b gdi32/tests: Fix the expected GetTextMetrics() results on recent Windows. 2024-02-09 12:34:04 +01:00
Alexandre Julliard 3bd1d1c60d uxtheme: Use BOOLEAN instead of BOOL in ordinal functions.
This should fix test failures on Windows.
2024-02-09 11:48:46 +01:00
Rémi Bernon 87e5bdaa4a win32u: Get rid of the rawinput thread data and buffer. 2024-02-09 11:14:07 +01:00
Rémi Bernon 1664ad7d50 server: Fix rawinput buffer sizes and alignment on WoW64. 2024-02-09 11:14:07 +01:00
Rémi Bernon 2eb8950392 server: Move rawinput message conversion from win32u.
Appending the entire RAWMOUSE / RAWKEYBOARD / RAWHID + report structs
after the hardware message data, instead of using a custom intermediate
structure.
2024-02-09 11:14:07 +01:00
Ivo Ivanov 9a0e244d51 winebus.sys: Prefer hidraw if it is the only backend enabled. 2024-02-09 11:13:44 +01:00
Hans Leidekker 8cb68e43de msxml3: Enable XPath object cache.
This gives a 30% performance increase in a local test with a very large document.
2024-02-08 23:31:25 +01:00
Yuxuan Shui 97d4c7fe3f mf: Only preroll when starting from stopped state.
Stream sink such as evr can't be prerolled a second time, and when we are
restarting from a paused state, those stream sink will already be prerolled
so don't preroll them again. Otherwise we will be waiting for Prerolled
events that will never come.
2024-02-08 23:31:25 +01:00
Marc-Aurel Zent 51b6a0fe12 ntdll: Fix DW_OP_abs absolute value warning on labs() for clang. 2024-02-08 23:31:25 +01:00
Alex Henrie 48440d2446 explorer: Handle the back and forward buttons of a 5-button mouse. 2024-02-08 23:31:25 +01:00
Alexandros Frantzis 26e3d2eced win32u: Use consistent locking order for display related mutexes.
Most paths that hold both the display_lock and the display_devices_init
mutex acquire them in the order just mentioned. However, there are two
cases where these are acquired in the opposite order, which with
unfortunate thread interactions and timings can lead to a deadlock. Fix
these cases to use the same order as the rest of the code.
2024-02-08 23:31:24 +01:00
Rémi Bernon c8bf3ba2da server: Stop using hardware_msg_data in rawinput_message. 2024-02-08 23:31:24 +01:00
Rémi Bernon f86cca3897 server: Stop using union rawinput in hw_input_t. 2024-02-08 23:31:24 +01:00
Rémi Bernon c62ca2e1aa server: Combine HID usage page and usage together. 2024-02-08 23:31:24 +01:00
Rémi Bernon 3c64448037 mfreadwrite/tests: Test source reader transforms with MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING. 2024-02-08 23:31:24 +01:00
Rémi Bernon b37a16c7f3 mfreadwrite/tests: Test source reader transforms with MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING. 2024-02-08 23:31:24 +01:00
Rémi Bernon f5daee4a2f mfreadwrite/tests: Test source reader exposed transforms and types. 2024-02-08 23:31:24 +01:00
Rémi Bernon 5122f6ad9f mfreadwrite/tests: Initialize test source stream types from descriptors. 2024-02-08 23:31:24 +01:00
Alexandre Julliard cf7c48e036 ntdll: Fix RtlWow64GetCurrentMachine() result on ARM64EC. 2024-02-08 23:31:24 +01:00
Alexandre Julliard 1456b31eec ntdll: Use the current machine by default to create an ARM64X process. 2024-02-08 17:07:23 +01:00
Alexandre Julliard de988eeea0 server: Add hybrid flag in image mapping information. 2024-02-08 17:07:22 +01:00
Alexandre Julliard 8c703f3e2f ntdll: Redirect the module entry point for ARM64EC modules. 2024-02-08 17:07:22 +01:00
Alexandre Julliard e05c6c8211 server: Don't update the entry point in the image information for ARM64EC modules. 2024-02-08 17:07:22 +01:00
Alexandre Julliard bd703632fd server: Don't update the machine in the image information for ARM64EC modules. 2024-02-08 13:05:28 +01:00
Esme Povirk ce4636e510 user32/tests: Fix flags on expected EM_GETPASSWORDCHAR message.
I missed that a few of these had the defwinproc flag when
initially adding them.
2024-02-07 22:50:29 +01:00
Arkadiusz Hiler f67279c57f wbemprox: Reimplement LIKE.
Current implementation handles correctly % only at the end of the
string. Nothing else matches.

The new implementation while naïve and recursive handles both _ and *
correctly.
2024-02-07 22:50:14 +01:00
Arkadiusz Hiler 332d48364f wbemprox/tests: Test LIKE queries. 2024-02-07 22:50:14 +01:00
Helix Graziani 4efbcae5e8 windows.globalization: Add IIterable_HSTRING impl to IVectorView_HSTRING. 2024-02-07 22:39:58 +01:00
Louis Lenders 0edcc9b1d6 wbemprox: Add property 'Caption' to Win32_DiskDrive.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56291
2024-02-07 22:39:49 +01:00
Eric Pouech 36d6fe591b dmime: Use sent duration in loop's playback.
When playing a loop, and if no end of loop point has been defined
(meaning = play whole segment), don't rely on segment's length for
wave tracks as their length is always 1.  Compute segment length in
this case by grabbing each track's playback length in segment state's
internal graph.  This feature is only activated for messages generated
by wave tracks, but could be extended if needed to other types of
messages.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-07 22:34:25 +01:00
Eric Pouech ef2830b620 dmime: Generate track flags while in loop.
Store track_flags inside segment state so that they can be reused in
subsequent calls.  The start/seek/loop flags are now properly set when
calling IDirectMusicTrack_Play().

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-07 22:34:18 +01:00
Eric Pouech dfaa45069e dmime: Add IDirectMusicGraph interface to segment state.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-07 22:34:18 +01:00
Eric Pouech 425c270d27 dmime: Add tests about segment state's graph interface.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-07 22:34:17 +01:00
Eric Pouech ed92095f28 dmime: Fully implement IDirectMusicSegmentState::GetRepeats().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-07 22:34:17 +01:00
Alexandre Julliard c129595381 ntdll: Use the correct machine when loading ntdll on ARM64EC. 2024-02-07 22:28:00 +01:00
Alexandre Julliard 0d37cc1d06 ntdll: Update the image information when loading a builtin dll. 2024-02-07 22:28:00 +01:00
Alexandre Julliard 4022fb9ba3 server: Don't report alternate 64-bit machines as supported. 2024-02-07 22:28:00 +01:00