Commit graph

164852 commits

Author SHA1 Message Date
Alex Henrie d06b3fd527 msi: Fix memory leak on error path in MSI_ProcessMessage (scan-build). 2023-06-08 12:03:29 +02:00
Alex Henrie b630718149 winhttp: Fix double free on error path in queue_task (scan-build).
queue_task cannot free the struct because it doesn't know whether the
struct contains pointers to other dynamically allocated memory that also
needs to be freed (as is the case with struct send_request).
2023-06-08 12:03:20 +02:00
Davide Beatrici 2cbaa59a26 wineoss: Use mmdevapi's AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize. 2023-06-08 12:03:08 +02:00
Davide Beatrici 786c3a0afc winecoreaudio: Use mmdevapi's AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize. 2023-06-08 12:03:08 +02:00
Davide Beatrici 896855c519 winealsa: Use mmdevapi's AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize. 2023-06-08 12:03:08 +02:00
Davide Beatrici 182ae5b19b winepulse: Move AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize into mmdevapi. 2023-06-08 12:03:08 +02:00
Davide Beatrici be356451fc wineoss: Use mmdevapi's AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported. 2023-06-08 12:03:08 +02:00
Davide Beatrici cff4a813e3 winecoreaudio: Use mmdevapi's AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported. 2023-06-08 12:03:08 +02:00
Davide Beatrici cc9e486ba5 winealsa: Use mmdevapi's AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported. 2023-06-08 12:03:08 +02:00
Davide Beatrici 9cd13ecb30 winepulse: Move AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported into mmdevapi. 2023-06-08 12:03:08 +02:00
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