Rémi Bernon
85dac24e64
user32/tests: Add flaky_wine to some SetActiveWindow tests.
...
They are constantly failing on Gitlab, and may be caused various race
conditions around window focus, both in Wine and in Fvwm. It would be
nice to fix them but it's been going for many years now and unlikely to
be the case soon.
2024-01-17 10:57:39 +01:00
Zebediah Figura
d6204ccd54
ddraw: Use the sysmem wined3d texture for sysmem surfaces if possible.
2024-01-17 10:57:32 +01:00
Zebediah Figura
b712d6c846
ddraw: Sync to sysmem after performing a color fill.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56119
2024-01-17 10:57:32 +01:00
Zebediah Figura
48ecde18e0
ddraw/tests: Add tests for map pointer coherency.
2024-01-17 10:57:32 +01:00
Eric Pouech
585e9d4985
dbghelp: Support redefinition of a range statement.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56168
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-17 10:57:12 +01:00
Rémi Bernon
0ab411a047
user32/tests: Fix cursoricon tests on recent Windows versions.
...
This will now fail on older, unsupported versions, but the
test_monochrome_icon test would be pointless otherwise.
2024-01-17 10:57:01 +01:00
Rémi Bernon
edc41d6db5
user32/tests: Remove old Windows versions broken cursoricon results.
...
They most of the time let any result pass and defeat the purpose of
the test.
2024-01-17 10:57:00 +01:00
Nikolay Sivov
8e82b56a7e
mf/tests: Skip tests if video renderer can't be created.
2024-01-17 10:56:47 +01:00
Alexandre Julliard
fd1153552d
Release 9.0.
2024-01-16 21:55:47 +01:00
Rémi Bernon
3d4ee138ec
gitlab: Add key to the jobs ccache cache config.
...
To avoid jobs with different compilers overwriting each other.
2024-01-15 20:03:01 +01:00
Rémi Bernon
2d9f5bea79
gitlab: Use a common configure cache key prefix.
...
Partially reverts commit 67f2da2a8d
which
broke ccache cache as the job configurations were overriding the default
cache configuration from .wine-build instead of extending it.
2024-01-15 20:02:59 +01:00
Rémi Bernon
a6b58a2c1f
gitlab: Force WINETEST_ARGS to always be a string array.
...
Fixes the test name passed to winetest.exe which is otherwise split
into a character array when there's a single line in the winetest.args
file, and then causes it to miss the test and always return success.
2024-01-15 20:02:54 +01:00
Alexandre Julliard
ff1642f32c
Release 9.0-rc5.
2024-01-12 21:59:55 +01:00
Bernhard Übelacker
3481d165d1
msvcrt: Protect setlocale against concurrent accesses.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55467
2024-01-12 20:44:55 +01:00
Elizabeth Figura
bed2495e50
wined3d: Only suballocate dynamic buffers.
...
I don't know for sure that this is why iris (or nvidia) performs badly, but it
seems perfectly plausible, and I don't think we lose anything by letting the
driver allocate here.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54223
2024-01-12 18:59:15 +01:00
Elizabeth Figura
52a0e36aee
wined3d: Avoid WARN() when failing to allocate a GL BO without a context.
...
This is normal and expected, and only a concern for performance. Avoid polluting
warn+d3d logs.
2024-01-12 18:59:12 +01:00
Gabriel Ivăncescu
44aa651dc5
winex11: Move the update_desktop_fullscreen callsite to update_net_wm_states.
...
It's simpler to just use the same sequence as normal fullscreen windows
and avoid headaches with virtual desktops.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56149
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-01-11 23:01:46 +01:00
Rémi Bernon
d0a317e98a
winewayland: Add missing breaks in keyboard layout switch.
2024-01-11 20:30:52 +01:00
Hans Leidekker
60843dbb3e
wininet/tests: Update expected winehq.org certificate.
2024-01-11 14:00:37 +01:00
Rémi Bernon
866f17c147
ntoskrnl.exe/tests: Use SUOI_FORCEDELETE when uninstalling the driver.
...
Avoids conflicts with the dinput tests somehow.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52962
2024-01-10 21:07:27 +01:00
Hans Leidekker
928d73d4ef
wldap32/tests: Skip tests when the server can't be reached.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55784
2024-01-10 15:39:23 +01:00
Akihiro Sagawa
98b053a5b8
d3d9: Update presentation parameters when creating a swap chain.
...
Fixes regression introduced by 215a32d643
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56070
2024-01-10 10:35:00 +01:00
Akihiro Sagawa
059b3ac77f
d3d9/tests: Test the presentation parameters after creating an additional swap chain.
2024-01-10 10:35:00 +01:00
Akihiro Sagawa
8eefd729ec
d3d8/tests: Test the presentation parameters after creating an additional swap chain.
2024-01-10 10:35:00 +01:00
Akihiro Sagawa
45ea10c71f
d3d9/tests: Test the presentation parameters after creating a device.
2024-01-10 10:35:00 +01:00
Akihiro Sagawa
beefff0002
d3d8/tests: Test the presentation parameters after creating a device.
2024-01-10 10:35:00 +01:00
Enol Puente
7a9fba29d6
po: Update Asturian translation.
2024-01-10 10:25:21 +01:00
Gabriel Ivăncescu
4054795ff1
winex11: Update Virtual Desktop fullscreen WM state after setting window pos.
...
To make sure the hints are set up properly first.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56149
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-01-09 23:59:59 +01:00
Gabriel Ivăncescu
75a774f90a
winex11: Set MWM_FUNC_RESIZE for fullscreen desktop windows.
...
Same workaround as used in is_window_resizable, except it's on a different
code path. This also affects other WMs (e.g. Kwin, compiz).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56149
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-01-09 23:59:59 +01:00
Gabriel Ivăncescu
d9b5bf9a71
Revert "winex11: Use the correct root window for virtual desktops.".
...
This reverts commit 790133e950
.
It was incorrect, sorry about that. The issue was weirder in a different place (MWM_FUNC_RESIZE not set before setting fullscreen).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56149
2024-01-09 23:59:59 +01:00
Rémi Bernon
1b75341346
dmusic: Clone streams instead of allocating wave data.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56117
2024-01-09 23:59:59 +01:00
Jacek Caban
67f2da2a8d
gitlab: Cache config.cache in Clang builds.
2024-01-09 23:59:59 +01:00
Alex Henrie
20e3b7b859
winspool: Keep driver_9x in scope while it is in use.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54387
2024-01-08 20:52:27 +01:00
Nikolay Sivov
7e30b44367
mf/tests: Skip tests if D3D9 is unusable.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-01-08 20:52:27 +01:00
Nikolay Sivov
dcd8551142
mfreadwrite/tests: Skip tests if D3D9 is unusable.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-01-08 20:52:27 +01:00
Alexandre Julliard
7748c76e35
krnl386: Align the stack before calling the entry point.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56152
2024-01-08 20:52:27 +01:00
Alexandre Julliard
de3bc7d511
krnl386: Use NtContinue to restore the full context.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56152
2024-01-08 20:52:27 +01:00
Jinoh Kang
9fa27defd7
ntdll/tests: Fix xstate tests failing on Windows 11 and CPU with more XSAVE features.
2024-01-08 20:52:27 +01:00
Jinoh Kang
835f99bdce
ntdll/tests: Don't hard code the maximum XState length in test_extended_context().
...
This is required to support systems with a larger XSAVE area.
2024-01-08 20:52:27 +01:00
Jinoh Kang
7ba9dea999
ntdll/tests: Fix incorrect calculation of context length in test_copy_context().
...
`(BYTE *)dst_ex - (BYTE *)dst` is the size of the legacy context, but
`dst_ex->All` already contains the legacy context. Therefore,
`context_length` has the legacy context size added *twice*.
This becomes a problem when `context_length` exceeds
`sizeof(src_context_buffer)`. This confuses `check_changes_in_range()`,
causing out-of-bounds read and unpredictable test results.
2024-01-08 10:18:26 +01:00
Jinoh Kang
3995ff240a
ntdll/tests: Fix x86-32 extended context end offset in test_copy_context().
...
The penultimate element of `ranges_x86` array has an incorrect value: it
should be *at least* 0x2f0, which is the minimum size of an extended
context.
Fix this by setting it to 0x440, which is the minimum size of an
extended context *with* CONTEXT_I386_XSTATE. This is consistent with
`ranges_amd64`, the penultimate element of which has the minimum size of
an extended context *with* CONTEXT_AMD64_XSTATE.
Note that the incorrect value does not always lead to a test failure,
since check_changes_in_range_() effectively ignores range `start`s that
are not in order. Reproducing the failure requires a system with a
sufficiently large XSAVE area; specifically, the following condition is
necessary for check_changes_in_range_() to pick up the wrong value:
0x2cc < 0x294 + src_ex->XState.Length - sizeof(XSTATE).
2024-01-08 10:18:26 +01:00
Alexandre Julliard
d56fc6d318
Release 9.0-rc4.
2024-01-05 22:20:29 +01:00
André Zwing
532418b091
ntoskrnl/tests: Use RtlNtStatusToDosErrorNoTeb() for stateless conversion.
2024-01-05 18:46:07 +01:00
André Zwing
2ce7cee4fc
mscoree/tests: Don't test function directly when reporting GetLastError().
2024-01-05 18:46:07 +01:00
Zsolt Vadasz
56a666d563
msvcrt/tests: Test case insensitivity of getenv() and _wgetenv().
2024-01-05 18:46:07 +01:00
Zsolt Vadasz
1f01dd1230
msvcrt: Compare environment variable names case insensitively.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56134
2024-01-05 18:46:07 +01:00
Zebediah Figura
a79db19fdc
wined3d: Set fixed_function_usage_map to 0 for an sm4 draw without a PS.
...
Fixes: 5b60f4649b
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56113
2024-01-05 18:46:07 +01:00
Alexandre Julliard
0900d919e2
ntdll: Determine the available address space dynamically on ARM64.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56130
2024-01-05 18:46:02 +01:00
Bernhard Kölbl
def5e1a61d
windows.media.speech/tests: Remove obsolete workarounds.
...
These got obsolete with eaca0f44be
.
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2024-01-04 23:04:46 +01:00
Zebediah Figura
f377723773
wined3d: Do not remove invalid BO users from the list when destroying views.
...
Fixes: b2f13103d7
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55540
2024-01-04 20:45:01 +01:00