Commit graph

161669 commits

Author SHA1 Message Date
Sven Baars
8e7c99f7ab wined3d: Do not explicitly check 3D depth/stencil capabilities in wined3d_check_device_format().
This reapplies the change from 67d0038e49
that was reverted in 06b1932218, causing
a regression.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53785
2022-12-21 18:55:20 +01:00
Eric Pouech
af215210f0 kernel32/tests: Skip some console tests on w1064v1909.
We get conhost.exe:tty failures on testbot:
- not for version prior to w1064v1909 (these tests require
  pseudo-consoles, which are not implemented in these Windows
  version).
- for w1064v1909
- not for W10 versions after w1064v1909.

So, we assume that pseudo-console support is immature in this
Windows version: skip all the remaining test at the first
discrepancy point.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53465
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-21 18:24:39 +01:00
Zebediah Figura
f3e381d1c9 d3d9: Upload the relevant texture in d3d9_texture_gen_auto_mipmap().
Instead of uploading all currently bound textures. Besides being redundant, this
would generate mipmaps for an uninitialized texture, and subsequently trying to
render from nonzero mipmap levels would yield uninitialized data.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54170
2022-12-21 18:24:39 +01:00
Zebediah Figura
c3ee85b606 d3d9/tests: Test GenerateMipSubLevels() on a managed texture. 2022-12-21 18:24:39 +01:00
Paul Gofman
1a9c1d593b ddraw/tests: Release ddraw after device in test_texture_wrong_caps().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54049
2022-12-21 18:24:39 +01:00
Jacek Caban
9e351472dd shell32: Always set last error in Shell_NotifyIconW.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53101
2022-12-21 18:24:39 +01:00
Jacek Caban
1cd4775576 urlmon/tests: Use gitlab.winehq.org host in can_do_https.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53680
2022-12-21 18:24:39 +01:00
Rémi Bernon
11374e7020 dinput/tests: Test dinput force feedback effect envelope removal. 2022-12-21 18:24:39 +01:00
Rémi Bernon
d348cf3722 dinput/tests: Test windows.gaming.input infinite effect duration. 2022-12-21 18:24:39 +01:00
Rémi Bernon
735adb9ff4 dinput/tests: Factor async await together with some new helpers. 2022-12-21 18:24:39 +01:00
Shaun Ren
5ef7a45bc9 mfmediaengine: Pause the session in media_engine_Pause. 2022-12-21 18:24:38 +01:00
Shaun Ren
adbc4b666d mfmediaengine: Change media_engine_Shutdown FIXME to TRACE. 2022-12-21 18:24:38 +01:00
Ziqing Hui
ae32fb465e mfplat/tests: Add MEDIASUBTYPE_RGB* and NV11 image size tests. 2022-12-21 18:24:38 +01:00
Gabriel Ivăncescu
aa7f3b1ef6 jscript: Fix JSCaller Release refcount.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-12-20 22:39:25 +01:00
Paul Gofman
3f51fcf8ac winhttp: Only read server reply in send_request() if the whole request is sent.
Fixes a regression introduced by
aa8f97e829.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54184
2022-12-20 22:37:03 +01:00
Paul Gofman
2677546e0a winhttp: Handle state in a single switch in receive_response(). 2022-12-20 22:37:03 +01:00
Gerald Pfeifer
940d13db36 winebus.sys: Declare a variable only when used.
udev_add_device declares a variable (product) even when it is not used
on all platforms. Use the same condition for the declaration that already
guards the code.
2022-12-20 22:37:03 +01:00
Gerald Pfeifer
4bbdbc759a wmc: Avoid uninitialized variable in init_argv0_dir.
init_argv0_dir has conditional code for different operating systems. In
case of FreeBSD a variable remains uninitialized in the error case, yet
is then used. Fix that by handling the error case.
2022-12-20 22:37:02 +01:00
Alexandre Julliard
9761191f1c d3d8/tests: Make sure that the window has focus before testing loss of focus. 2022-12-20 22:37:02 +01:00
Alexandre Julliard
971ef0d3b3 d3d8/tests: Don't require WM_MOVE on window reactivation.
It can be activated without moving.
2022-12-20 22:37:02 +01:00
Zebediah Figura
266c855fbd httpapi/tests: Test passing NULL size to request reading functions. 2022-12-20 22:37:02 +01:00
Zebediah Figura
c9f6280422 httpapi: Allow passing NULL size to HttpReceiveRequestEntityBody(). 2022-12-20 22:37:02 +01:00
Zebediah Figura
d1d37e40d2 httpapi: Allow passing NULL size to HttpReceiveHttpRequest().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53980
2022-12-20 22:37:02 +01:00
Eric Pouech
f5a81ff02a kernel32/tests: Silence a failing test on Win10+.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-20 22:37:02 +01:00
Ziqing Hui
3eaa44a75c mf/tests: Test SetOutputType for WMV decoder. 2022-12-20 22:37:02 +01:00
Ziqing Hui
9c4bcbea00 mf/tests: Use one input type for GetOutputType tests. 2022-12-20 22:37:02 +01:00
Ziqing Hui
6353af03d3 mf/tests: Introduce check_dmo_set_input_type. 2022-12-20 22:37:02 +01:00
Ziqing Hui
5b67e30fd8 mf/tests: Shorten test messages. 2022-12-20 22:37:02 +01:00
Eric Pouech
0a7c04816f conhost: Don't print control characters for Unix tty.
They will be reinterpreted by Unix tty, leading to wrong display.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-20 22:37:02 +01:00
Eric Pouech
26699b3630 kernel32/tests: Test that control characters can be read & stored.
WriteConsole (not in processed mode) and WriteConsoleOutput* functions
allow to write control characters, which can then be read back as is.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-20 22:37:02 +01:00
Jacek Caban
4a415b0c56 win32u/tests: Add inter-process message tests. 2022-12-20 22:37:00 +01:00
Jacek Caban
d222dcc2a4 win32u: Convert inter-process messages to Unicode.
Based on user32 WINPROC_CallProcWtoA.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53744
2022-12-20 18:26:55 +01:00
Paul Gofman
2b0cd25b5f winhttp: Check for NULL lpszAutoConfigUrl in WinHttpGetProxyForUrl().
Fixes a regression introduced by
cbfe940a1e.
2022-12-19 22:25:19 +01:00
Alexandre Julliard
1efcbeacf1 d3d9/tests: Mark some of the depth bias tests as todo.
They fail on the Gitlab CI.
2022-12-19 22:25:19 +01:00
Alexandre Julliard
ab8d0dafde d3d9/tests: Mark a zero-size pixel test as todo.
It fails on the Gitlab CI.
2022-12-19 22:25:19 +01:00
Alexandre Julliard
28eafda808 d3d8/tests: Mark a zero-size pixel test as todo.
It fails on the Gitlab CI.
2022-12-19 22:25:19 +01:00
Alexandre Julliard
501ac4d496 ntdll: Match a timezone change happening at 23:59:59 with the following day.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53595
2022-12-19 22:25:15 +01:00
Rémi Bernon
29b437a53a user32/tests: Test GetPointer(Frame)Info(History) behavior. 2022-12-19 19:27:09 +01:00
Rémi Bernon
389bbf8fbb user32/tests: Move old GetPointerType tests into test_GetPointerInfo. 2022-12-19 19:27:09 +01:00
Rémi Bernon
d4aaf27333 user32/tests: Test GetPointerInfo behavior with EnableMouseInPointer. 2022-12-19 19:27:09 +01:00
Rémi Bernon
eb68155889 user32/tests: Test IsMouseInPointerEnabled behavior. 2022-12-19 19:27:09 +01:00
Rémi Bernon
73d6140d71 user32/tests: Test EnableMouseInPointer behavior. 2022-12-19 19:27:09 +01:00
Rémi Bernon
eefc7a86ac dinput/tests: Wait for each device interface to start / stop.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53525
2022-12-19 19:27:09 +01:00
Rémi Bernon
2bae0cb5f2 dinput/tests: Add a device count parameter to hid_device_(start|stop). 2022-12-19 19:27:09 +01:00
Rémi Bernon
15630ab443 dinput/tests: Use semaphores to count and notify rawinput messages. 2022-12-19 19:27:09 +01:00
Rémi Bernon
43814ac480 dinput/tests: Avoid using INFINITE timeouts. 2022-12-19 19:27:09 +01:00
Rémi Bernon
8454e2e730 dinput/tests: Remove old physical joystick tests.
They are now pretty much superseded by the more extensive tests in
joystick8.c, using virtual devices.
2022-12-19 19:27:09 +01:00
Rémi Bernon
4a5c9f7dc6 dinput/tests: Unregister rawinput devices after tests. 2022-12-19 19:27:09 +01:00
Rémi Bernon
5225aabd07 hidclass.sys: Make sure a desktop is created for the driver process.
This was previously automatically done when user32 was loaded, but since
the move of __wine_send_input to win32u, we do not need to load it any
more. Make sure we have a desktop or WM_INPUT messages won't be sent by
wineserver.
2022-12-19 19:27:09 +01:00
Huw Davies
c28258039b ntdll: Only compile get_current_teb() on linux. 2022-12-19 11:10:43 +01:00