Commit graph

4040 commits

Author SHA1 Message Date
Vibhav Pant 36fa4da337 configure: Correctly derive the target from CC if it's set to an absolute path.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56279
2024-02-01 22:13:25 +01:00
Alexandre Julliard 9b8409fce4 configure: Require a PE compiler for 32-bit ARM. 2024-01-31 12:09:02 +01:00
Daniel Lehman ac36348179 glu32/tests: Add a few tests for gluScaleImage. 2024-01-30 23:03:38 +01:00
Alexandre Julliard e5becbf6a8 configure: Reset host flags in all cross-compiler error paths. 2024-01-29 10:42:48 +01:00
Alexandre Julliard c963c4141a Release 9.1. 2024-01-26 23:56:23 +01:00
Alexandre Julliard 976e715b86 configure: Only check for libunwind on x86-64. 2024-01-24 17:34:30 +01:00
Zebediah Figura 504d1a45e0 wined3d/spirv: Hook up sm1 interface matching. 2024-01-19 21:18:04 +01:00
Piotr Caban 816c35e0ee msvcp140_t/tests: Add __std_smf_hypot3 tests. 2024-01-18 22:50:54 +01:00
Bernhard Übelacker edf0635ed4 wing32: Add tests. 2024-01-17 12:26:28 +01:00
Alexandre Julliard fd1153552d Release 9.0. 2024-01-16 21:55:47 +01:00
Alexandre Julliard ff1642f32c Release 9.0-rc5. 2024-01-12 21:59:55 +01:00
Alexandre Julliard d56fc6d318 Release 9.0-rc4. 2024-01-05 22:20:29 +01:00
Alexandre Julliard bba97115d1 Release 9.0-rc3. 2023-12-22 21:55:14 +01:00
Alexandre Julliard 7a8c039a5c Release 9.0-rc2. 2023-12-15 22:09:59 +01:00
Jacek Caban c84812c86a configure: Enable -Wenum-conversion warnings. 2023-12-11 23:11:19 +01:00
Alexandre Julliard 93f7ef8670 Release 9.0-rc1. 2023-12-08 22:35:51 +01:00
Alexandre Julliard 72409c32be configure: Disable building programs for ARM64EC.
Explicitly enable the few programs that need it.
2023-12-08 15:07:17 +01:00
Zebediah Figura 4b458775bb configure: Use -mpreferred-stack-boundary=2 on i386.
gcc currently assumes the stack alignment for i686-w64-mingw32 is 16, which is
essentially wrong. It works around this in most cases by applying -mstackrealign
when SSE is in use. However, this doesn't address the case of manually aligned
types (i.e. DECLSPEC_ALIGN), and it also for some reason doesn't seem to apply
when -mavx512f is in use, which seems to be an independent gcc bug.

The correct solution on the gcc end is not to assume that the stack is 4-byte
aligned. -mpreferred-stack-boundary=2 achieves exactly this, and there is motion
upstream to address this by effectively making this setting the default. Since
this will take time to propagate downstream, though, it seems prudent to address
this bug locally by essentially applying the same fix downstream.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55007
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55899
2023-12-07 20:21:42 +01:00
Alexandre Julliard 4a138da761 configure: Require SEH support for PE builds. 2023-12-05 09:48:46 +01:00
Fabian Maurer 53c0a31b28 coml2: Add dll and move code from ole32/memlockbytes.c. 2023-12-01 18:51:25 +01:00
Jacek Caban d815623bf6 configure: Don't use empty expression in clang check.
Avoids m4_default default action.
2023-11-30 23:12:54 +01:00
Rémi Bernon d64ea8e4a6 winewayland.drv: Enumerate Xkb layouts and create matching HKL. 2023-11-30 23:12:54 +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
Alexandre Julliard 13c43cf3d0 Release 8.21. 2023-11-24 22:48:09 +01:00
Rémi Bernon 977da40ae5 twinapi.appcore: Stub implement EasClientDeviceInformation runtimeclass. 2023-11-23 22:52:19 +01:00
Hans Leidekker c090bdbe0a wldp: Improve the WldpGetLockdownPolicy() stub. 2023-11-15 23:03:51 +01:00
Rémi Bernon f58946e3ba winewayland.drv: Basic handling of Wayland keyboard events.
Handle Wayland keyboard events and translate them to Windows events,
currently using a hardcoded US key mapping.
2023-11-14 11:39:38 +01:00
Jacek Caban 5004e6bce7 configure: Add arm64ec PE target support. 2023-11-13 11:26:19 +01:00
Alexandre Julliard 3a8d71041c Release 8.20. 2023-11-10 21:54:48 +01:00
Alexandre Julliard da2ae5832c configure: Consistently use HOST_ARCH for platform checks. 2023-11-10 20:52:28 +01:00
Alexandre Julliard c33f350623 configure: Assume that pthread.h is present.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2023-11-10 20:52:28 +01:00
Shaun Ren ad8f354f62 msttsengine: Add stub dll. 2023-11-08 17:25:41 +01:00
Alexandre Julliard 4502eb56ba configure: Use hidden visibility also when building Unix libraries. 2023-11-08 10:27:21 +01:00
Jacek Caban 6f1ed05bad configure: Disable -Wmicrosoft-enum-forward-reference warnings. 2023-11-02 12:09:07 +01:00
Alexandre Julliard 8b5a60d2d7 Release 8.19. 2023-10-29 14:44:03 +01:00
Alexandre Julliard 609de17e25 vcruntime140_1: Only build for x86-64. 2023-10-19 18:19:30 +02:00
Brendan Shanks 83e80e9b60 configure: Only build Wayland if linux/input.h is present. 2023-10-18 20:46:59 +02:00
Alexandre Julliard 9d78031de6 Release 8.18. 2023-10-13 23:00:12 +02:00
Daniel Lehman 043cc2414d msxml6/tests: Copy namespaces as attributes tests. 2023-10-11 17:27:29 +02:00
Daniel Lehman 7c94aa9d98 msxml4/tests: Copy namespaces as attributes tests. 2023-10-11 17:27:29 +02:00
Mohamad Al-Jaf d7b7114dd9 windows.security.credentials.ui.userconsentverifier: Add stub DLL. 2023-10-10 23:15:05 +02:00
Rémi Bernon f768d6b31b dmsynth: Import and use FluidSynth 2.3.3. 2023-10-10 10:14:08 +02:00
Mohamad Al-Jaf 8b329317b7 windows.media.mediacontrol: Add stub DLL. 2023-10-05 18:49:44 +02:00
Martin Storsjö 2c7524021e configure: Fix restoring CFLAGS after the test for -Wl,-z,defs.
This fixes a regression from 450c358881dbc6dcfb2692b8f4debb7db8fdc54b;
after testing for -Wl,-z,defs, CFLAGS was restored from an
incorrect variable, leaving CFLAGS essentially empty.

This would break builds for e.g. arm with Clang, where -mthumb would
be essential for being able to build some inline assembly snippets
correctly.

This also had the effect of dropping the default "-g -O2" arguments
from CFLAGS.

Signed-off-by: Martin Storsjö <martin@martin.st>
2023-10-04 18:15:52 +02:00
Mohamad Al-Jaf 2f3aa0e2f6 windows.storage.applicationdata: Add stub DLL. 2023-10-02 21:56:31 +02:00
Brendan Shanks 450c358881 configure: Don't use -Wl,-z,defs if it causes link errors with 'environ'.
Fixes undefined reference link error in msv1_0 on FreeBSD.

Reported by Gerald Pfeifer.
2023-10-02 11:54:33 +02:00
Alexandre Julliard 3db7506221 Release 8.17. 2023-09-29 22:29:20 +02:00
Alexandre Julliard cf5e073d14 Release 8.16. 2023-09-15 21:38:23 +02:00
Mohamad Al-Jaf 0617824e0a appxdeploymentclient: Add stub DLL. 2023-09-11 20:41:35 +02:00
Dmitry Timoshkov 3acdfe3180 srvsvc: Add LanmanServer stub service.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-09-08 17:47:32 +02:00
Mohamad Al-Jaf 04c26b455f windows.applicationmodel: Add stub DLL. 2023-09-05 12:00:11 +02:00
Alexandre Julliard 0cea9c78fa Release 8.15. 2023-09-01 21:36:35 +02:00
Nikolay Sivov 3174e86abe wldp: Add WldpIsDynamicCodePolicyEnabled() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-08-28 21:56:25 +02:00
Mohamad Al-Jaf 0aeed1a497 dxcore: Add stub DLL. 2023-08-28 21:56:25 +02:00
Alexandre Julliard ec3b773872 Release 8.14. 2023-08-18 21:57:17 +02:00
Alexandre Julliard b5edd14814 configure: Use AC_CHECK_HEADER for headers that don't need to be in config.h. 2023-08-15 18:56:44 +02:00
David McFarland 4a4d352441 configure: Don't require pcsclite header for winscard.
The header is unused, and the header check fails with:

configure:7860: checking for PCSC/pcsclite.h
configure:7860: gcc -m32 -c -g -O2  conftest.c >&5
In file included from conftest.c:50:
[...]/include/PCSC/pcsclite.h:45:10:
fatal error: wintypes.h: No such file or directory
   45 | #include <wintypes.h>
         |          ^~~~~~~~~~~~

Fixes: d405a688ba
2023-08-15 18:55:21 +02:00
Piotr Caban 57943168c4 magnification: Add stub dll. 2023-08-14 18:11:23 +02:00
Zebediah Figura cda2886fd3 configure: Fail if --enable-archs is used and any cross-compiler is missing.
For example, currently, if --enable-archs=i386,x86_64 is used, and there is an
x86_64 cross compiler present but no i386 cross compiler, Wine will silently
remove i386 from the list of cross-compiled architechtures, and only compile
PE code for x86_64. This seems quite undesirable.

I am not aware of any practical reason for this to happen. Debian does ship
i686 and x86_64 MinGW compilers in separate packages, though, so it is possible
in theory.
2023-08-14 15:56:00 +02:00
David McFarland d405a688ba configure: Fix caching of PCSCLITE_LIBS on mac.
ac_cv_lib_pcsclite_SCardEstablishContext=yes would be cached, causing
AC_CHECK_LIB to use -lpcsclite on the second run.

Fixes: f74c4af257
2023-08-14 13:34:12 +02:00
Mohamad Al-Jaf 8840087d9e hvsimanagementapi: Add stub DLL. 2023-08-08 21:11:30 +09:00
Mohamad Al-Jaf 7ac4bbb2de msvcp140_codecvt_ids: Add DLL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55344
2023-08-02 20:03:51 +09:00
Gijs Vermeulen f74c4af257 configure: Use PCSC.framework when pcsclite is not available on macOS. 2023-07-27 13:12:06 +09:00
Paul Gofman 7b243afc63 nsiproxy.sys: Detect wireless interface type on Linux. 2023-07-27 11:54:03 +09:00
Mohamad Al-Jaf 701a050641 windows.devices.usb: Add stub DLL. 2023-07-24 11:53:21 +02:00
Alexandre Julliard eac34b9c85 Release 8.13. 2023-07-21 22:25:58 +02:00
Maxim Karasev c29dc0064e klist: Add a program that lists Kerberos tickets.
It's a clean-room reimplementation that mimics Windows 10 program's output format.
It prints all the information that is available via KerbQueryTicketCacheMessage.

Also tested to work on Windows if dynamically linked + built with winegcc.

For further extension of the functionality, implementing
KerbQueryTicketCacheEx{,2,3}Message is required.
2023-07-21 21:27:44 +02:00
Brendan Shanks cfa0dd9dd9 loader: On 64-bit macOS, reserve the low 8GB using a zerofill section.
A zerofill section is the only way to reserve address space and prevent
system frameworks from using it, including preventing allocations
before any preloader code runs:
- starting with Ventura, dyld allocates private memory from 0x1000-0x81000.
  This breaks EXEs that have an image base of 0x10000.
- Rosetta allocates memory starting at 0x100000000, which breaks EXEs based there.
- starting with Monterey, for proper 10.7 binaries (which include a __program_vars section),
  libSystem initializes itself before the preloader runs. This fragments the <4GB
  address space which is needed for Wow64.

This will need to be adjusted if any EXEs based at 0x200000000 or higher
are found.
2023-07-18 15:16:12 +02:00
Brendan Shanks 0920543876 configure: Only attempt to build macOS preloader on Intel, and remove unnecessary flag checks. 2023-07-18 15:16:12 +02:00
Alexandre Julliard 96edde17d0 configure: Always disable winegstreamer if gst/gst.h is broken. 2023-07-13 23:42:42 +02:00
Chris Denton 83d4075202 bcryptprimitives: ProcessPrng stub.
ProcessPrng is the only publicly documented function exported by bcryptprimitives. This stub simply forwards it to RtlGenRandom in advapi32.
2023-07-10 15:56:07 +02:00
Fabian Maurer 54e38a95fc geolocation: Rename from windows.devices.geolocation.geolocator. 2023-07-10 12:19:09 +02:00
Alexandre Julliard aaf304f244 Release 8.12. 2023-07-07 22:20:15 +02:00
Mohamad Al-Jaf 6c07526486 windows.networking.hostname: Add stub DLL. 2023-07-07 12:18:39 +02:00
Fabian Maurer 7fb18d59a6 windows.devices.geolocation.geolocator: Add stub dll. 2023-07-06 23:02:07 +02:00
Alexandre Julliard abe79e3b52 configure: Don't try to use a non-compliant cross-compiler. 2023-07-06 20:54:30 +02:00
Alexandre Julliard 8f27e8f601 configure: Define __STDC__ to work around clang breakage in MSVC mode. 2023-07-06 20:54:30 +02:00
Alexandre Julliard a09019b7e9 configure: Allow using clang as cross-compiler for multiple archs. 2023-07-06 20:54:30 +02:00
Alexandre Julliard 6366775e82 include: Disallow Win32 va_list in Unix libraries. 2023-07-05 17:03:30 +02:00
Mohamad Al-Jaf f9305432c8 windows.devices.bluetooth: Add stub DLL. 2023-07-04 13:14:04 +02:00
Mohamad Al-Jaf 95ea605b10 pnputil: Add stub program.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55178
2023-07-03 22:15:42 +02:00
Alexandre Julliard c13e7ae474 Release 8.11. 2023-06-23 23:17:45 +02:00
Jacek Caban 9285aa5bb1 configure: Use -fvisibility=hidden when building with msvcrt and cross compiler is not available. 2023-06-22 15:35:35 +02:00
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
Alexandre Julliard 68a3b0077e Release 8.10. 2023-06-09 23:51:05 +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 9ffeb2622d Release 8.9. 2023-05-26 22:23: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
Alexandre Julliard 5662d85e0e Release 8.8. 2023-05-12 23:48:10 +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