Commit graph

171463 commits

Author SHA1 Message Date
Eric Pouech 85ca94be7c cmd: Add more tests about FOR loops.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-17 21:49:50 +02:00
Rémi Bernon 1770f48d0f win32u: Fix a deadlock when locking the same surface on different DCs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56771
2024-06-17 21:48:28 +02:00
Rémi Bernon 6b1becc3e0 win32u: Avoid setting the SWP_NOSIZE flag on the initial WM_DISPLAYCHANGE.
By initializing the desktop window proc virtual rect cache.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56841
2024-06-17 11:17:48 +02:00
Rémi Bernon 1e701a6b37 winewayland: Avoid crashing when the dummy window surface is used.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56840
2024-06-17 10:23:59 +02:00
Alex Henrie 2821a850d4 ntdll: Double-null-terminate multi-strings when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-17 10:23:31 +02:00
Alex Henrie 0b51dbf7eb ntdll: Fix multi-string callbacks in RtlQueryRegistryValues. 2024-06-17 10:23:31 +02:00
Esme Povirk a11e2bc8c8 user32/tests: Fix spurious "Failed sequence" reports on Windows. 2024-06-17 10:21:48 +02:00
Davide Beatrici 28818e6bd5 winepulse: Don't set a floor for the period(s).
This driver, unlike the others, queries the engine for the actual device period.

The default period floor is not needed anymore because it now lives in mmdevapi.
The minimum period floor never mattered because exclusive mode is not supported.
2024-06-17 10:21:31 +02:00
Davide Beatrici 86ac5f5638 mmdevapi: Set the default period to a minimum of 10 ms. 2024-06-17 10:21:29 +02:00
Alexandre Julliard 63e25f9eda Release 9.11. 2024-06-14 23:30:18 +02:00
Eric Pouech 80342a0c10 conhost: Support IME input in window mode.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-14 13:48:43 +02:00
Eric Pouech b85c6f5bbb conhost: Handle WM_CHAR for window console.
This lets some characters (like diacritics, generated by two keys,
(eg. circumflex-e on a French keyboard layout)) have usable
key-down INPUT_RECORD.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-14 13:48:43 +02:00
Elizabeth Figura 35de72453c ntdll: Move IOCTL_SERIAL_WAIT_ON_MASK to the server.
Tested with a serial pair with a null modem.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55947
2024-06-14 13:48:43 +02:00
Brendan McGrath 05c0a50454 ntdll: Treat XDG_SESSION_TYPE as special env variable.
This can be used to incorrectly determine the availability of X graphics.
2024-06-14 13:48:43 +02:00
Alexandre Julliard 9062376bbf ntdll: Move the memory copy Rtl functions to string.c. 2024-06-14 11:50:44 +02:00
Alexandre Julliard b563ff18ce ntdll: Move the PEB lock Rtl functions to env.c. 2024-06-14 11:50:44 +02:00
Alexandre Julliard 30816b0ca0 ntdll: Move the error mode Rtl functions to thread.c. 2024-06-14 11:50:42 +02:00
Alexandre Julliard 94d1bc52c3 ntdll: Move some synchronization Rtl functions to sync.c. 2024-06-14 11:40:59 +02:00
Alexandre Julliard 88414d0c5b ntdll: Move some security Rtl functions to sec.c. 2024-06-14 11:40:12 +02:00
Alex Henrie 54c3f96214 ntdll: Replace the whole string when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00
Alex Henrie 4db02f7619 ntdll: Only allow string default values with RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00
Alex Henrie eb59c213fb ntdll: Set the string size when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00
Alex Henrie 54991feaae ntdll: Don't accept a query routine when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00
Danyil Blyschak f0707f1757 opcservices: Check for memory allocation failure before deflating. 2024-06-14 11:03:17 +02:00
Danyil Blyschak 333eea8331 opcservices: Suppress unnecessary zlib deflate warnings.
Zlib documents that negative return values for this function are errors
and positive ones are special but normal events.
2024-06-14 11:03:15 +02:00
Danyil Blyschak 6b01563bd0 opcservices: Provide memory allocator functions to zlib. 2024-06-14 11:03:15 +02:00
Fabian Maurer 75babad433 mmdevapi: Implement IAudioSessionControl2 GetGroupingParam SetGroupingParam.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56763
2024-06-14 11:03:09 +02:00
Fabian Maurer 0d4d778b56 mmdevapi: Implement IAudioSessionControl2 GetIconPath / SetIconPath.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56763
2024-06-14 11:03:08 +02:00
Fabian Maurer b23608ea7d mmdevapi: Implement IAudioSessionControl2 GetDisplayName / SetDisplayName.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56763
2024-06-14 11:03:07 +02:00
Fabian Maurer ae7cb868cf mmdevapi/tests: Add tests for IAudioSessionControl2 GetGroupingParam / SetGroupingParam. 2024-06-14 11:03:06 +02:00
Fabian Maurer 8e7092390a mmdevapi/tests: Add tests for IAudioSessionControl2 GetIconPath / SetIconPath. 2024-06-14 11:03:05 +02:00
Fabian Maurer 805d0c58d9 mmdevapi/tests: Add tests for IAudioSessionControl2 GetDisplayName / SetDisplayName. 2024-06-14 11:03:03 +02:00
Eric Pouech 1d42cf1274 quartz: Fix result in put_FullScreenMode().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-13 21:07:54 +02:00
Eric Pouech 6fd8e30c69 quartz: Always expose that non fullscreen mode is supported and active.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-13 21:07:54 +02:00
Eric Pouech faa5cade4a quartz/tests: Add new tests about fullscreen handling.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-13 21:07:54 +02:00
Eric Pouech 5fb9b19218 quartz/tests: Fix typo in tests.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-13 21:07:54 +02:00
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