Commit graph

159048 commits

Author SHA1 Message Date
Martin Storsjö 59b5b79c0c configure: Downgrade -Wincompatible-function-pointer-types to a warning on ARM.
Clang 16 is defaulting -Wincompatible-function-pointer-types to
an error instead of a warning. This isn't an issue for most of Wine,
but the error shows up in a lot of cases if doing a non-PE build for
ARM (32 bit, 64 has no such issues), in particular around the integration
of libxml2 and faudio.

The root cause of the issue is that some functions are specified with
e.g. __attribute__((pcs("aapcs-vfp"))) - which is equal to the
default calling convention when compiling with -mfloat-abi=hard - but
Clang's warning doesn't treat such function pointers as equal. (This
could maybe be considered a bug or limitation in Clang though.)

There's also some smaller amount of cases where our attributes
actually do conflict, where we mix __attribute__((pcs("aapcs"))), i.e.
arm softfloat calling convention, with the default calling convention
(which is set to hardfloat), but they drown in the noise from the
other ones.

Therefore, on arm, try to downgrade this diagnostic back to a warning,
not an error - while keeping the warnings visible.

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-08-15 18:13:23 +02:00
Piotr Caban 8c46e2a85b msvcp90: Use 'MultiByteToWideChar' in _Fiopen implementation.
Based on a patch by Yeshun Ye.
2022-08-15 18:12:20 +02:00
Piotr Caban fb54c4e0a4 msvcp60: Use 'MultiByteToWideChar' in __Fiopen implementation.
Based on a patch by Yeshun Ye.
2022-08-15 18:12:19 +02:00
Hans Leidekker dc1fa72d1d hnetcfg: Return success from netfw_rules_Add() and netfw_rules_Remove(). 2022-08-15 18:11:58 +02:00
Hans Leidekker 99c5f7d7e8 hnetcfg: Add INetFwRule stub. 2022-08-15 18:11:58 +02:00
Robert Wilhelm e7dada5f90 wshom: Use signed type for property ExitCode in IWshExec.
Automation interfaces should use signed types, because VBScript does not support unsigned types like VT_UI4.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53542
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
2022-08-15 18:11:41 +02:00
Robert Wilhelm cfdbebd80c wshom: Use signed type for property ProcessID in IWshExec.
Automation interfaces should use signed types, because VBScript does not support unsigned types like VT_UI4.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53542
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
2022-08-15 18:11:33 +02:00
Santino Mazza 5c1b0e5df5 bcrypt: Move symmetric flags check to symmetric section.
Signed-off-by: Santino Mazza <mazzasantino1206@gmail.com>
2022-08-15 18:11:25 +02:00
Zebediah Figura a0eaae85a4 d3d9/tests: Add more tests for dirty rect handling. 2022-08-15 18:11:11 +02:00
Zebediah Figura ddfd9ea5ab d3d8/tests: Add more tests for dirty rect handling. 2022-08-15 18:11:11 +02:00
Zebediah Figura 01baee8c60 d3d8/tests: Read back directly from the specified surface if possible. 2022-08-15 18:11:11 +02:00
Zebediah Figura 5a8075c945 d3d9/tests: Expand tests for valid pools in UpdateTexture(). 2022-08-15 18:11:10 +02:00
Zebediah Figura c90c226c16 d3d8/tests: Expand tests for valid pools in UpdateTexture(). 2022-08-15 18:11:10 +02:00
Zebediah Figura 4d81825f3a wined3d: Use wined3d_array_reserve() in wined3d_adapter_create_output().
This also has the effect of consistently zero-initializing the wined3d_output structure.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53497
2022-08-15 18:11:08 +02:00
Alexandre Julliard a1af412482 Release 7.15.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-08-13 21:23:11 +02:00
Rémi Bernon 0b1e8d8b5c qasf: Configure WMReader stream selection in asf_reader_init_stream. 2022-08-13 15:26:42 +02:00
Rémi Bernon f508be5f34 qasf: Configure WMReader stream format in asf_reader_init_stream. 2022-08-13 15:26:42 +02:00
Rémi Bernon 8d369f42d7 qasf: Start/stop the WM reader in asf_reader_init/cleanup_stream. 2022-08-13 15:26:42 +02:00
Rémi Bernon 92e77de4fb qasf: Implement ASF Reader filter init_stream and cleanup_stream. 2022-08-13 15:26:42 +02:00
Rémi Bernon 5ae74bc812 qasf: Wait for IWMReader_Open to complete in ASF Reader Load. 2022-08-13 15:26:42 +02:00
Rémi Bernon 7723063e36 winegstreamer: Use a wg_video_format switch rather than array indexes. 2022-08-12 22:14:05 +02:00
Rémi Bernon 8c8cf0896b winegstreamer: Use a wg_audio_format switch rather than array indexes. 2022-08-12 22:14:05 +02:00
Paul Gofman 2a9af6ae3b d3d11: Validate layout description in d3d_input_layout_create(). 2022-08-12 22:13:43 +02:00
Paul Gofman a91cc08975 ntdll: Remove redundant assignment in fixup_icmp_over_dgram(). 2022-08-12 22:13:17 +02:00
Gabriel Ivăncescu 6b75f93002 mshtml: Return DISP_E_MEMBERNOTFOUND when not finding member by DISPID.
DISP_E_UNKNOWNNAME is for when retrieving the DISPID itself.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-12 22:13:05 +02:00
Gabriel Ivăncescu a4d6dc79b1 mshtml: Implement document.location with a hook.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-12 22:13:04 +02:00
Gabriel Ivăncescu 8dbdded673 mshtml: Implement window.setTimeout with a hook.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-12 22:13:04 +02:00
Gabriel Ivăncescu e275b2197b mshtml: Implement window.location setter with a hook.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-12 22:13:04 +02:00
Gabriel Ivăncescu 4cc16ada4b mshtml: Forward Document's Invoke to InvokeEx.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-12 22:13:04 +02:00
Akihiro Sagawa b1281f9cf8 ieframe: Allow STGM_WRITE in IPropertyStorage::Open.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-12 22:12:47 +02:00
Akihiro Sagawa e31ec426ec ieframe/tests: Add a test for IPropertySetStorage::Open with STGM_WRITE.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-12 22:12:47 +02:00
Akihiro Sagawa 3535fe2591 ieframe/tests: Add more IPropertyStorage read/write tests.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-12 22:12:47 +02:00
Jacek Caban c5d8ebe7ab wow64win: Fix NULL msg handling in wow64_NtUserPeekMessage. 2022-08-12 22:12:33 +02:00
Jacek Caban 901ccc8e61 wow64win: Fix error handling in wow64_NtUserGetMessage. 2022-08-12 22:12:33 +02:00
Jacek Caban 76e28e6029 wow64win: Always set output bits pointer in wow64_NtGdiCreateDIBSection. 2022-08-12 22:12:33 +02:00
Jacek Caban c3c82bd96a wow64win: Handle bitmaps and pens in wow64_NtGdiExtGetObjectW. 2022-08-12 22:12:33 +02:00
Jacek Caban 3606a163d5 wow64win: Implement more user callbacks. 2022-08-12 22:12:33 +02:00
Jacek Caban eee0a5fd38 wow64win: Implement more user thunks. 2022-08-12 22:12:33 +02:00
Jacek Caban 40dbc84913 win32u: Use NtUserCallMessage for passing packed winproc result. 2022-08-12 22:12:32 +02:00
Robert Wilhelm 484f028338 wshom: Use signed type for ExitCode in IWshShell3::Run().
DWORD is unsigned and will be converted to VT_UI4 variant when used from VBScript.
But VT_UI4 is no VBScript data type and should not be used as retval.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53542
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
2022-08-12 18:29:18 +02:00
Zhiyi Zhang b5becc2ee8 winegstreamer: Trace mf_media_type_from_wg_format_{audio|video}().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-11 19:40:26 +02:00
Zhiyi Zhang 6f8990b431 winegstreamer: Always check the return value from mf_media_type_from_wg_format().
mf_media_type_from_wg_format() may return NULL.

Fix Airborne Kingdom crash at start because WG_AUDIO_FORMAT_UNKNOWN is passed to
mf_media_type_from_wg_format().

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-11 19:40:23 +02:00
Nikolay Sivov 4244b4b138 mfreadwrite/writer: Create output stream if it wasn't provided.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:09 +02:00
Nikolay Sivov aaebf839f7 mfreadwrite/writer: Create archive sink automatically when writer is created from url/bytestream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:07 +02:00
Nikolay Sivov 8aca379966 mf: Add archive sink creation exported functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:06 +02:00
Nikolay Sivov 857ec56f45 dwrite/fallback: Add Georgian and Armenian ranges.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:00 +02:00
Jacek Caban 701932a6ce wow64win: Add initial user callbacks support. 2022-08-11 16:50:55 +02:00
Jacek Caban 21a3690ad1 wow64: Preserve TEB exception frame in Wow64KiUserCallbackDispatcher. 2022-08-11 16:50:55 +02:00
Jacek Caban de5f640abf wow64: Directly use CPU area in Wow64KiUserCallbackDispatcher for I386_CONTEXT.
NtSetInformationThread for i386 causes WOW64_CPURESERVED_FLAG_RESET_STATE to be set, which makes subsequent syscall to restore the state instead of returning its result.
2022-08-11 16:50:52 +02:00
Akihiro Sagawa 8e27f6c2ef mciqtz32: Show the default video window when switching from another one.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:43 +02:00