Commit graph

168357 commits

Author SHA1 Message Date
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
Eric Pouech
ac8da35b87 regsvr32: Use message boxes by default for output.
regsvr32 is in GUI subsystem and shouldn't interact with console.
Keeping unix I/O output in silent mode.
Removing -c option as not existing in native.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-24 16:46:44 +01:00
Santino Mazza
d9fcbf451a mlang: Implement codepages priority. 2023-11-24 14:06:02 +01:00
Santino Mazza
1ccd67cc32 mlang/tests: Test for codepages priority. 2023-11-24 14:06:02 +01:00
Alexandre Julliard
2d338e22f2 winedump: Display PE section offsets using their virtual address. 2023-11-24 14:06:02 +01:00
Alexandre Julliard
2328a1d9df ntdll: Convert the ARM64EC context to ARM64 for syscalls. 2023-11-24 14:04:53 +01:00
Alexandre Julliard
d57c41990a ntdll: Use RtlFindExportedRoutineByName to simplify loader initialization. 2023-11-24 14:04:53 +01:00
Alexandre Julliard
741985693d ws2_32: Remove DECLSPEC_HIDDEN usage. 2023-11-24 14:04:53 +01:00
Alexandre Julliard
d1d15757a4 winebus.sys: Remove DECLSPEC_HIDDEN usage. 2023-11-24 14:04:53 +01:00
Alexandre Julliard
0c102b1a0b nsiproxy.sys: Remove DECLSPEC_HIDDEN usage. 2023-11-24 14:04:53 +01:00
Alexandre Julliard
2c19fc3a3e mountmgr: Remove DECLSPEC_HIDDEN usage. 2023-11-24 14:04:53 +01:00
Rémi Bernon
e04c976fa9 twinapi.appcore: Return success from AdvertisingManager_get_AdvertisingId stub. 2023-11-23 22:53:20 +01:00
Rémi Bernon
abc0c3c129 twinapi.appcore: Stub Windows.System.UserProfile.AdvertisingManager factory. 2023-11-23 22:53:08 +01:00