Alexandre Julliard
86721b874b
oledb32/tests: Use nameless unions/structs.
2023-07-21 21:27:35 +02:00
Aurimas Fišeras
35f7ebfef8
po: Update Lithuanian translation.
2023-07-21 10:50:33 +02:00
Gabriel Ivăncescu
3ab9a1da45
jscript: Properly set JS_E_WRONG_THIS as a TypeError.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:40 +02:00
Gabriel Ivăncescu
62cee99658
mshtml/tests: Add tests for WeakMap.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:40 +02:00
Gabriel Ivăncescu
1b14d7b46d
jscript: Implement WeakMap.has().
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:39 +02:00
Gabriel Ivăncescu
6a22b304b2
jscript: Implement WeakMap.clear().
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:39 +02:00
Gabriel Ivăncescu
56c74e381b
jscript: Implement WeakMap.delete().
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:39 +02:00
Gabriel Ivăncescu
bc1b8b277a
jscript: Implement WeakMap.get().
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:39 +02:00
Gabriel Ivăncescu
b4373a9e18
jscript: Implement WeakMap.set().
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:39 +02:00
Gabriel Ivăncescu
b8dbee6916
jscript: Implement WeakMap instance stub and constructor.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:39 +02:00
Gabriel Ivăncescu
3f20b8aa3e
jscript: Convert unlink_props to a helper that unlinks the entire object.
...
It will be useful for other cases, and we don't need the gc_ctx for
unlinking. Also set the PROP_PROTREFs to PROP_DELETED since we're unliking
the prototype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-07-20 21:48:39 +02:00
Yuxuan Shui
f66c897212
msvcrt: Fix out-of-bound access in create_locinfo.
...
Fixes regression introduced by 24a2b62554
.
Signed-off-by: Yuxuan Shui <yshui@codeweavers.com>
2023-07-20 21:48:39 +02:00
Alistair Leslie-Hughes
36ef8327ac
d3dx9_36: Remove DECLSPEC_HIDDEN usage.
2023-07-20 21:48:39 +02:00
Alistair Leslie-Hughes
964025e279
ddraw: Remove DECLSPEC_HIDDEN usage.
2023-07-20 21:48:39 +02:00
Alistair Leslie-Hughes
85a88076f8
d2d1: Remove DECLSPEC_HIDDEN usage.
2023-07-20 21:48:39 +02:00
Alistair Leslie-Hughes
f65705df9d
d3dx10_43: Remove DECLSPEC_HIDDEN usage.
2023-07-20 21:48:39 +02:00
Alistair Leslie-Hughes
8f360d7434
d3d11: Remove DECLSPEC_HIDDEN usage.
2023-07-20 21:48:39 +02:00
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