Commit graph

2980 commits

Author SHA1 Message Date
Rémi Bernon
81859c9af7 configure: Build x86_64 PE code with mcmodel=small.
Saving a huge number of .refptr indirections for all extern symbols.
2023-06-21 22:33:30 +02:00
Alexandre Julliard
ac1761d1da loader: Build the preloader as PIE on 64-bit. 2023-06-19 17:32:24 +02:00
Alexandre Julliard
c55578f3a5 loader: Always build the main loader as PIE if we have a preloader. 2023-06-19 17:30:45 +02:00
Alexandre Julliard
78ed343842 loader: Force building the main loader as PIE on 64-bit.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55050
2023-06-19 17:30:45 +02:00
Alexandre Julliard
045d211308 makefiles: Disable native import libraries on ARM64. 2023-06-15 12:03:34 +02:00
Alexandre Julliard
80fc252f18 makefiles: Pass the dll extension from configure. 2023-06-15 10:21:16 +02:00
Alexandre Julliard
cc2cfb9b79 loader: Make the loader position-independent on 64-bit. 2023-06-12 21:21:42 +02:00
Alexandre Julliard
912fd620db makefiles: Define WINE_UNIX_LIB for all files that are built for Unix. 2023-06-12 21:21:41 +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
Billy Laws
c29336fa78 configure: Stash host LDFLAGS when configuring cross-compilers. 2023-06-05 21:48:00 +02:00
Alexandre Julliard
00538ed195 configure: Don't create the wine64 symlink in multi-arch builds. 2023-05-25 16:21:17 +02:00
Mohamad Al-Jaf
9c46b673ba hrtfapo: Add stub DLL. 2023-05-02 22:21:26 +02:00
Zhiyi Zhang
f88affa2a1 findstr: Add basic functionality.
Company of Heroes: Battle of Crete needs a functioning findstr.exe to exit properly.
Freemake Video Converter 4.1 installer also needs this.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=35254
2023-05-02 13:33:07 +02:00
Zhiyi Zhang
62af0b5f84 tasklist: Add basic functionality.
Company of Heroes: Battle of Crete needs a functioning tasklist.exe to exit properly.
2023-05-02 13:33:03 +02:00
Mohamad Al-Jaf
4d61854dc1 twinapi.appcore: Add stub DLL. 2023-04-25 17:59:35 +02:00
Alexandros Frantzis
8570016783 tools: Support building Wayland protocol source files.
Wayland protocol descriptions are distributed as source XML files that
need to be transformed to C source and header files with a version of
the wayland-scanner tool compatible with the used libwayland library.

This commit enhances the makedep build tool to support building such
Wayland protocol XML files.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-04-21 09:59:37 +02:00
Henri Verbeet
b8fe76a8b5 d3dcompiler: Store DXBC sections as vkd3d_shader_dxbc_section_desc structures. 2023-04-18 10:18:48 +02:00
Alexandre Julliard
438553e923 libs: Import the math library from upstream musl 1.2.3. 2023-04-04 09:43:51 +02:00
Mohamad Al-Jaf
19156ccfa7 cfgmgr32/tests: Add CM_MapCrToWin32Err tests. 2023-03-30 18:47:32 +02:00
Mohamad Al-Jaf
14768c0eca graphicscapture: Add stub DLL. 2023-03-27 11:05:34 +02:00
Alexandros Frantzis
50c1b1974f winewayland.drv: Perform basic per-process Wayland initialization.
Try to connect to the Wayland compositor, and fail driver initialization
if we are unable to do so.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandros Frantzis
2a79056e9a winewayland.drv: Add initial driver stub.
Add the initial driver stub for the Wayland driver and build it
by default.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Mohamad Al-Jaf
ffb664f1c5 windows.perception.stub: Add stub DLL. 2023-03-07 18:36:54 +01:00
Rémi Bernon
ad5cb8305f winex11: Assume that Xkb extension is available. 2023-02-28 20:55:45 +01:00
Alexandre Julliard
7bc94bc8f0 libs: Import the Zydis library version 4.0.0.
Also some needed header files from Zycore version 1.4.1.
2023-02-27 16:36:22 +01:00
Alexandre Julliard
4a0f3fbcb5 winegcc: Stop using the deprecated prelink tool. 2023-02-27 11:01:47 +01:00
Alexandre Julliard
5c831122c9 libwine: Remove obsolete library. 2023-02-24 22:23:12 +01:00
Mohamad Al-Jaf
62bd7578f3 cryptowinrt/tests: Add ICryptographicBufferStatics interface test. 2023-02-23 17:30:29 +01:00
Hans Leidekker
77fdfdb8ef winscard/tests: Initial tests. 2023-02-22 21:14:21 +01:00
Hans Leidekker
8490c43f38 winscard: Implement SCardEstablish/ReleaseContext() on top of libpcsclite. 2023-02-22 21:14:20 +01:00
Hans Leidekker
8104688879 wpcap/tests: Initial tests. 2023-02-13 17:03:02 +01:00
Hans Leidekker
032e8d9c36 configure: Check for pcap_init() instead of pcap_create().
pcap_init() will be required by later patches and it was introduced after pcap_create().
2023-02-13 17:03:02 +01:00
Mohamad Al-Jaf
9e440328e7 windows.ui: Add stub DLL. 2023-02-10 19:11:03 +01:00
Mohamad Al-Jaf
9acf1bd6a8 d3d12core: Add stub DLL.
Forspoken checks for the existence of this DLL.
2023-02-10 19:09:16 +01:00
Zebediah Figura
aff181e6d9 scardsvr: Add stub service.
The Rutoken driver installer tries to start this service, and fails if it
doesn't exist.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54396
2023-02-08 08:58:25 +01:00
Shaun Ren
91c1c05f5b ir50_32: Add stub dll. 2023-02-07 10:35:11 +01:00
Mohamad Al-Jaf
db684bff7f windows.system.profile.systemmanufacturers: Add stub DLL. 2023-01-27 13:39:06 +01:00
Paul Gofman
a0456fb31a msauddecmft: Add stub dll. 2023-01-27 13:39:06 +01:00
Paul Gofman
f0e3e38aca msmpeg2vdec: Add stub dll. 2023-01-27 13:39:06 +01:00
Alexandre Julliard
9f0ae8c992 tools: Move signal masking to the common make_temp_file() helper. 2023-01-25 11:47:51 +01:00
Shaun Ren
2eecb04ca7 winegstreamer: Map MF_SD_LANGUAGE to ISO 639-1 for QuickTime media.
For QuickTime media, MF_SD_LANGUAGE contains the ISO 639-1-mapped
language code. Some games such as Borderlands 3 expect this behaviour.

In order to determine the type of the media, we store the demuxer caps
in the wg_parser structure.
2023-01-24 18:19:05 +01:00
Alexandre Julliard
42b0a3b917 configure: Enable printf format warnings for 64-bit PE builds. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
79650e403b configure: Only require frame pointer on the MSVCRT side. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
4091758b78 configure: Simplify checks for functions that require an external library. 2022-12-09 17:52:25 +01:00
Hans Leidekker
de026dbd8e wofutil: New dll. 2022-12-08 18:41:25 +01:00
Jacek Caban
6a3c382df0 configure: Use -Wl,-WX for clang configure checks in MSVC mode.
LLD by default emits only a warning for unknown arguments. This makes
it pass -Wl,--disable-stdcall-fixup check, which is in fact an invalid
option (and disabled by default anyway), causing warnings spam during
the build.
2022-12-06 17:04:50 +01:00
Alexandre Julliard
bef0969722 ntdll: Move the .so module initialization to winecrt0.
Use new ELF tag ids to avoid breaking backwards compatibility.
2022-12-04 22:00:43 +01:00
Alexandre Julliard
92520c6a1a configure: Remove obsolete AL/al.h check. 2022-12-02 11:04:46 +01:00
Brendan Shanks
9207927d95 configure: Remove SystemConfiguration header check (always present on macOS). 2022-12-02 11:04:46 +01:00
Brendan Shanks
c39e229163 configure: Remove Security.framework check (always present on macOS). 2022-12-02 11:04:46 +01:00