1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00
Commit graph

161786 commits

Author SHA1 Message Date
Alexandre Julliard
eb3355bcf8 Release 8.0-rc5. 2023-01-20 19:07:17 +01:00
Byeongsik Jeon
dd917e7413 po: Update Korean translation. 2023-01-20 16:00:08 +01:00
Francois Gouget
a9c03e6d5b win32u: Document the font_lock handling in font_EnumFonts().
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=49202
2023-01-20 15:59:45 +01:00
Fan WenJie
7f62f7be87 winebuild: Only set thumb_mode on ARM targets.
Signed-off-by: Fan WenJie <fanwj@mail.ustc.edu.cn>
2023-01-20 15:59:09 +01:00
Francois Gouget
31792f4370 nsi: Add some margin to the tables size in NsiAllocateAndGetTable().
The table size typically keeps increasing such that in some cases the
size we got is already too small by the time we try to get the table
content in the next iteration.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54328
2023-01-19 19:17:27 +01:00
Francois Gouget
cc32eb6c0d nsi: Return an error if NsiAllocateAndGetTable() fails to allocate the tables.
err must be set if the last attempt to allocate the tables fails.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54328
2023-01-19 19:17:25 +01:00
Brendan Shanks
3bcda5aefa kernel32/tests: Test GetFileType() with additional types of handles. 2023-01-19 19:16:41 +01:00
Santino Mazza
f659ae65e4 iphlpapi: Set Ipv4Enabled and Ipv6Enabled flags accordingly. 2023-01-19 16:04:06 +01:00
Santino Mazza
a331f1e614 iphlpapi/tests: Test for Ipv4Enabled and Ipv6Enabled flags. 2023-01-19 16:03:58 +01:00
Gabriel Ivăncescu
929fdbbf55 notepad: Fix uninitialized upper 64-bits of pos in DoFind.
And get rid of the hacky casts.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-01-18 22:55:19 +01:00
Francois Gouget
8ddf8daa52 d3d12/tests: Allow a broken Windows 10 1709 hresult.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54298
2023-01-18 22:55:19 +01:00
Eric Pouech
8aeca16ca5 kernel32/tests: Filter spurious thread creation debug events.
On windows, we get some test failures as un-expected thread
create debug events are sent.
Try to filter them out in a couple of places.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-18 22:55:19 +01:00
Eric Pouech
982472d895 kernel32/tests: Merge two debug event loops in test_debugger().
Current test in debugger expects that all breakpoint debug
events appear before all the exit thread events.
On Windows, it happens that sometimes the breakpoint and exit
thread events are intertwined (making the test fail).

So, this patch:
- merges the exception events loop and the exit thread events loop
  into a single loop.
- detects the unordered sequence (mark it broken as windows only)
- extends the test so that we check that all exit thread events
  are received.
- introduce next_event_filter helper to not return some unwanted
  events.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47874
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-18 22:55:19 +01:00
Robert Wilhelm
6895ad6f9c vbscript/tests: Fix chr() tests with double-byte character sets.
There are no errors when running chr(-1) e.g. in utf-8 locale.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54003
2023-01-18 22:55:17 +01:00
Eric Pouech
ce083b37f9 kernel32/tests: Extend share right for debugger's black box tests.
Trying to improve upon previous attempt: 2486f5a002

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53456
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-17 20:20:04 +01:00
Jactry Zeng
08832c5a77 po: Update Simplified Chinese translation. 2023-01-16 22:08:43 +01:00
Lauri Kenttä
87b4f800f7 po: Update Finnish translation. 2023-01-16 22:08:43 +01:00
Alexandre Julliard
6f123e8424 tools: Always fall back to argv[0] to find the tools directory.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54319
2023-01-16 22:08:43 +01:00
Tim Clem
5ca22f551d win32u: Correct GetRawInputBuffer alignment under WoW64.
Patch originally by Rémi Bernon.
2023-01-16 16:14:20 +01:00
Tim Clem
fb0f8fe547 user32/tests: Test GetRawInputBuffer header fields more thoroughly.
Exposes an alignment issue under WoW64.
2023-01-16 16:14:17 +01:00
Alexandre Julliard
3e266800c4 Release 8.0-rc4. 2023-01-13 22:22:36 +01:00
Rémi Bernon
0bb029eb59 comctl32: Avoid mismatching heap in ProgressWindowProc.
When free-ing an Alloc-ed pointer.
2023-01-13 19:37:01 +01:00
Paul Gofman
ca40454f47 cryptnet: Also cache revocation status when using OCSP. 2023-01-13 19:23:48 +01:00
Paul Gofman
67de946ca9 cryptnet: Check cached revocation status in verify_cert_revocation(). 2023-01-13 19:23:48 +01:00
Rémi Bernon
c23c43e9eb wininet: Allocate returned options strings with the process heap. 2023-01-13 16:32:27 +01:00
Zebediah Figura
69a730090a wined3d: Write into a mapped BO when replacing the entire destination in wined3d_context_gl_copy_bo_address().
Instead of using glBufferSubData(). In practice, this means that we will either
discard and rename the BO (if it's still in use) or write directly into it (if
not).

This improves performance drastically on NVidia GL drivers.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53408
2023-01-13 16:32:18 +01:00
Zebediah Figura
19c3e1d443 wined3d: Map the destination BO with WINED3D_MAP_DISCARD when replacing the entire destination in wined3d_context_gl_copy_bo_address().
Analogous to the Vulkan backend.

This is not particularly impactful, though, since it only affects buffer-buffer
copies in the case where ARB_copy_buffer is not supported.
2023-01-13 16:32:16 +01:00
Rémi Bernon
b17629045f msv1_0: Avoid double free when SpInitLsaModeContext fails. 2023-01-13 16:31:45 +01:00
Rémi Bernon
3a143c0938 msv1_0: Avoid double free when SpAcceptLsaModeContext fails.
And a previously created context is passed, which may later be destroyed
on its own, causing a double free.
2023-01-13 16:31:43 +01:00
Gerald Pfeifer
f221465a3c wrc: Avoid undefined behavior in the FreeBSD case.
init_argv0_dir has a special case for FreeBSD where one branch led to
an unitialized variable and undefined behavior. Initialize properly.
2023-01-13 16:31:34 +01:00
Conor McCarthy
696515d8d4 d3d11: Apply the 'KEEP' options when sending RTVs and UAVs to wined3d.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53761
2023-01-13 11:17:14 +01:00
Rémi Bernon
3356ba6810 rpcrt4/tests: Avoid invalid free of static string. 2023-01-13 11:16:04 +01:00
Hans Leidekker
c5c2db52a3 ntdll/tests: Mark some test results on Windows 11 as broken. 2023-01-13 11:15:56 +01:00
Rémi Bernon
3a0de91ecf dinput/tests: Remove the async cancel tests.
The tests are actually racy, and the async operation is cancellable in
a very short period of time after its creation, but before it started
executing.

This will be hard to test precisely and it's not related to dinput tests
in any way. Let's remove this to fix some spurious Windows failures.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54283
2023-01-13 11:15:02 +01:00
Rémi Bernon
93f8819c95 ole32: Allocate and free moniker lists with CRT allocations.
The RunningObjectTableImpl_EnumRunning codepath returns a list allocated
from combase MIDL_user_allocate, which uses msvcrt heap.
2023-01-13 11:14:51 +01:00
Rémi Bernon
a547efc094 ole32: Reset IMoniker data pointer to NULL on failure.
To avoid double free when the caller releases the object.
2023-01-13 11:14:50 +01:00
Rémi Bernon
85fdc7d60e ole32: Allocate IEnumSTATDATA data with the process heap.
It will later be freed in EnumSTATDATA_Release with HeapFree, and the
copy code path may allocate the member with HeapAlloc.
2023-01-13 11:14:48 +01:00
Rémi Bernon
af43e72860 ole32: Use CRT allocation for MIDL_user_(allocate/free).
To match combase allocations, as for instance we're freeing pointers
returned from InternalIrotRevoke, which are allocated using combase
MIDL_user_allocate.
2023-01-13 11:14:47 +01:00
Julian Rüger
047118247c po: Update German translation. 2023-01-13 00:41:38 +01:00
Hans Leidekker
1318f8aa0a ntdll: Fix a test failure on Windows 11. 2023-01-12 16:24:31 +01:00
Alexandre Julliard
bdc40b4b60 tools: Create a temporary directory to store temp files. 2023-01-12 14:47:39 +01:00
Zebediah Figura
5250493177 ntdll: Manually write byte code for the xsavec instruction.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51268
2023-01-12 10:18:41 +01:00
Zebediah Figura
95fe8e5d15 ntdll: Check for AT_HWCAP2 definition before using it.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54210
2023-01-12 10:18:16 +01:00
Hans Leidekker
90d975ac1e ntdll: Conform to Windows 11 behavior in RtlIpv6StringToAddress().
Also fixes test failures on Windows 11.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54045
2023-01-11 20:42:50 +01:00
Hans Leidekker
a0985cbff5 ws2_32/tests: Fix test failures on Windows 11. 2023-01-11 20:42:50 +01:00
Zhiyi Zhang
36afabb9c1 ddraw/tests: Do not create a fullscreen test window in test_window_position_cb().
Some window managers have trouble moving fullscreen windows to another monitor. For example, KWin
doesn't allow moving windows with _NET_WM_STATE_FULLSCREEN set. FVWM used by TestBots keeps
the size for fullscreen windows after they are moved to another monitor and when the window is also
fullscreen on the new monitor, which could be a bug in FVWM. But let's work around this in the tests
as well. The changed tests don't need created windows being fullscreen at the start.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54172
2023-01-11 20:32:07 +01:00
Hans Leidekker
a5cc9c9d44 shell32/tests: Fix a test failure on Windows 11. 2023-01-11 19:00:20 +01:00
Hans Leidekker
3c060b0ac0 wininet/tests: Pass INTERNET_FLAG_RELOAD in secure connection tests.
Avoids test failures when the URL is cached by other tests.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51227
2023-01-11 16:08:37 +01:00
Alexandre Julliard
e25d83dc90 winecrt0: Check for RTLD_SELF support to enable ELF constructors.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54218
2023-01-11 15:14:04 +01:00
Eric Pouech
d5e8d3a15c po: Update French translations.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-11 14:28:05 +01:00