Commit graph

164692 commits

Author SHA1 Message Date
Alex Henrie
3fd8c85fd1 rpcrt4: Replace RPCRT4_strndupA with strdup. 2023-06-08 12:02:55 +02:00
Bernhard Kölbl
07d0f1f0c0 mf/tests: Remove duplicate call to MFStartup().
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-06-07 22:48:27 +02:00
Piotr Caban
8171cfb79b localspl: Don't pass original document name to cupsStartDocument.
It's used by the function to find document content type. Fixes regression
introduced by e164b8cefb.
2023-06-07 22:48:27 +02:00
Zebediah Figura
14c44d0b0a xaudio2: Use the preprocessor to modify definitions in xaudio2.idl and xaudio2fx.idl.
Instead of including the IDLs directly, define a local IDL that #includes them,
with XAUDIO2_VER defined, and include that generated header.

Get rid of compat.c, and use XAUDIO2_VER to modify the code in the other source
files.

Build the tests for both xaudio2_7 and xaudio2_8 using PARENTSRC, and use
XAUDIO2_VER to select between them. This mirrors the approach taken for
d3dcompiler, and makes it easier to test more xaudio2 versions in the future.
2023-06-07 22:48:27 +02:00
Zebediah Figura
c80285ffb1 xaudio2: Create XAPO objects directly from CreateAudioVolumeMeter() and CreateAudioReverb().
Instead of going through the class factory.
2023-06-07 22:48:27 +02:00
Zebediah Figura
77a83bc4bb xaudio2: Move CreateAudioVolumeMeter() and CreateAudioReverb() to xapo.c. 2023-06-07 22:48:27 +02:00
Zebediah Figura
10700c044b xaudio2/tests: Add a couple of helpers to abstract the difference between versions. 2023-06-07 22:48:27 +02:00
Rémi Bernon
397cd1c0c0 winex11: Remove now unnecessary ClipCursor forwarding to foreground thread. 2023-06-07 22:48:27 +02:00
Rémi Bernon
47e208e9ec win32u: Asynchronously apply or reset ClipCursor from the hardware message. 2023-06-07 22:48:27 +02:00
Rémi Bernon
5ebb1ed132 server: Queue a hardware WM_WINE_CLIPCURSOR message to the foreground thread.
When applying a new cursor clipping rect, or to the previous foreground
thread when foreground changes, to notify it of the cursor clipping rect
being reset.
2023-06-07 22:48:27 +02:00
Rémi Bernon
bd06c87b5b server: Use a separate helper to merge WM_MOUSEMOVE messages. 2023-06-07 22:48:27 +02:00
Rémi Bernon
2101d4d6ad server: Use the helper to reset the clip rect when the desktop size changes. 2023-06-07 22:48:27 +02:00
Rémi Bernon
b7570b798e win32u: Add a reset parameter to WM_WINE_CLIPCURSOR and driver ClipCursor. 2023-06-07 22:48:27 +02:00
Davide Beatrici
b16ab96168 wineoss: Use mmdevapi's AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
1874a17032 winecoreaudio: Use mmdevapi's AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
32683df5c3 winealsa: Use mmdevapi's AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
1c53edf33c winepulse: Move AudioClient's Start into mmdevapi. 2023-06-07 22:48:27 +02:00
Davide Beatrici
8b64db9902 winecoreaudio: Lock sessions in AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
71a6691978 winepulse: Lock sessions in AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
45cab2737d wineoss: Use mmdevapi's AudioClient's SetEventHandle, Reset, Stop. 2023-06-07 22:48:27 +02:00
Davide Beatrici
cc3362ec6c winecoreaudio: Use mmdevapi's AudioClient's SetEventHandle, Reset, Stop. 2023-06-07 22:48:27 +02:00
Davide Beatrici
f626aa2ab3 winealsa: Use mmdevapi's AudioClient's SetEventHandle, Reset, Stop. 2023-06-07 22:48:27 +02:00
Davide Beatrici
13f3d59275 winepulse: Move AudioClient's SetEventHandle, Reset, Stop into mmdevapi. 2023-06-07 22:48:27 +02:00
Alexandre Julliard
47404fb36c ntdll: Reimplement allocation inside a reserved area without using a callback.
And make the allocation limits more explicit.
2023-06-07 22:48:27 +02:00
Alexandre Julliard
33240c5465 ntdll: Reimplement map_fixed_area() to avoid recursion and callbacks. 2023-06-07 22:48:27 +02:00
Alexandre Julliard
4cdc2f75f7 ntdll: Reimplement unmap_area() to avoid recursion and callbacks. 2023-06-07 22:48:27 +02:00
Alexandre Julliard
4c827cefbc ntdll: Add a helper function to unmap memory above the user space limit. 2023-06-07 22:48:27 +02:00
Alexandre Julliard
d5b22ae085 ntdll: Support adding overlapping ranges in mmap_add_reserved_area(). 2023-06-07 22:48:27 +02:00
Alexandre Julliard
1dd6ea7049 wininet/tests: Update expected WineHQ certificate. 2023-06-07 22:48:27 +02:00
Alex Henrie
50df20b9ec vbscript: Fix memory leak on error path in alloc_vbscode (scan-build).
release_vbscode doesn't do anything if ref is 0.
2023-06-07 22:48:27 +02:00
Alex Henrie
faa68dabc3 wininet: Fix memory leaks on error paths in INTERNET_LoadProxySettings (scan-build). 2023-06-07 22:48:27 +02:00
Alex Henrie
100131fa7e vbscript: Fix memory leak on error path in RegExp2_Execute (scan-build). 2023-06-07 22:48:27 +02:00
Alex Henrie
b9aaaacc16 jscript: Fix memory leak on error path in regexp_string_match (scan-build). 2023-06-07 22:48:27 +02:00
Alex Henrie
35dc94bc01 wldap32: Fix memory leak on error path in ldap_start_tls_sW (scan-build). 2023-06-07 11:29:45 +02:00
Alex Henrie
7b69313bbb hhctrl: Fix memory leak on error path in resolve_filename (scan-build). 2023-06-07 11:29:38 +02:00
Alex Henrie
2cabb3f79d dnsapi: Fix memory leak on error path in do_query_netbios (scan-build). 2023-06-07 11:29:33 +02:00
Alex Henrie
025e9a0183 kerberos: Fix memory leaks in (wow64_)query_ticket_cache (scan-build). 2023-06-07 11:29:25 +02:00
Alex Henrie
9e3f1a1506 wineusb: Fix memory leaks on error paths in usb_submit_urb (scan-build). 2023-06-06 21:51:43 +02:00
Akihiro Sagawa
dcb123fac8 winex11: Ignore BadWindow errors caused by XConfigureWindow.
This typically happens when resizing a D3D child window.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54810
2023-06-06 21:51:43 +02:00
André Zwing
02fcbeb5a1 wow64: Ignore Thumb flag when parsing ARM syscall number. 2023-06-06 21:51:43 +02:00
Joshua Ashton
fc7e204113 winevulkan: Include function name in asserts.
It is really useful to see at a glance what function is
segfaulting/crashing here when debugging games/apps.

This code is generated, and when generating WineVulkan against different
Vulkan spec versions, etc it may be misleading that the Line: referred
to by the assert dialog does not match what is generated locally on
a different machine for the same Wine version/commit.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
2023-06-06 21:51:43 +02:00
Piotr Caban
01c3f4dc65 msvcr100: Use Context blocking functions in Concurrency::wait(). 2023-06-06 21:51:43 +02:00
Piotr Caban
3ef786f46a msvcr100: Use Context blocking functions in event class. 2023-06-06 21:51:43 +02:00
Piotr Caban
8b442c29a3 make_unicode: Don't use Türkiye as it can't be encoded in some locales. 2023-06-06 21:51:43 +02:00
Alexandre Julliard
6b5561b601 server: Send the APC call data as vararg in the select request. 2023-06-06 21:51:43 +02:00
Alexandre Julliard
e3049f11fa server: Send the APC call data as vararg in the queue_apc request.
To make it possible to support a larger structure.
2023-06-06 21:51:37 +02:00
Alexandre Julliard
0d4f20ca18 kernel32: Use nameless unions/structs. 2023-06-06 21:09:32 +02:00
Alexandre Julliard
0d2046ccf3 kernelbase: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-06-06 21:09:32 +02:00
Alexandre Julliard
4f6a40b1e2 kernelbase: Use nameless unions/structs for CPU-related data. 2023-06-06 21:09:32 +02:00
Alexandre Julliard
9276d53ee8 kernelbase: Use nameless unions/structs for loader data. 2023-06-06 21:09:32 +02:00