Commit graph

161680 commits

Author SHA1 Message Date
Biswapriyo Nath d059dd1cd0 include: Add missing constants in d3d11.idl. 2022-12-22 20:51:24 +01:00
Alexandre Julliard 6a1e2c1b89 d3d9/tests: Fix some activation/focus test failures.
By backporting the corresponding window management tweaks from the
d3d8:device test.
2022-12-22 20:51:24 +01:00
Alexandre Julliard 1368a4c20b d3d9/tests: Mark a render target color test as todo.
Split the check_rt_color() function to allow conditional todos.
2022-12-22 20:51:24 +01:00
Alexandre Julliard 8bd9fcbdea d3d9/tests: Mark a texture sampling test as todo.
It fails on the Gitlab CI.
2022-12-22 20:51:24 +01:00
Zebediah Figura 1a02862622 ntdll/tests: Avoid testing the server pipe signaled state from the main thread.
Although the test has never been observed to fail on Windows, I think the
failure is genuinely a race in the test.

File handles (like events) are signaled in order to mark that an I/O operation
has completed. In this case the I/O operation includes manipulating data on both
ends of the pipe, and as part of that may signal the other end. Internally,
however, the file handle must logically happen *after* all of this processing
has taken place, not least because (given the Windows I/O architecture) it is
the job of the I/O manager, not the IRP handler.

Since the purpose of the test is probably just to check that the file handle
will be signaled after a synchronous I/O operation has completed, we may as well
check it from the client thread, after we know for sure that it has.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54078
2022-12-22 15:16:25 +01:00
Jinoh Kang eb1f9896cc win32u: Honor CS_HREDRAW and CS_VREDRAW when resizing window.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52903
2022-12-22 15:16:03 +01:00
Jinoh Kang b2a9445e15 user32/tests: Add tests for CS_HREDRAW and CS_VREDRAW. 2022-12-22 15:16:01 +01:00
Alexandre Julliard 2d7d84a65a Release 8.0-rc2. 2022-12-21 22:07:48 +01:00
Rémi Bernon 6dd2ed2c7d winex11: Check pixel format flags in X11DRV_wglChoosePixelFormatARB.
The check was dropped in e392e0ac28,
leaving the dwFlags variable unused.
2022-12-21 21:18:44 +01:00
Rémi Bernon 87090965ff opengl32/tests: Test wglChoosePixelFormatARB flags filters. 2022-12-21 21:18:44 +01:00
Rémi Bernon 409d0f4247 Revert "qasf: Register ASF Reader filter media type."
This reverts commit 4608e1e125.

The ASF Reader filter suffers from defects which are difficult to solve,
and will require a better implementation of wmvcore in order to work
correctly. In the meantime, revert the class registration so that the
File Source filter is preferred instead.

This will break games that tried to use the filter directly and which
may have started to work correctly, but they are less frequent than the
ones simply playing wmv videos with quartz.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53640
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53748
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54191
2022-12-21 21:18:38 +01:00
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