Commit graph

2999 commits

Author SHA1 Message Date
Nikolay Sivov 511be2e86d threadpoolwinrt: Add a stub module.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-20 09:26:08 +02:00
Shaun Ren 6d2a9af43b msvcrt: Fix strncmp return value.
Some programs, such as Final Fantasy IV (3D remake), expect strncmp
to return exactly +/-1 when the strings are not equal.

Signed-off-by: Shaun Ren <sren@codeweavers.com>
2022-09-19 20:12:32 +02:00
Julian Klemann b03c2d959e windows.devices.enumeration/tests: Add test for Stopped DeviceWatcher event.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53328
2022-09-14 22:38:35 +02:00
Alexandre Julliard 8b7baa1128 configure: Use --disable-stdcall-fixup for all PE builds. 2022-09-12 12:46:25 +02:00
Piotr Caban 852bbe6d54 compstui: Add CommonPropertySheetUI tests. 2022-08-17 19:23:12 +02:00
Nikolay Sivov ed7762c1fa mfsrcsnk/wave: Add a sink stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-15 18:14:04 +02:00
Nikolay Sivov 73d6ca6e1e mfsrcsnk: Add a stub dll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-15 18:14:01 +02:00
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
Zebediah Figura c94be0460c wined3d: Redirect vkd3d log output to the Unix stderr. 2022-07-22 19:58:09 +02:00
Zhiyi Zhang 5739db59d4 atl: Avoid NULL pointer reference in AtlComModuleGetClassObject().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-07 19:10:02 +02:00
Paul Gofman f3c36f7256 msvcp140_2: Add stub dll. 2022-07-04 18:04:03 +02:00
Connor McAdams 7d5708a182 ia2comproxy: Introduce new proxy stub DLL for IAccessible2.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-15 21:48:52 +02:00
Rémi Bernon 5387718c6f wmadmod: Remove unnecessary DLL.
It was initially meant for tests, which are all now in dlls/mf as well,
and for the WMA decoder. The class is supposed to live in this DLL but
because of the winegstreamer implementation, it cannot in Wine.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 17:30:33 +02:00
Chip Davis 2264663c74 nsiproxy.sys: Implement IPv6 ipstats get_all_parameters on Mac OS and BSD.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00
Chip Davis 84e9696078 nsiproxy.sys: Implement IPv6 icmpstats get_all_parameters on Mac OS and BSD.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00
Chip Davis 0a70e1ac63 configure: Check for struct icmpstat.
NetBSD no longer has statistics structures. Instead, it stores them as
arrays of integer counters. It's backwards compatible with the old
statistics structures, but the struct definitions are missing. This has
likely been broken on NetBSD for quite some time as a result.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00
Zebediah Figura c111332d1b xslt: Use win32config.h from the correct directory.
This also fixes the build with external libxml2 but bundled libxslt.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 12:34:17 +02:00
Zhiyi Zhang 1c5d218ffb wintypes: Implement IApiInformationStatics stubs.
Required for Iragon: Prologue.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 21:45:48 +02:00
Torge Matthies a2bc9e5f36 sc/tests: Add tests.
Signed-off-by: Torge Matthies <tmatthies@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:39:10 +02:00
Zhiyi Zhang 47b9dc3dde windows.networking: Add stub dll.
Required for Iragon: Prologue.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-25 15:08:43 +02:00
Zhiyi Zhang cad1e21332 wintypes: Add stub dll.
Required for Iragon: Prologue.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 13:09:14 +02:00
Paul Gofman 4c90f58bb5 msvcr80: Fix ioinfo structure definition.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Alexandre Julliard 0aa31b735c configure: Try to detect a C99 flag for the cross compiler.
Similar to what AC_PROC_CC does for the host compiler.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52723
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-25 11:19:12 +01:00
Dmitry Timoshkov 36ac0c1cfb dllhost: Add stub implementation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-08 22:43:36 +01:00
Zebediah Figura b8cb9195d0 configure: Fix the check for CAPI support.
AC_CHECK_LIB sets the variable to "no", not an empty string. Hence compilation
would fail if headers were present but libraries were missing.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-08 09:33:50 +01:00
Brendan Shanks 7b27e60e67 makefiles: On macOS, use @rpath instead of @loader_path when building Unix libs.
Fixes launching 32-bit EXEs from a WOW64 build dir.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52618
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-08 09:32:37 +01:00
Martin Storsjö ebe0fce6e4 configure: Tweak PE tools suggestion for ARM64.
llvm-mingw isn't strictly required - plain clang, llvm-dlltool and
lld also suffice. Those tools are commonly available in distribution
packages.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 11:23:42 +01:00
Zebediah Figura 2c5084e05f configure: Try to detect MinGW libvkd3d using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-04 10:06:01 +01:00
Alexandre Julliard 9d56ca72fe configure: Remove some no longer needed checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-03 10:51:30 +01:00
Alexandre Julliard 97db56ab61 libs: Import upstream code from vkd3d release 1.3.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-03 10:07:16 +01:00
Alexandre Julliard 11486a7b48 configure: Require PE cross-compilation for building on ARM64.
There's no -mabi=ms option we could use on ARM64.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-02 20:17:15 +01:00
Alexandre Julliard 9226d0c3d8 configure: Check for working -mabi=ms support on x86_64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 22:41:15 +01:00
Alexandre Julliard bf8c5afef1 api-ms-*: Get rid of the apiset placeholder files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:23:53 +01:00
Alexandre Julliard d40ecdd248 apisetschema: Add dll.
Apiset data generated from the existing api-ms-* modules.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 22:10:47 +01:00
Santino Mazza e7a91b0a1c ncrypt/tests: Test key import of an rsa key.
Signed-off-by: Santino Mazza <mazzasantino1206@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-15 22:59:53 +01:00
Andrey Gusev 0894a4ad48 api-ms-win-security-lsalookup-ansi-l2-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 13:53:31 +01:00
Alexandre Julliard 8db1662d74 configure: Only define _TIME_BITS together with _FILE_OFFSET_BITS.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 10:29:49 +01:00
Alexandre Julliard 2211ca9fa5 configure: Enable 64-bit time_t on Linux.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 18:43:10 +01:00
Esme Povirk ee6bee6a45 diasymreader: Add stub dll.
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:54 +01:00
Zebediah Figura ad5b6be1a9 tiff: Explictly link to zlib.
This normally works because the only module linking to tiff (windowscodecs) also
pulls in static zlib via PNG_PE_LIBS. However, if using shared libpng,
windowscodecs will currently fail to link.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:54 +01:00
Rémi Bernon 85747f0abe wmadmod: Introduce new DLL and tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51931
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52391
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Alexandre Julliard 26a3472b34 makefiles: Disable printf format warnings for non-PE msvcrt modules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 21:09:19 +01:00
Daniel Lehman 2e88169d7b msvcp140_atomic_wait: Implement __std_parallel_algorithms_hw_threads.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:57 +01:00
Daniel Lehman d04e7f25c3 msvcp140_atomic_wait: Add stub dll.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:57 +01:00
Alexandre Julliard 363d078f46 makefiles: Add a maintainer-clean target.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-21 13:15:12 +01:00
Alexandre Julliard 9d494730fe makefiles: Get rid of the documentation rules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 16:19:07 +01:00
Alexandre Julliard 318822d258 configure: No longer disable mountmgr.sys in a Windows build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 10:53:29 +01:00
Keno Fischer 1f17015cea winemac: Unconditionally link to QuartzCore.
This fixes non-Metal builds.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52216
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-06 16:01:28 +01:00
Rémi Bernon d22746fe09 dinput/tests: Move tests from dinput8/tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-03 16:46:02 +01:00
Alex Henrie b45ac3a0b8 api-ms-win-core-windowserrorreporting-l1-1-1: Add DLL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51923
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-23 22:57:01 +01:00
Hans Leidekker 11b15054e7 configure: Check for libldap instead of libldap_r.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52140
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-13 11:33:35 +01:00
Rémi Bernon f9d7acbf45 winejoystick.drv: Remove unnecessary driver.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:17 +01:00
Alexandre Julliard 6613e6bb79 configure: Remove some no longer used checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard 411592bf45 configure: Assume that sys/wait.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard e5d69d9ee6 configure: Assume that sys/ioctl.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard b3ca48f39c configure: Assume that sys/time.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard a7ac3de3b3 configure: Assume that sys/socket.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard e3001b6a7c configure: Assume that sys/mman.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard 13ec7952e0 configure: Assume that unistd.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:51 +01:00
Alexandre Julliard 7d5af65591 configure: Assume that termios.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:50 +01:00
Alexandre Julliard f8faa8ced5 configure: Assume that dirent.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 18:43:50 +01:00
Zebediah Figura 9469711946 configure: Try to detect MinGW libxslt using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-03 10:42:48 +01:00
Zebediah Figura be8dd96d66 configure: Try to detect MinGW libxml2 using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-03 10:42:34 +01:00
Zebediah Figura 089dd8560b configure: Try to detect MinGW libtiff using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-03 10:42:28 +01:00
Zebediah Figura aafddb16c3 configure: Try to detect MinGW libpng using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-03 10:42:18 +01:00
Zebediah Figura 3869f5e6b1 configure: Try to detect MinGW libmpg123 using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:39 +01:00
Zebediah Figura d0add9f8d9 configure: Try to detect MinGW liblcms2 using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:39 +01:00
Zebediah Figura 8459b0d5e0 configure: Try to detect MinGW libjpeg using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:39 +01:00
Zebediah Figura 872d13d14a configure: Try to detect MinGW FAudio using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:39 +01:00
Zebediah Figura 9ac28955cf configure: Try to detect MinGW zlib using pkg-config if --with-system-dllpath is specified.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:39 +01:00
Alexandre Julliard 13a3340bc2 configure: Fix the netapi check.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Zebediah Figura eeae3554fd configure: Fix the makefile path for libxml2 and libxslt.
They were not correctly being disabled if an external library was specified,
which was causing msxml3 to link to the bundled version.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-30 12:42:00 +01:00
Alexandre Julliard 83d7b1d312 strmbase: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-29 23:25:46 +01:00
Alexandre Julliard 34289e749f wineqtdecoder: Remove the QuickTime decoder.
QuickTime is deprecated on macOS, so remove the module instead of
doing the work to convert it to msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-29 23:25:46 +01:00
Gerald Pfeifer 07c9dd9bdf configure: Diagnose if NetAPI is not present.
For most other configure options we are warning when some dependency
is not present, in particular when it's been explicitly requested.
Also do this for Samba NetAPI now.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-29 23:19:10 +01:00
Mohamad Al-Jaf 4862f38db9 api-ms-win-appmodel-runtime-l1-1-0: Add new dll.
Fix error caused by some applications attempting to load
Windows Runtime support libraries. Example: Adobe Photoshop 2021
attempts to load WinRTSupport.dll.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Alexandre Julliard 37b7259f07 mountmgr: Remove the obsolete libhal support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-25 12:38:59 +01:00
Zebediah Figura 7e926a9aa9 ntdll: Allow loading system DLLs from a path specified at configure time.
Many distributions provide MinGW-compiled system DLLs which are currently
bundled with Wine. Unfortunately, while MinGW pkg-config can be used to detect
the linking path, there is no standardized runtime path, and many distributions
in fact use different paths.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-24 15:30:09 +01:00
Eric Pouech 769db93d42 configure: Make Dwarf4 the default debug format.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-22 22:20:50 +01:00
Matteo Bruni 3203f05668 Revert "ntdll: Implement NtYieldExecution() as usleep().".
Rémi found a regression caused by that patch. His analysis suggests
that it's probably correct for NtYieldExecution() to map to
sched_yield().

Let's revert the patch and fix the issue in a slightly different way.

This reverts commit b1a79c6b9c.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-22 22:20:50 +01:00
Piotr Caban 241455e84b msvcp_win: Add stub dll.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-19 20:23:11 +01:00
Louis Lenders f1a831c6d3 msctfmonitor: Add stub dll.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52044
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-17 15:49:59 +01:00
Alexandre Julliard 4d2f2e8079 configure: Regenerate with autoconf 2.71.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-14 12:29:24 +01:00
Alexandre Julliard c6b5f4a406 makefiles: Generate the top makefile entirely from configure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 13:44:44 +01:00
Alexandre Julliard 37c0f5c690 makefiles: Substitute all defined variables in the main makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 13:44:44 +01:00
Eric Pouech 6c8500d05e configure: Allow expressing dwarf version in CFLAGS and CROSSCFLAGS.
Based on a patch from Jacek Caban.

usage:
     configure CFLAGS="-gdwarf-4 -O2"
   will enable dwarf4 compilation for ELF parts
   (and CROSSCFLAGS="-gdwarf-4 -O2" for PE parts)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 21:07:49 +01:00
Huw Davies 6fdae1979b configure: Stop checking for poll.h and sys/poll.h - always use poll.h.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-31 17:56:54 +01:00
Alexandre Julliard 677107378e configure: Fix the libsane notice check.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51951
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-31 17:08:25 +01:00
Alexandre Julliard eab0f52e9b capi2032: Link directly to libcapi20.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:58:55 +02:00
Alexandre Julliard 8f70855f88 gphoto2.ds: Use the bundled libjpeg and build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:35:12 +02:00
Alexandre Julliard 929e2a54e3 configure: Disable gphoto2.ds if the needed Unix libraries are missing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:33:30 +02:00
Alexandre Julliard cf5bad0ecc configure: Disable sane.ds if the Unix library is missing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Brendan Shanks 80a30625a7 configure: Simplify flag checks for Mac preloader.
Always build the Mac preloader with '-mmacosx-version-min=10.7', which
works with all supported toolchains.
Fixes bug when building with Xcode 9 where preloader flags would be added
to EXTRACFLAGS and cause build failures on 32-bit.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 22:40:50 +02:00
Huw Davies da0db2eb79 winspool: Build with msvcrt.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 22:40:49 +02:00
Alistair Leslie-Hughes 35532015cb msdasql/tests: Initial tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 23:05:47 +02:00
Alistair Leslie-Hughes 48cc6ce421 msdasql: New DLL.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 21:18:42 +02:00
Alistair Leslie-Hughes d09d4d97e0 cng.sys: New dll.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48981
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:53:31 +02:00
Gijs Vermeulen 01d869a09c windows.devices.enumeration: Add stub dll.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51884
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 19:34:12 +02:00
Alexandre Julliard d8be85863f xaudio: Use the bundled FAudio and build with msvcrt.
Based on a patch by Rémi Bernon.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 14:03:54 +02:00
Alexandre Julliard 6b45777121 libs: Import code from upstream FAudio 21.10.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 14:03:54 +02:00
Alexandre Julliard 5329da61ac l3codeca.acm: Use the bundled mpg123 and build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:56:59 +02:00
Alexandre Julliard bafb747d2d libs: Import upstream code from mpg123 1.29.1.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:56:59 +02:00
Alexandre Julliard eb0180e7b4 wmphoto: Use the bundled jxrlib.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:56:59 +02:00
Alexandre Julliard cfc8f154e5 libs: Import upstream code from jxrlib 1.1.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:56:59 +02:00
Martin Storsjö 683b43b996 xslt: Build with LIBXSLT_STATIC, fix building with clang in MSVC mode.
This avoids unnecessarily embedding dllexport directives in all
the object files.

This also fixes building with clang in MSVC mode, as the MSVC
definition of XSLTPUBVAR in xsltexports.h is lacking 'extern'
when doing dllexport. (This probably used to work before
compilers defaulted to -fcommon.) This fixes duplicate symbols
like these:

lld-link: error: duplicate symbol: xsltGenericError
>>> defined at ../src/libs/xslt/libxslt/xsltutils.h:140
>>>            libxslt.cross.a(documents.cross.o)
>>> defined at ../src/libs/xslt/libxslt/xsltutils.h:140
>>>            libxslt.cross.a(extensions.cross.o)

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:22:00 +02:00
Alexandre Julliard 0e7fd41af9 msgsm32.acm: Use the bundled gsm codec and build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard 116ea9cec4 libs: Import upstream code from gsm 1.0.19.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard bca1b7f2fa mxsml3: Use the bundled libxml2 and libxslt and build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard c638618cbc libs: Import code from upstream libxslt 1.1.34.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard 9d9d4fcc37 libs: Import code from upstream libxml2 2.9.12.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Alexandre Julliard 5c4c272a26 mscms: Use the bundled lcms2.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard f550f624b2 libs: Import code from upstream lcms2 2.12.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard d36615ee52 windowscodecs: Use the bundled libtiff.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard 913dad521f libs: Import upstream code from libtiff 4.3.0.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard 0ee6d22d05 libs: Import upstream code from libjpeg 9d.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Florian Eder 530c183960 robocopy: Add stub.
Signed-off-by: Florian Eder <others.meder@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 21:26:10 +02:00
Alexandre Julliard c3d8a29a04 windowscodecs: Use the bundled libpng.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 14:36:33 +02:00
Alexandre Julliard 885705c879 libs: Import upstream code from libpng 1.6.37.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 14:32:42 +02:00
Alexandre Julliard 2929aa3c74 libs: Import upstream code from zlib 1.2.11.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 11:07:38 +02:00
Alexandre Julliard f7e1b0f9b7 configure: Always define _WIN32 for msvcrt builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-14 15:28:52 +02:00
Alexandre Julliard 339950a781 configure: Don't define _WIN32 for Cygwin builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-14 11:07:56 +02:00
Alexandre Julliard cbf94a7b2c configure: Add a __WINE_PE_BUILD define for files that are built as PE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-14 11:07:10 +02:00
Jacek Caban c05704c713 win32u/tests: Add NtUserCloseWindowStation test.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:29:22 +02:00
Alex Henrie 5abee26b8a dhcpcsvc6: Add stub DLL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51863
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 21:33:38 +02:00
Alexandre Julliard 83ca429073 wmcodecdspuuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard cbf9a44ee4 wbemuuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard 4fa272b003 uuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard 2390075361 strmiids: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard b52b43a7a2 mfuuid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:53 +02:00
Alexandre Julliard 3f1e7ac5b6 dxguid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:47:51 +02:00
Alexandre Julliard e36fe96fda dxerr9: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard cc2e4d3d1f dxerr8: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard 7f38b342b0 dmoguids: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard 58f267dd96 adsiid: Move to the libs directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:44:02 +02:00
Alexandre Julliard 2afb4fd044 configure: Assume that dlfcn.h is available on Unix.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:25:10 +02:00
Alexandre Julliard ea2c743668 configure: Define _GNU_SOURCE in config.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 11:22:53 +02:00
Rémi Bernon adfee25b45 dinput: Remove legacy joystick backends.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 10:58:29 +02:00
Brendan Shanks 54d51df668 api-ms-win-core-realtime-l1-1-1: Add stub DLL.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Matteo Bruni b1a79c6b9c ntdll: Implement NtYieldExecution() as usleep().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Alexandre Julliard c7bd6865e7 configure: Use CROSSLDFLAGS as flags for cross-compiler tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51849
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Alexandre Julliard ae9f64c464 configure: Remove some no longer needed configure checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Huw Davies 2acb6bc6fd configure: No longer disable iphlpapi in a Windows build.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 10:52:22 +02:00
Alexandre Julliard c60d604544 makefiles: Remove libwine_port.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard dd895f496a libport: Remove the symlink() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard ee213bcbea libport: Remove the readlink() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard 6d2cf0230e libport: Remove the lstat() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard 65f3c3ae27 configure: Disable building mountmgr.sys on Windows for now.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard 8d3bc5c89c libport: Remove the _spawnvp() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 11:54:42 +02:00
Alexandre Julliard a01532200d libport: Remove the getopt_long() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 11:54:00 +02:00
Alexandre Julliard 5a19769245 configure: Remove no longer needed poll() checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 15:26:24 +02:00