Commit graph

165727 commits

Author SHA1 Message Date
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
Connor McAdams
4cc7525ad5 uiautomationcore: Partially implement IUIAutomation::AddAutomationEventHandler.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-19 10:45:13 +02:00
Connor McAdams
79313d0117 uiautomationcore/tests: Add IUIAutomationEventHandler tests.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-19 10:45:13 +02:00
Petrichor Park
100504d2f5 notepad: Use GetDpiForWindow().
Instead of querying the registry, just calls `GetDpiForWindow`.

Winecfg's DPI slider sets `Control Panel\\Desktop\\LogPixels`.
See `programs/winecfg/x11drvdlg.c`
Notepad queries `Software\\Fonts\\LogPixels`, and so doesn't pick up
on the change.
2023-07-19 10:44:51 +02:00
Jeff Smith
224b771c0d windowscodecs: Allow GIF with no color table. 2023-07-19 01:25:05 +02:00
Jeff Smith
8ff77999b5 windowscodecs: Factor out common GIF palette copying logic. 2023-07-19 01:25:05 +02:00
Alexandre Julliard
70a6ac07bf ver: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
80ee53bb90 mmsystem: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
7a82d78b17 krnl386: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
f5c4ae7c10 strmbase: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
0724f94fa7 winspool.drv: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
0682b43b55 winmm: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
94efe81ad5 wininet: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alexandre Julliard
f58ce1cef6 winhttp: Use nameless unions/structs. 2023-07-18 20:12:42 +02:00
Alex Henrie
16a2243ee9 include: Annotate SHAlloc with __WINE_(DEALLOC|MALLOC). 2023-07-18 15:26:13 +02:00
Alex Henrie
36cf7b3d9d shell32: Free item lists with ILFree. 2023-07-18 15:26:13 +02:00
Alex Henrie
c79ffafcae include: Annotate IoAllocate functions with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2023-07-18 15:26:13 +02:00