Commit graph

165593 commits

Author SHA1 Message Date
Alistair Leslie-Hughes
83ea03bcc8 dxgi: Remove DECLSPEC_HIDDEN usage. 2023-07-20 21:48:39 +02:00
Alistair Leslie-Hughes
b9849d2f00 ddrawex: Remove DECLSPEC_HIDDEN usage. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
59ee798d51 ntdll/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
490aee03e4 msi/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
175d873c72 mshtml/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
75455010e0 mfplat/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
708d13b035 kernel32/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
3069b98b10 iphlpapi/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
d578e7981a inetcomm/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
17bccc860a imagehlp/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
8fe23255a5 ieframe/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
6077ea6946 gdiplus/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Alexandre Julliard
207bdd01ca gdi32/tests: Use nameless unions/structs. 2023-07-20 21:48:39 +02:00
Paul Gofman
03c1930b74 server: Cancel pipe asyncs when the last handle in process is closed. 2023-07-20 21:48:39 +02:00
Paul Gofman
57095a91b0 server: Cancel socket asyncs when the last handle in process is closed. 2023-07-20 21:48:39 +02:00
Paul Gofman
6360f56931 ws2_32/tests: Add test for async cancel on socket's last process handle close. 2023-07-20 21:48:39 +02:00
Paul Gofman
f311bb5fba ntdll/tests: Add test for async cancel on pipe's last process handle close. 2023-07-20 21:48:39 +02:00
Shaun Ren
68660958f6 sapi: Introduce ISpTTSEngineSite stub. 2023-07-20 21:48:38 +02:00
Shaun Ren
86a3144683 sapi: Implement synchronous ISpVoice::Speak. 2023-07-20 11:30:17 +02:00
Shaun Ren
a234bbc748 sapi: Partially implement ISpVoice::Speak SPF_ASYNC. 2023-07-20 11:30:17 +02:00
Shaun Ren
f9dff8a6fa sapi: Implement ISpVoice::Speak SPF_PURGEBEFORESPEAK.
Also introduce an async task queue.
2023-07-20 11:30:15 +02:00
Shaun Ren
9d407a1117 sapi: Reset empty event after queuing a task in async_queue_task. 2023-07-20 11:30:15 +02:00
Shaun Ren
4bfd0a2370 sapi: Handle queue not initialized in async_empty_queue. 2023-07-20 11:30:15 +02:00
Shaun Ren
5f3dee9702 include: Fix ISpTTSEngineSite::GetActions return type. 2023-07-20 11:30:15 +02:00
Davide Beatrici
024189aecd mmdevapi: Implement get_audio_session. 2023-07-20 11:29:56 +02:00
Davide Beatrici
ebd3fa86ba mmdevapi: Don't link to uuid. 2023-07-20 11:29:54 +02:00
Brendan Shanks
de18372065 winecoreaudio: Fix missing struct member in get_position() Wow64 thunk. 2023-07-19 21:55:10 +02:00
Zhiyi Zhang
35193586f7 winex11.drv: Move the dummy parent window to (0, 0).
Move the dummy parent window from (-1, -1) to (0, 0) so that the window is considered visible by
Wayland. The X11 window region is set to an empty rectangle so that the window is still in fact
invisible. If Xshape support is not compiled in, then fall back to using (-1, -1).

This fixes poor performance when running Office 2016 on Xwayland. It's caused by glXWaitForSbcOML()
in glxdrv_wglSwapBuffers() taking 1 second every time it gets called. The timeout is from
TIMER_LEN_FLIP (1000ms) in xwl_present_reset_timer() in the xserver source code hw/xwayland/xwayland-present.c.
Xwayland doesn't actually know when a frame is visible on screen[1][2]. It relies on a timer to
simulate the process and when the window is invisible it uses a timer with a 1000ms timeout. This
patch makes the dummy parent window visible so that Xwayland will use the timer with a 17ms timeout(~60fps),
which also means that there will still be a 60fps limit for some windows when running on Xwayland.

[1]: https://gitlab.freedesktop.org/xorg/xserver/-/issues/971
[2]: https://gitlab.freedesktop.org/xorg/xserver/-/issues/973
2023-07-19 16:55:04 +02:00
Gabriel Ivăncescu
8713e2ad64 mshtml: Grab the binding while aborting it.
Holding the BindStatusCallback ref is not enough; Abort can end up calling
OnStopBinding which intentionally removes the binding and releases its
ref. urlmon's Abort will then have a use-after-free when accessing the
state to set BINDING_ABORTED, if it was destroyed.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-19 16:54:46 +02:00
Francois Gouget
b8950d04e4 riched20/tests: Make the editor paste test failures more informative and unique.
Knowing the content of the edit field is more useful than knowing the
strcmp() result. The text field may contain carriage returns and
linefeeds so use wine_dbgstr_a() so they are clearly visible in the
failure message.
Also prefix the ok messages with a unique string to indicate which
test_WM_PASTE() test failed.
2023-07-19 16:54:39 +02:00
Francois Gouget
fc37683985 msvcrt/tests: Check that some functions are only available in 32-bit code. 2023-07-19 16:54:29 +02:00
Francois Gouget
858811a9f5 uxtheme/tests: Use win_skip() for missing APIs.
A missing API is a todo in Wine.
2023-07-19 16:54:25 +02:00
Francois Gouget
d569196e95 user32/tests: Use win_skip() for missing APIs.
A missing API is a todo in Wine.
2023-07-19 16:54:23 +02:00
Alexandre Julliard
49a177acc9 fusion/tests: Use nameless unions/structs. 2023-07-19 12:21:26 +02:00
Alexandre Julliard
b150f9ad59 dplayx/tests: Use nameless unions/structs. 2023-07-19 12:20:45 +02:00
Alexandre Julliard
6fe186468c dmsynth/tests: Use nameless unions/structs. 2023-07-19 12:20:19 +02:00
Alexandre Julliard
af2bda32bb devenum/tests: Use nameless unions/structs. 2023-07-19 12:20:04 +02:00
Alexandre Julliard
d98b09183c cryptui/tests: Use nameless unions/structs. 2023-07-19 12:18:26 +02:00
Alexandre Julliard
7bcfc123e6 crypt32/tests: Use nameless unions/structs. 2023-07-19 12:18:10 +02:00
Alexandre Julliard
a0b9b4ee2a compstui/tests: Use nameless unions/structs. 2023-07-19 12:17:20 +02:00
Alexandre Julliard
786dc0808b comdlg32/tests: Use nameless unions/structs. 2023-07-19 12:17:07 +02:00
Alexandre Julliard
297a7349ec comctl32/tests: Use nameless unions/structs. 2023-07-19 12:17:04 +02:00
Hans Leidekker
573e20e9de include: Add windows.applicationmodel.idl. 2023-07-19 12:01:38 +02:00
Hans Leidekker
3181c5a0df include: Add windows.storage.idl. 2023-07-19 12:01:38 +02:00
Hans Leidekker
6ca6fa15dc include: Add ProcessorArchitecture winrt enum. 2023-07-19 12:01:38 +02:00
Hans Leidekker
ac55e6eb9f include: Add Uri runtime class and related definitions. 2023-07-19 12:01:38 +02:00
Zhiyi Zhang
b9feebf7f3 user32/tests: Add Korean IME specific test sequences.
Windows with Korean locale has a different IME message sequence.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53890
2023-07-19 11:54:06 +02:00
Zhiyi Zhang
6596f85ee1 comctl32/tests: Add Korean IME specific test sequences.
Windows with Korean locale has a different IME message sequence.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53890
2023-07-19 11:54:03 +02:00
Connor McAdams
fd6b0422cc uiautomationcore: Implement IUIAutomation::RemoveAutomationEventHandler.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-19 10:45:13 +02:00
Connor McAdams
15d352c587 uiautomationcore: Implement IUIAutomation::RemoveAllEventHandlers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-19 10:45:13 +02:00