Commit Graph

2454 Commits

Author SHA1 Message Date
Zhiyi Zhang be54adcffc winex11.drv: Support XRandR display device handler.
XRandR supports multiple GPUs and runtime device change
compared to Xinerama.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:18 +02:00
Jacek Caban e40d857f1c scrobj/tests: Add scriptlet tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-18 21:55:16 +02:00
Zebediah Figura a6e2378021 configure: Also try /usr/lib32/pkgconfig/ for the 32-bit PKG_CONFIG_PATH.
As 20d41d9e2, but some distributions (e.g. Manjaro, and probably Arch in
general) use this path instead.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-16 22:58:41 +02:00
Huw Davies 06754af1e5 configure: Fix libunwind warning logic.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-13 10:35:54 +02:00
Huw Davies 89773807f2 configure: Fix argument type of unw_step().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-13 10:35:45 +02:00
Alexandre Julliard 4c0f59ddbc configure: Check for unw_step() instead of unw_getcontext().
unw_getcontext() can be inlined.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-12 16:44:54 +02:00
Zhiyi Zhang 0d23ecd9ec winemac.drv: Fix build with older macOS SDKs.
macOS SDKs older than 10.11 doesn't support Metal.
macOS 10.11 and 10.12 SDK support Metal but don't
support registryID in MTLDevice protocol. Recommend
using 10.13+ SDK.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-03 12:16:04 +02:00
Naveen Narayanan 624bcd314c libwine: Only link libi386 with the libraries that need it.
In particular it does not make sense to link executables and dlls built
with MinGW with it.

Signed-off-by: Francois Gouget <fgouget@icodeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-02 20:45:20 +02:00
Alexandre Julliard 4b299b286d configure: Don't link to libunwind if not necessary.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-02 20:44:56 +02:00
Jactry Zeng 3a3ace8b06 mfmediaengine: Add MFMediaEngineClassFactory stub.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 20:05:13 +02:00
Jactry Zeng dfbd925f2c mfmediaengine: Add stub dll.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 20:00:40 +02:00
Naveen Narayanan 557c4334a5 wineoss: Fix the -lossaudio check.
Only check for libossaudio if compiling wineoss.drv and the headers
are recent enough. Also only wineoss.drv needs to be linked with
libossaudio so put the link options in OSS4_LIBS.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Alexandre Julliard d2e4a6fae0 configure: Add support for using an external libunwind.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Austin English 4d10575df9 regini: Add stub program.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 12:04:25 +02:00
Michael Müller 451f96663d wuauserv: Add dummy service.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37781
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 12:04:25 +02:00
Zebediah Figura 128dd3be75 http.sys: New stub driver.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 09:49:07 +02:00
Fabian Maurer a64b9c93b1 find/tests: First tests.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 21:29:37 +02:00
Alex Henrie dc23cca322 utildll: Add DLL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47616
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-15 21:19:38 +02:00
Chip Davis 594c64543f configure: Add a missing comma.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 20:26:37 +02:00
Alex Henrie 22c5af88ad wlanui: Add DLL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47611
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 11:06:20 +02:00
Martin Storsjo e38b46e7f7 msvcrt: Implement the tgamma functions.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 16:57:12 +02:00
Francois Gouget 55e09533db xaudio2: Fix the optional FAudio functions check.
WINE_CHECK_LIB_FUNCS() must be called in WINE_PACKAGE_FLAGS()'s checks
parameter so this happens before CAUDIO_{FLAGS,LIBS} have been mangled
for use by makefiles.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:44:34 +02:00
Zebediah Figura 12d5b6899b mscorwks: New DLL.
Game Maker Studio 2 Desktop needs this to launch.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:33:12 +02:00
Alexandre Julliard 3b5f48abc5 configure: Error on unused command line argument to catch unknown options with clang.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 11:05:56 +02:00
Zebediah Figura eafb4aff5a winehid.inf: Add new INF file and copy it to the INF directory.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 19:42:38 +02:00
Alexandre Julliard 7ac6cdfa00 configure: Use pkg-config to check for zlib.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Alexandre Julliard cdf55b77e0 makefiles: Default to ms_abi for 64-bit msvcrt builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 12:06:45 +02:00
Andrey Gusev 48505cad05 ext-ms-win-shell-shell32-l1-2-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:43:39 +02:00
Andrey Gusev f40c21c3c3 ext-ms-win-shell-comdlg32-l1-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:43:30 +02:00
Andrey Gusev f1c60104a7 ext-ms-win-shell-comctl32-init-l1-1-0: Add dll.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46090
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:43:19 +02:00
Ethan Lee d341efeff0 xaudio2: Use new features from FAudio 19.06 (but keep compatibility for <=19.05).
Signed-off-by: Ethan Lee <elee@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 22:22:22 +02:00
Andrew Eikum fa54e895a7 msvcrt: Implement fma and fmaf.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard 945efdb6f3 makefiles: Use -fshort-wchar when building with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:54 +02:00
Huw Davies 5ddcfa019d configure: Don't define HAVE_CLOCK_GETTIME on macOS.
Using clock_gettime() on macOS is problematical; see commit
27c71e09ad for an explanation.
Possible configure tests for this end up being quite ugly, so
avoiding it altogether seems simplest.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 20:24:07 +02:00
Alexandre Julliard ce09e564d7 configure: Don't allow using config.h when cross-compiling.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 20:13:53 +02:00
Alexandre Julliard b8daf1f134 configure: Rename WINE_CROSSTEST to WINE_CROSS_PE.
It's not used only in tests.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 17:19:45 +02:00
Alexandre Julliard d5a372abbb include: Move inline assembly definitions to a new wine/asm.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Conor McCarthy 23e951e256 mspatcha/tests: Test implementations of ApplyPatchToFileW and related functions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=12501
Signed-off-by: Conor McCarthy <conor.mccarthy.444@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-09 08:20:04 -05:00
Alexandre Julliard d624883047 include: Move DECLSPEC_HOTPATCH definition out of config.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:35 +02:00
Alexandre Julliard 74799527b0 configure: Disable stdcall fixups for PE builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 19:44:26 +02:00
Alexandre Julliard 8039941c52 makefiles: Also pass -fPIC flag when linking.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 22:45:35 +02:00
Zebediah Figura 8f732c66ab makefiles: Build with -fno-PIC on i386.
Many applications attempt to hook or copy native API calls, using methods
sophisticated enough to recognize any sequence of x86 instructions, but not
enough to recognize and account for a GOT register load. Most such cases only
care to insert a JMP instruction in the first five bytes, and so are satisfied
by adding the hot-patch prefix. However, the madCodeHook 3.x engine attempts to
copy the first 15 bytes, and some copy-protection schemes will try to copy the
whole function.

Building with -fno-PIC on i386, as is the default behaviour for Visual Studio
compiled applications, and likely for Windows libraries as well, fixes those
applications, and also stops us once and for all wasting time debugging and
individually applying DECLSPEC_HOTPATCH.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37540
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47027
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 22:45:35 +02:00
Alexandre Julliard a4c93936c9 configure: Add check for recent enough bison.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 22:31:42 +02:00
Alexandre Julliard 629f2e10b1 makefiles: Don't use -fno-builtin flag with MinGW.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:54:14 +02:00
Damjan Jovanovic 07c2e8581a configure: Link wineserver to libinotify if necessary.
Outside Linux, wineserver fails to link when sys/inotify.h
is present, as it tries to find inotify symbols in libc,
which doesn't have them. The inotify symbols are in libinotify.so.
Detect it properly, and link to it where available.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 20:27:30 +02:00
Vijay Kiran Kamuju 9c44ef5b56 qwave: Add stub for QOSCreateHandle and tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46174
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Alexandre Julliard 9d250fbfa2 configure: Cache result of the msgfmt check.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Alexandre Julliard 9b75443c2f configure: Cache results of the compiler checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Alexandre Julliard 86a5dc80d8 configure: Cache result of the flex version check.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-14 15:10:31 +02:00
Alexandre Julliard 2b5dc2ebd5 configure: Cache result of the cross-compiler check.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-14 15:10:30 +02:00