1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-01 07:14:31 +00:00
Commit Graph

171427 Commits

Author SHA1 Message Date
Rémi Bernon
6eac284201 win32u: Move WM_WINE_DESKTOP_RESIZED into driver internal messages range.
It is otherwise ignored and not passed to the drivers WindowMessage callback.

Fixes: b89c9c60d5
2024-06-13 21:07:54 +02:00
Rémi Bernon
c7287cc734 winemac: Move layered window mapping to macdrv_UpdateLayeredWindow. 2024-06-13 21:07:54 +02:00
Rémi Bernon
eca7068ab3 winex11: Move layered window mapping to X11DRV_UpdateLayeredWindow. 2024-06-13 21:07:54 +02:00
Rémi Bernon
71ff81bc2b win32u: Split WindowPosChanging driver call to a separate CreateWindowSurface. 2024-06-13 21:07:54 +02:00
Rémi Bernon
2a2637743b winex11: Remove unnecessary visible_rect initialization. 2024-06-13 21:07:54 +02:00
Rémi Bernon
5b3bf77b16 winemac: Remove unnecessary visible_rect initialization. 2024-06-13 21:07:54 +02:00
Rémi Bernon
10e4a6819c wineandroid: Remove unnecessary visible_rect initialization. 2024-06-13 21:07:54 +02:00
Rémi Bernon
fe7e94d58c win32u: Remove unused insert_after WindowPosChanging parameter. 2024-06-13 21:07:54 +02:00
Esme Povirk
ed478f96c2 win32u: Implement EVENT_SYSTEM_MINIMIZESTART/END. 2024-06-13 10:56:31 +02:00
Alex Henrie
6cd53ff08c ntdll: Calculate the default size even without RTL_QUERY_REGISTRY_DIRECT. 2024-06-13 10:56:17 +02:00
Alex Henrie
2bb984ee29 ntdll: Copy the correct number of bytes with RTL_QUERY_REGISTRY_DIRECT. 2024-06-13 10:56:17 +02:00
Zhiyi Zhang
d5bfa87908 ntdll: Don't zero out socket address in sockaddr_from_unix().
tallygatewayserver.exe specifies a from sockaddr pointing to a heap buffer smaller than 128 bytes
yet it passes 128 as the fromlen to recvfrom(). So the memset(wsaddr, 0, wsaddrlen) call in
sockaddr_from_unix() ends up trashing other data in the heap, causing the application to crash.
Although this is an application bug, tests on Windows also showed that the socket address buffer
should be written only with the necessary socket address data, thus preventing the crash.
2024-06-13 10:56:00 +02:00
Zhiyi Zhang
2c01c0136b ws2_32/tests: Test fromlen for recvfrom().
Test that specifying a too small or too large fromlen for recvfrom() shouldn't write unnecessary data.
2024-06-13 10:55:58 +02:00
Lucas Chollet
0440cb4b02 dnsapi: Add a stub for DnsServiceBrowse.
This is needed by Moku (software for scientific instrument).

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56828
2024-06-13 10:55:22 +02:00
Hans Leidekker
e6f9cb1e09 winscard: Pass ATR buffer to unixlib in SCardStatusA(). 2024-06-12 21:57:23 +02:00
Alex Henrie
af33e3922c ntdll/tests: Remove unused WINE_CRASH flag. 2024-06-12 21:57:23 +02:00
Alex Henrie
2bc3b7f850 ntdll: Don't call a null QueryRoutine in RtlQueryRegistryValues. 2024-06-12 21:57:23 +02:00
Alex Henrie
bc097ef81a ntdll: Don't call QueryRoutine if RTL_QUERY_REGISTRY_DIRECT is set. 2024-06-12 21:57:23 +02:00
Fabian Maurer
77f3c0826a msvcrt: Fix _libm_sse2_sqrt_precise not using SSE2 sqrt.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56824
2024-06-12 21:57:23 +02:00
Shengdun Wang
1163e39937 ucrtbase: Fix FILE _flag values. 2024-06-12 21:06:06 +02:00
Shengdun Wang
90e59859ce ucrtbase: Always use CRITICAL_SECTION for FILE locking. 2024-06-12 21:06:06 +02:00
Piotr Caban
6033839816 msvcrt: Don't use custom standard streams definition. 2024-06-12 21:06:06 +02:00
Shengdun Wang
f19676b321 ucrtbase/tests: Add FILE structure tests. 2024-06-12 21:06:04 +02:00
Piotr Caban
fc8121d05f ucrtbase: Fix _iobuf struct layout. 2024-06-12 20:54:27 +02:00
Piotr Caban
98e74c7842 msvcp140: Use _get_stream_buffer_pointers() to access FILE internal buffers. 2024-06-12 20:54:27 +02:00
Daniel Lehman
99511bde63 crypt32: Allow overriding GnuTLS debug level. 2024-06-12 20:53:18 +02:00
Daniel Lehman
24a956e6cb bcrypt: Allow overriding GnuTLS debug level. 2024-06-12 20:53:18 +02:00
Daniel Lehman
34a57da592 secur32: Allow overriding GnuTLS debug level. 2024-06-12 20:53:18 +02:00
Alexandre Julliard
93f11ad21e ntdll: Reimplement __os_arm64x_check_call in assembly.
To avoid saving a bunch of registers on every function call.
2024-06-12 10:21:07 +02:00
Alexandre Julliard
6e6450fd96 ntdll: Also load arm64 manifests for amd64 architecture on ARM64EC. 2024-06-12 09:57:05 +02:00
Alexandre Julliard
bf84534793 tests: Use ARM64 as architecture in manifests on ARM64EC. 2024-06-12 09:55:08 +02:00
Rémi Bernon
0bc571657e winex11: Force thread DPI awareness when calling NtUserChildWindowFromPointEx. 2024-06-11 22:03:16 +02:00
Rémi Bernon
949920810a winex11: Force thread DPI awareness when calling NtUserRedrawWindow. 2024-06-11 22:03:16 +02:00
Rémi Bernon
a30efd5f0e winex11: Force thread DPI awareness when calling NtUserSetWindowPos. 2024-06-11 22:03:16 +02:00
Rémi Bernon
b914409514 winewayland: Force thread DPI awareness when calling NtUserSetWindowPos. 2024-06-11 22:03:16 +02:00
Rémi Bernon
b71c86a574 winemac: Force thread DPI awareness when calling NtUserSetWindowPos. 2024-06-11 22:03:16 +02:00
Eric Pouech
58ad68e774 msvcrt/tests: Don't print a NULL string.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-11 21:21:28 +02:00
Esme Povirk
6753f25f58 gdiplus: Fix DIB stride calculation in GdipDrawImagePointsRect.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56800
2024-06-11 21:21:14 +02:00
Zebediah Figura
be427c312b server: Generalize get_directory_entries to single_entry case. 2024-06-11 16:51:27 +02:00
Zebediah Figura
af4f252ac4 ntdll: Implement reading multiple entries in NtQueryDirectoryObject.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52585
2024-06-11 16:51:27 +02:00
Jinoh Kang
f8d9ad738c wow64: Implement reading multiple entries in wow64_NtQueryDirectoryObject. 2024-06-11 16:51:27 +02:00
Zebediah Figura
2c2b1b1f14 server: Don't set error in find_object_index if the object is not found.
find_object_index() sets the status code to STATUS_NO_MORE_ENTRIES to
indicate that the given index does not exist in the list of the
directory entries, in addition to returning NULL.

STATUS_NO_MORE_ENTRIES only makes sense in the context of the function's
only caller, req_get_directory_entry(), which is used to implement the
NtQueryDirectoryObject() system call, specifically the single object
case.  Otherwise, the choice of status code is unintuitive.

Remove the set_error() call in find_object_index(), and move the
responsibility of setting the status code to the caller.
2024-06-11 16:51:27 +02:00
Adam Rehn
2dfeb87f41 wineserver: Report non-zero exit code for abnormal process termination.
Signed-off-by: Adam Rehn <adam@tensorworks.com.au>
2024-06-11 16:51:27 +02:00
Alex Henrie
bc0cd8052e ntdll: Succeed in RtlQueryRegistryValues on direct query of nonexistent value.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49703
2024-06-11 16:51:27 +02:00
Alex Henrie
0a5c98207d ntdll/tests: Rewrite the RtlQueryRegistryValues tests and add more of them.
The original code was very aspirational and didn't actually test much.
2024-06-11 16:51:27 +02:00
Alex Henrie
0773751314 ntdll/tests: Delete the WineTest registry key when the tests finish. 2024-06-11 16:51:27 +02:00
Alexandre Julliard
f84734fc3f makedep: Build and install ARM64EC-only modules. 2024-06-11 10:38:44 +02:00
Alexandre Julliard
a00b5abc30 winecrt0: Remove some unnecessary asm macros on ARM plaforms. 2024-06-11 10:31:12 +02:00
Alexandre Julliard
edce2ef692 ntdll: Remove some unnecessary asm macros on ARM plaforms. 2024-06-11 10:30:19 +02:00
Alexandre Julliard
d5a499e552 ntdll: Look for hybrid builtins in the PE directory for the host architecture. 2024-06-11 10:29:19 +02:00