Commit graph

168469 commits

Author SHA1 Message Date
Ziqing Hui e36547d26d winestreamer: Implement {Begin,End}Finalize for media sink. 2023-11-27 22:39:52 +01:00
Ziqing Hui 7e575d681d winegstreamer: Avoid media sink command leaking. 2023-11-27 22:39:52 +01:00
Anton Baskanov a69c7a8aa0 amstream: Use correct index in MediaStreamFilter's IEnumPins::Next(). 2023-11-27 22:39:52 +01:00
Anton Baskanov 150463b39b amstream/tests: Test IEnumPins with two streams. 2023-11-27 22:39:52 +01:00
Anton Baskanov 54aef59931 winegstreamer: Wake all streaming threads after seeking. 2023-11-27 22:39:52 +01:00
Matteo Bruni 5d19955007 tools: Print the correct option in error messages. 2023-11-27 22:39:52 +01:00
Nikolay Sivov c944db5fc0 d3dx9/tests: Fix a crash when d3d9 object can't be created. 2023-11-27 22:39:52 +01:00
Rémi Bernon 8e4c196c14 win32u: Remove unnecessary config_key lazy initializations. 2023-11-27 22:39:52 +01:00
Rémi Bernon 7175d8855a win32u: Initialize sysparams before winstation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55843
2023-11-27 22:39:52 +01:00
Zhiyi Zhang a2fdae65a1 wbemprox: Fix a memory leak (Coverity).
When LsaLookupSids() fails with STATUS_NONE_MAPPED or STATUS_SOME_NOT_MAPPED, the memory returned by
the domain parameter should be freed.
2023-11-27 22:39:52 +01:00
Zhiyi Zhang 1ab1c97087 ntdll: Fix an out-of-bounds read (Coverity).
class FileRenameInformationEx to FileKnownFolderInformation could cause an out-of-bounds read of info_sizes.
2023-11-27 22:39:52 +01:00
Nikolay Sivov 5e9663c064 oleaut32: Always reset return type for VarMod(). 2023-11-27 22:39:52 +01:00
Nikolay Sivov bda6decd47 oleaut32: Fully initialize VarMod() return value for Empty % x case. 2023-11-27 22:39:52 +01:00
Zhiyi Zhang 7391352a39 wined3d: Fix a use after free (Coverity).
s is freed in set_window_state_thread().
2023-11-27 22:39:51 +01:00
Zhiyi Zhang 2146a44289 ntdll: Fix a memory leak (Coverity). 2023-11-27 22:39:51 +01:00
Zhiyi Zhang aeda480e2a ntdll: Fix an out-of-bounds write (Coverity). 2023-11-27 22:39:51 +01:00
Zhiyi Zhang 6aef5f8916 oledb32: Fix a memory leak (Coverity). 2023-11-27 22:39:51 +01:00
Zhiyi Zhang 40305ee11e dplayx: Fix a memory leak (Coverity). 2023-11-27 22:39:51 +01:00
Bartosz Kosiorek 1848fd3375 gdiplus/font: Avoid computation overflow and underflow by using hypotf.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45122
2023-11-27 22:39:51 +01:00
Bartosz Kosiorek 08653cf368 gdiplus/graphicspath: Avoid computation overflow and underflow by using hypotf.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45123

By using sqrt(a * a + b * b), for large (or small) a or b, there is a possibility of overflow (underflow),
although the result itself is not that big to cause overflow.

To overcome this problem, there are implementations of hypotenuse that do not use power of 2,
and use other methods to calculate the result.
To calculate a ⊕ b, you can easily use hypotf(a,b).

https://en.cppreference.com/w/cpp/numeric/math/hypot
2023-11-27 22:39:51 +01:00
Rémi Bernon 1a3a026d24 gitlab: Only run the modifieds tests on Windows for an MR. 2023-11-27 22:39:51 +01:00
Rémi Bernon 61faaf7ec0 gitlab: Add windows tests to MR pipeline. 2023-11-27 22:39:51 +01:00
Esme Povirk 886b778aaa user32/tests: Remove test_SendMessage_other_thread(2).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54037
2023-11-27 22:39:51 +01:00
Esme Povirk 9587214b20 user32/tests: Add a simpler test for SetParent's internal message.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54037

test_SendMessage_other_thread(2), which is supposed to show that
Windows doesn't use an internal sent message for SetParent, tacks
this onto another more complex test, which introduces a race
condition (see Comment 2 on the bug). I am not sure if it can be
fixed in the existing function, perhaps it can and I just can't
keep track of all the moving parts well enough, but I see no need
to make it so difficult.
2023-11-27 22:39:51 +01:00
Jacek Caban 0c7a1be11b winegcc: Support --no-default-config argument. 2023-11-27 22:39:51 +01:00
Jacek Caban 471d7178ae configure: Use --no-default-config option on clang when available.
Some distros arbitrary flags into clang config files without guarding it for applicable targets, which breaks cross compilation.
2023-11-27 22:39:51 +01:00
Jacek Caban cf29f40ce4 configure: Fix action-if-no handling in WINE_TRY_PE_CFLAGS macro. 2023-11-27 22:39:51 +01:00
Zebediah Figura 09f7b203bb ws2_32: Check for AI_ALL at compile time.
NetBSD does not provide it.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51843
2023-11-27 22:39:51 +01:00
Zebediah Figura 77a21c6eef ntdll: Check for some more IP socket options at compile time.
NetBSD doesn't provide these.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51843
2023-11-27 22:39:51 +01:00
Alexandre Julliard ca7684f3eb sane.ds: Remove DECLSPEC_HIDDEN usage. 2023-11-27 22:39:51 +01:00
Alexandre Julliard 048f2f346d gphoto2.ds: Remove DECLSPEC_HIDDEN usage. 2023-11-27 22:39:51 +01:00
Alexandre Julliard e9bf73872c wineoss.drv: Remove DECLSPEC_HIDDEN usage. 2023-11-27 22:39:51 +01:00
Alexandre Julliard 21c5affdb5 winecoreaudio.drv: Remove DECLSPEC_HIDDEN usage. 2023-11-27 22:39:51 +01:00
Alexandre Julliard feb9b9c7d5 winealsa.drv: Remove DECLSPEC_HIDDEN usage. 2023-11-27 22:39:51 +01:00
Alexandre Julliard a60d6f3ec9 ntdll: Still use LdrGetProcedureAddress for CtrlRoutine.
Fixes d57c41990a.
2023-11-27 13:57:44 +01:00
Alexandre Julliard 5b01bf79e6 ntdll: Store the syscall table in the TEB on ARM64. 2023-11-27 13:57:44 +01:00
Alexandre Julliard f2fa8ca29b ntdll: Store the syscall table in the TEB on x86-64.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55935
2023-11-27 13:57:44 +01:00
Alexandre Julliard 13c43cf3d0 Release 8.21. 2023-11-24 22:48:09 +01:00
Nikolay Sivov bb96e26440 oleaut32: Remove some deadcode from VarMod().
Always true/false conditions appear to exist since initial implementation
was introduced in 2d1bccd0c4.
2023-11-24 22:27:40 +01:00
Paul Gofman 557a4e061b d3dx9: Support loading mesh user data in D3DXLoadMeshHierarchyFromXInMemory(). 2023-11-24 22:27:40 +01:00
Paul Gofman 8da63cf548 d3dx9: Factor out mesh_get_parse_func(). 2023-11-24 22:27:39 +01:00
Paul Gofman 6348888a41 d3dx9: Unify calling parse_mesh helper functions. 2023-11-24 22:27:39 +01:00
Paul Gofman 6787e3c365 d3dx9: Implement loading top and frame user data in D3DXLoadMeshHierarchyFromXInMemory(). 2023-11-24 22:27:39 +01:00
Paul Gofman 8be03417fd d3dx9/tests: Add test for user data in D3DXLoadMeshHierarchyFromXInMemory(). 2023-11-24 22:27:39 +01:00
Paul Gofman 0761c363f4 include: Fix ID3DXLoadUserData definition. 2023-11-24 22:27:39 +01:00
Daniel Lehman 969c8afa14 msxml6/tests: Copy create namespace tests.
With changes for msxml6 and TODOs for wine.
2023-11-24 22:24:30 +01:00
Daniel Lehman bd7213ec38 msxml4/tests: Copy create namespace tests.
With changes for msxml4.
2023-11-24 22:24:26 +01:00
Louis Lenders 5f0537046d shcore: Add stub for RegisterScaleChangeEvent.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55671
2023-11-24 16:47:50 +01:00
Eric Pouech 8a94049770 winedbg: Use dbghelp extended module info.
To pickup module's data model.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-24 16:47:19 +01:00
Eric Pouech 6b2a3dcdba regedit: Use message boxes by default for output.
regedit is in GUI subsystem and shouldn't interact with console.
Keeping unix I/O output in silent mode (forcing English locale for
Unix integration).

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-24 16:46:57 +01:00