Commit graph

2417 commits

Author SHA1 Message Date
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
Alexandre Julliard
09e1c0f6ca configure: Don't inherit CFLAGS for cross-compilation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-14 15:10:30 +02:00
Alexandre Julliard
c19da578f5 configure: Set wine_makedep variable outside of the cache check.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 16:22:15 +02:00
Martin Storsjo
de8be4a09c msvcrt: Implement the remquo family of 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-04-11 19:29:41 +02:00
Zebediah Figura
34ef3c89ad qcap: Port to libv4l2.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 18:43:15 +02:00
Martin Storsjo
9ee154066a configure: Use -Werror=unknown-warning-option in later cross tests.
Previously, if detected, the option was added to EXTRACROSSFLAGS,
which isn't taken into use in later WINE_TRY_CROSSCFLAGS tests.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 17:29:06 +02:00
Nikolay Sivov
a346e44c7f dbgeng: Implement engine options access methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Alexandre Julliard
b8a6693e19 configure: Use CROSSCFLAGS when testing the cross-compiler.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:22 +02:00
Austin English
107106220b ksecdd.sys: Add stub driver.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46898
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:31 +02:00
Alexandre Julliard
870f99eced configure: Check for supported warning flags also for the cross-compiler.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:31 +02:00
Alexandre Julliard
a3cf86a184 configure: Add --with-mingw option and print a notice when not found.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 11:13:30 +02:00
Alexandre Julliard
5646582e5b configure: Also build msvcrt for Windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 11:01:57 +02:00
Alexandre Julliard
8d20ad28c3 configure: Remove some obsolete checks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +02:00
Alexandre Julliard
f689c723a2 makefiles: Don't use libwine for Windows builds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +02:00
Vijay Kiran Kamuju
9a562d963f uianimation: Add stub dll.
Based on a patch from Louis Lenders

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 21:54:31 +02:00
Nikolay Sivov
722c436338 mferror: Add error messages dll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 14:13:58 +01:00
Józef Kucia
72cf4a99c6 configure: Require libvkd3d 1.1.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46835
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Alexandre Julliard
817fb9755c configure: Hardcode some functions for Windows platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard
4d4c55d061 configure: Hardcode some types for Windows platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard
667bc336fe configure: Hardcode some headers for Windows platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard
47c440a8a9 libport: Remove checks for strerror().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:35 +01:00
Alexandre Julliard
4fcd86e17d libport: Remove checks for memmove().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:21 +01:00
Alexandre Julliard
cba41d9bfd libport: Remove checks for gettimeofday().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:21 +01:00
Erich E. Hoover
3d5b606dde msidb: Add stub tool for manipulating MSI databases.
The "Windows SDK Components for Windows Installer Developers" has a
command line tool called msidb that is incredibly useful for creating,
editing, and exporting MSI installer databases, think of it as
winemsibuilder on steroids.  This patch series implements much of the
functionality of the msidb tool, maintains compatible CLI flags, and
the underlying MSI functionality necessary to support these features.
Jacek expressed an interest in having these patches resurrected for
use by the Gecko build scripts and Austin's VS builds of Valgrind.
With this patch series all the existing winemsibuilder functionality
is available, plus the ability to drop streams, export the
_SummaryInformation table, and export binary streams (Binary/Icon
tables).  A big feature of the implementation is that it allows you to
edit existing installer databases, rather than just creating new ones.

Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:52:08 +01:00
Alexandre Julliard
2f149571d5 configure: Remove a few no longer used definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 14:58:27 +01:00
Hans Leidekker
e581835a8c amsi: New dll.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:01:22 +01:00
Nikolay Sivov
8c8d8e80f5 ucrtbase: Add ilogb* functions.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:30 +01:00
Zebediah Figura
28e74af742 msvcr120: Add nexttoward implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45631
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 17:48:02 +01:00
Ethan Lee
3e390b1aaf xaudio2: Rewrite to use FAudio.
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-02-25 17:35:14 +01:00
Nikolay Sivov
5dcb329667 mfplay: Add stub dll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Andrey Gusev
a1a9ca8f4a ext-ms-win-ntuser-misc-l1-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 15:54:42 +01:00
Andrey Gusev
fe852ef122 ext-ms-win-ntuser-message-l1-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 15:54:34 +01:00
Andrey Gusev
0b4ecdebe5 ext-ms-win-ntuser-dialogbox-l1-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 15:54:20 +01:00
Andrey Gusev
a21448a663 ext-ms-win-gdi-font-l1-1-1: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:59 +01:00
Andrey Gusev
5de4a5bc2f ext-ms-win-gdi-font-l1-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:50 +01:00
Andrey Gusev
2764f8c12b ext-ms-win-ntuser-gui-l1-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:43 +01:00
Andrey Gusev
c62db16787 ext-ms-win-gdi-draw-l1-1-0: Add dll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 20:38:06 +01:00
Jacek Caban
2f9922903e atlthunk/tests: Add tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 13:10:22 +01:00