Commit Graph

2820 Commits

Author SHA1 Message Date
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