Commit graph

167637 commits

Author SHA1 Message Date
Connor McAdams 362ea302b9 uiautomationcore/tests: Fix test failure on Win10v1709.
Win10v1709 doesn't respond to EVENT_OBJECT_DESTROY for COM focus event
handlers.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55807
2023-10-20 22:31:12 +02:00
Connor McAdams b22a06281a uiautomationcore: Only print FIXME messages for missing default clientside providers once.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-20 22:31:12 +02:00
Connor McAdams 29d8c3828f uiautomationcore: Remove accidentally leftover FIXME.
The MSAA to UIA event bridge is now partially implemented.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-20 22:31:12 +02:00
Rémi Bernon 231dd330cf dmime: Avoid releasing the newly created graph twice.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55790
2023-10-20 19:24:08 +02:00
Rémi Bernon 7c9e8b9c4e dswave: Use the dmusic wave object implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55792
2023-10-20 19:24:08 +02:00
Rémi Bernon 80e6310a88 dmusic: Use the IDirectMusicObject interface for waves.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55792
2023-10-20 19:24:08 +02:00
Rémi Bernon dc0431b819 dmusic: Implement IDirectMusicObject interface on wave objects.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55792
2023-10-20 19:24:08 +02:00
Rémi Bernon b1bfc52676 dmime: Return hr from wave track SetParam GUID_DownloadToAudioPath.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55792
2023-10-20 19:24:08 +02:00
Rémi Bernon 0431c88a9d dmime: Return S_OK from wave track SetParam GUID_UnloadFromAudioPath.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55792
2023-10-20 19:24:08 +02:00
Rémi Bernon 4d0c3d89a4 dmime: Avoid crashing when purging notification messages.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55792
2023-10-20 19:24:08 +02:00
Jacek Caban 6239db72ed d2d1: Don't cast D2D1_THREADING_MODE to D2D1_FACTORY_TYPE in D2D1CreateDevice. 2023-10-20 19:24:08 +02:00
Jacek Caban f319d4ce8e d2d1: Pass interpolation mode as D2D1_INTERPOLATION_MODE to d2d_device_context_draw_bitmap. 2023-10-20 19:24:08 +02:00
Jacek Caban a07fbb9307 d2d1/tests: Use D2D1_INTERPOLATION_MODE constants in DrawImage calls. 2023-10-20 19:24:08 +02:00
Alexandre Julliard 6289a5848b shlwapi: Remove unneeded UNALIGNED attributes.
They are causing compiler warnings.
2023-10-20 13:28:08 +02:00
Alexandre Julliard 9a4e41c45d winebuild: Always use .balign for alignment.
It seems to be portable enough nowadays.
2023-10-20 11:59:26 +02:00
Nikolay Sivov 7773139261 mfmediaengine: Mask some source flags returned from GetResourceCharacteristics().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-19 22:43:57 +02:00
Alexandre Julliard 609de17e25 vcruntime140_1: Only build for x86-64. 2023-10-19 18:19:30 +02:00
Alexandre Julliard fb4eca9a1e ntdll: Export RtlCopyMemory on ARM platforms. 2023-10-19 18:19:30 +02:00
Alexandre Julliard e57e885688 kernelbase: Export the extended context functions on all platforms. 2023-10-19 18:19:30 +02:00
Alexandre Julliard f13a6dee5e kernel32: Export the Ums functions on ARM64. 2023-10-19 18:19:30 +02:00
Alexandre Julliard 76496e90fc msvcrt: Export more exception handling functions on ARM platforms. 2023-10-19 18:19:30 +02:00
Alexandre Julliard 2468b2b84d msvcrt: Simplify platform checks for exception handling functions. 2023-10-19 18:19:30 +02:00
Alexandre Julliard cf21c75bbf ntdll: Simplify platform checks for exception handling functions.
And sync the corresponding forwards.
2023-10-19 18:19:30 +02:00
Alexandre Julliard 8db7f7a6ae Revert "loader: Translate wine.desktop to Catalan".
This reverts commit 7a22152ba1.
There was already a translation.
2023-10-19 14:56:32 +02:00
Alex Henrie fbbabca177 commdlg: Set lCustData the same in GetSaveFileName as GetOpenFileName.
Fixes: 691c7775d1
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55715
2023-10-19 10:12:19 +02:00
Alex Henrie e8d849efce wined3d: Use debugstr_fourcc instead of debugstr_an. 2023-10-19 10:12:14 +02:00
Dmitry Timoshkov 6391b8d5c9 cryptui: Use CertNameToStr(CERT_NAME_STR_NO_QUOTING_FLAG) to disable quoting.
This makes the certificate selecting UI look similar to Windows.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Dmitry Timoshkov c23865d9c3 crypt32: Add support for CERT_NAME_STR_NO_QUOTING_FLAG to CertNameToStr().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Dmitry Timoshkov 1252426d71 crypt32/tests: Add some tests for quoted RDN values.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Dmitry Timoshkov c2962b2283 crypt32: Avoid truncating unicode chars.
So that strings containing Cyrillic Capital Letter ER (0x420) won't be
quoted when not needed.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Arkadiusz Hiler 2bfe81e41f winex11.drv: Send missed KEYUP events on KeymapNotify.
Full focus lost / focus gained events on the Windows side are not
feasible for X11's FocusIn/FocusOut events generated by keyboard grabs
(see XGrabKeyboard()) that are used for example for Atl+Tab handling.
Using them would degrade user's experience by causing the window to
minimize or flash multiple times depending on a game/window manager
combo.

Because of that the programs may miss on some KEYUP events that happen
during the grab, and since there are no focus changes on the Windows
side the state doesn't get resynced.

This change attempts to improve user experience by syncing any missed
key release events that happened while the window haven't had focus on
the X11 side.

There's no syncing of key presses as those are more problematic because
of window manager quirks, e.g. on KDE it may end up syncing the Tab
press portion of Alt+Tab. Luckily missing key events for keys that were
pressed and not released while the WM had the keyboard grab is not
nearly as confusing as stuck keys.

For Warhammer: Chaosbane, theHunter: Call of the Wild, Far Cry Primal
and many other games that end up with stuck Alt after Alt+Tabbing.
2023-10-18 20:47:00 +02:00
Rémi Bernon 6631e6bc2d dmime: Remove FIXME from methods now mostly implemented. 2023-10-18 20:47:00 +02:00
Rémi Bernon 8a4989f3a6 dmime: Translate some DMUS_CURVE_PMSG messages to MIDI. 2023-10-18 20:47:00 +02:00
Rémi Bernon 2c4fc0adcf dmusic: Use a dmusic_midi.h header for MIDI messages. 2023-10-18 20:47:00 +02:00
Rémi Bernon 65e388137c dmime: Adjust MIDI message time with DMUS_NOTE_PMSG nOffset. 2023-10-18 20:47:00 +02:00
Rémi Bernon 5a66857fb4 dmime: Don't interrupt track iteration if SetParam failed. 2023-10-18 20:47:00 +02:00
Rémi Bernon 12d3ccb495 dmime: Only use index if group is set in IDirectMusicSegment_SetParam. 2023-10-18 20:47:00 +02:00
Rémi Bernon e9fdbe4d55 dmband: Set DMUS_PATCH_PMSG bank LSB/MSB from instrument patch. 2023-10-18 20:47:00 +02:00
Rémi Bernon 10a1e533c3 dmband: Download segment tracks if performance auto-download is set. 2023-10-18 20:46:59 +02:00
Rémi Bernon 4106217718 dmsynth: Set default modulators according to the DLS2 spec. 2023-10-18 20:46:59 +02:00
Rémi Bernon 7f629f7f54 dmsynth: Convert modulator values from DLS2 to SF2 convention. 2023-10-18 20:46:59 +02:00
Rémi Bernon c7ca1643f7 dmsynth: Fix FluidSynth generators for direct connections. 2023-10-18 20:46:59 +02:00
Rémi Bernon 0eaa06b51d dmsynth: Fix DLS2 to FluidSynth conversion for CONN_SRC_CCx. 2023-10-18 20:46:59 +02:00
Rémi Bernon 832a2127cd dmsynth: Avoid using fluid_ prefix for internal helpers. 2023-10-18 20:46:59 +02:00
Rémi Bernon 1728f82a2a dmsynth: Correctly lookup instrument from the default drum bank. 2023-10-18 20:46:59 +02:00
Rémi Bernon 7274902a3b dmsynth: Implement sink rendering to DirectSound buffer. 2023-10-18 20:46:59 +02:00
Rémi Bernon 0d56c54d8b dmsynth: Create a render thread on sink activation. 2023-10-18 20:46:59 +02:00
Connor McAdams 27aed609c6 uiautomationcore: Implement IUIAutomationElement::get_CachedBoundingRectangle.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams f9f59d109f uiautomationcore: Implement IUIAutomationElement::get_CachedName.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams e9e009b723 uiautomationcore: Implement IUIAutomationElement::get_CachedIsKeyboardFocusable.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00