Commit Graph

3284 Commits

Author SHA1 Message Date
Chip Davis 289d456dd6 ntdll: Fix tick count calculation on Mac.
Inspired by a patch by Andrew Eikum.

macOS's mach_absolute_time() stops counting when the computer goes to
sleep/suspend/hibernate/etc. However, Windows's GetTickCount() does not
stop counting. mach_continuous_time() matches Windows's behavior.

BSD's CLOCK_MONOTONIC already counts asleep time.

Unfortunately, there is no clock source on Linux which does exactly what
we want. CLOCK_MONOTONIC_RAW is unaffected by NTP adjustment, but like
mach_absolute_time() doesn't keep ticking when the computer is asleep.
CLOCK_BOOTTIME does keep ticking, but it is affected by NTP adjustments.
CLOCK_MONOTONIC has both problems. What's needed is a
CLOCK_BOOTTIME_RAW, which would not be slewed by adjtimex(2) and would
count time spent asleep.

To avoid issues with skew and performance, this patch falls back to
mach_absolute_time() on macOS if mach_continuous_time() is unavailable.
Note that mach_continuous_time() was introduced in macOS 10.12, meaning
that if the minimum version required is less than that, it will be
linked weakly. Therefore we must check that it is nonnull before
attempting to call it.

Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 20:45:46 +01:00
Vijay Kiran Kamuju 15e30b9c02 tapi/tests: Add initial tests for lineInitialize.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 15:31:08 +01:00
Alexandre Julliard 4152f944f6 makefiles: Create source dir symlinks from the makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 14:45:10 +01:00
Hans Leidekker aed088df11 dhcpcsvc: Implement DhcpRequestParams.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Hans Leidekker b7ab346cf7 mountmgr.sys: Add support for querying DHCP parameters on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Alexandre Julliard 60626d0df8 Release 4.20.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-15 23:53:45 +01:00
Jacek Caban 3d19efae72 makedep: Use -Wl,-delayload on cross targets when supported by linker.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 22:36:58 +01:00
Matteo Bruni f14962e55d d3dcompiler/tests: Add d3dcompiler_47 tests.
Share the code with the existing d3dcompiler_43 tests.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Jacek Caban a94c8d5b6b configure: Get rid of no longer needed __builtin_clz check.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 23:37:44 +01:00
Zebediah Figura 86f51040e8 configure: Install winebus.inf.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 10:29:18 +01:00
Alistair Leslie-Hughes 43a4439068 dsdmo: Added dll.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-07 20:19:09 +01:00
Alexandre Julliard 6f2ef158b7 Release 4.19.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-01 21:35:58 +01:00
Alistair Leslie-Hughes 37e4ff85d4 uianimation/tests: Add initial tests.
Added win_skip for WinXP failure.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-28 21:51:56 +01:00
Alexandre Julliard 8c74027ba6 Release 4.18.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-18 20:59:26 +02:00
Alexandre Julliard 65fba09873 Release 4.17.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 22:54:58 +02:00
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
Alexandre Julliard 3bf7473b88 Release 4.16.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-13 22:32:49 +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
Evgeny Litvinenko 11b8bbc7b9 aclocal.m4: Allow nesting WINE_TRY_SHLIB_FLAGS.
Signed-off-by: Evgeny Litvinenko <evgeny.v.litvinenko@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 19:06:15 +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
Alexandre Julliard a4aaf3f3d1 Release 4.15.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 22:11:51 +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
Alexandre Julliard c1e8334735 Release 4.14.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-17 00:26:16 +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
Alexandre Julliard 21c1ab7a73 Release 4.13.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 21:24:39 +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 82543e7858 Release 4.12.1.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-07 11:25:09 +02:00
Alexandre Julliard 8c34add3bd Release 4.12.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 21:47:47 +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
Alexandre Julliard 07afb240a8 Release 4.11.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 23:42:46 +02:00
Alexandre Julliard 78f74446b9 Release 4.10.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 20:42:11 +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