Piotr Caban
2833a10ba1
ucrtbase: Support overriding return value in _matherr.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-04 20:22:38 +02:00
Alistair Leslie-Hughes
47a5de3438
xactengine3_7: Return valid HRESULT from IXACT3Engine Initialize.
...
FAudio doesn't always return a valid HRESULT, ensure a valid code
is passed back to the application.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-04 16:04:27 +02:00
Liam Middlebrook
18d7bc9859
winevulkan: Harden calibrated_timestamps failure paths.
...
Addresses some comments that Zhiyi had made on the initial review thread.
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Andy Ritger <aritger@nvidia.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:24:16 +02:00
Zebediah Figura
91625e43f4
dsound: Select the nth effect matching the given CLSID in GetObjectInPath().
...
Instead of selecting the nth effect overall and checking whether it matches.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:24:01 +02:00
Jacek Caban
1c843d3997
kernelbase: Add missing consts to ScrollConsoleScreenBuffer declaration.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:23:54 +02:00
Gabriel Ivăncescu
e6d9aaeb67
iphlpapi: Update comment for SOCK_DGRAM since Linux also supports it from 3.0.
...
Linux does require the user to be in the range specified by
/proc/sys/net/ipv4/ping_group_range though, but otherwise works fine.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:23:31 +02:00
Daniel Lehman
a41cb33afa
wininet: Move INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT handling to helper.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:22:39 +02:00
Sven Baars
ea60927fbd
wbemprox: Avoid a use after free (Coverity).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:22:36 +02:00
Sven Baars
462edf6e2a
msi: Fix a leak (Coverity).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:22:33 +02:00
Evgeny Litvinenko
69f1b12a30
ntdll: Add check for totalram, mem_unit in struct sysinfo.
...
Signed-off-by: Evgeny Litvinenko <evgeny.v.litvinenko@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Vijay Kiran Kamuju
124cd264fa
xactengine3_7: Implement IXACT3Engine interface.
...
Based on patch from Ethan Lee.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Vijay Kiran Kamuju
255bae6046
xactengine3_7: Add new dll.
...
Based on original patch from Ethan Lee
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Ziqing Hui
439dff7664
d3dx10/tests: Add more test images for DDS format.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Jeff Smith
babb1019d1
setupapi: Clear error on SetupDiDestroyDeviceInfoList success.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49332
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Jeff Smith
f9028142d1
setupapi/tests: Add error tests for SetupDiDestroyDeviceInfoList.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Jeff Smith
cfde18c490
setupapi/tests: Change return values from coinst functions.
...
As co_error and class_error both return 0xdeadbeef, use of 0xdeadbeef as
a canary value as well can lead to ambiguous tests results.
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Huw Davies
88730d2254
maintainers: Add combase to the OLE RPC section.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Nikolay Sivov
f0a30d8929
combase: Move HPALETTE marshalling stubs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Nikolay Sivov
6cd7f96f28
combase: Move HBITMAP marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Nikolay Sivov
f155a53b54
combase: Move CLIPFORMAT marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Nikolay Sivov
0c7ecc899f
combase: Move HBRUSH marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Nikolay Sivov
a2e3bbbf0e
combase: Mark 64-bit only stubs as such.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Alexandre Julliard
2c903e9e9b
ntdll: Move the critical section fallback code out of the Unix library.
...
This partially reverts commit ff19f21913
.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 15:52:15 +02:00
Alexandre Julliard
647c54e539
ntdll: Fix wcsncpy() implementation now that length is unsigned.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49206
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 13:00:53 +02:00
Alexandre Julliard
cff04b34ac
winebuild: Always use DllMain as entry point for the 32-bit side of a 16-bit module.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49559
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 12:06:08 +02:00
Jacek Caban
dc199ae8b8
configure: Build with -mcx16 on x86_64.
...
This is needed on clang msvc target to allow _InterlockedCompareExchange128.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:23:44 +02:00
Zebediah Figura
eedbfe0c0d
quartz/tests: Fix a test in test_basic_video().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:22:55 +02:00
Zebediah Figura
3f5066b12e
msvcrt/tests: Fix some tests on Windows 2003 and earlier.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:22:50 +02:00
Sven Baars
bb8d23d563
prntvpt: Fix a null check (Coverity).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:22:38 +02:00
Sven Baars
333a867f75
ntoskrnl.exe/tests: Add a missing argument to an ok call (Coverity).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:22:22 +02:00
Sven Baars
3dbb87a3d0
sechost: Free the right variable (Coverity).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:22:13 +02:00
Akihiro Sagawa
8baf70a2d0
user32: Fix wsprintfA's buffer usage when using %S.
...
This fixes a regression introduced by
08bf605acb
.
It could lead to stack corruption because ret can be negative when the
output position, p, doesn't point the beginning of the buffer before
the inner loop.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:21:57 +02:00
Zebediah Figura
31800a1414
server: Use a separate object for each opened mailslot device file.
...
This is essentially a straight port of 2600ecd4ed
.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:20:03 +02:00
Zebediah Figura
3231901ad8
Revert "winegstreamer: Check for failure from gst_video_info_set_format().".
...
This reverts commit ddd43e0a80
.
This function returns void before 1.12.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49647
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 10:19:19 +02:00
Alexandre Julliard
70b735760e
Release 5.14.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 12:44:24 +02:00
Jacek Caban
0b801a4215
configure: Use *-windows instead of *-windows-gnu as fallback cross compiler target.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 11:33:05 +02:00
Georg Lehmann
1e074c39f6
winevulkan: Avoid returning 0 for swapchain maxImageCount.
...
Many Windows games do not expect that maxImageCount can be set to 0.
A value of 0 means that there is no limit on the number of images.
Nvidia reports 8 on Windows, AMD 16.
Based on a patch by Józef Kucia.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 11:32:53 +02:00
Zebediah Figura
70b2d181b1
dbghelp: Replace another usage of GetEnvironmentVariable() with the target process's environment.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 11:32:43 +02:00
Zebediah Figura
f4e5556547
ntdll/tests: Add more tests for object names.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 10:02:16 +02:00
Zebediah Figura
f53c2df6db
ntoskrnl.exe/tests: Add some tests for file names.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 10:02:16 +02:00
Gijs Vermeulen
218409c2d6
amstream: Return correct media type info when enumerating AMAudioStream media types.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 10:02:16 +02:00
Rémi Bernon
774ee4734a
dbghelp: Ignore missing debug info in SymInitializeW.
...
When fInvadeProcess is used, we return an error if the target process
is found but its debug info is not. We should only return an error if
the process is not found.
This fixes a SymInitializeW popup error on Hard Reset Redux startup.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 10:02:16 +02:00
Jacek Caban
fd71ffb44a
winegcc: Try using msvc file align syntax if mingw-style is not supported.
...
Allows setting file alignment on LLD 10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 10:00:18 +02:00
Jacek Caban
5e4ca097be
winegcc: Support file alignment on msvc target.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 10:00:18 +02:00
Dmitry Timoshkov
afe2d73db6
fonts: Add initial version of Webdings font.
...
Some applications confusingly use Webdings instead of Marlett to draw
non-client areas of their custom controls, this initial version of
Webdings contains just a few glyphs copied from Marlett to make these
apps happy.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 10:00:18 +02:00
Nikolay Sivov
e29b530921
combase: Move HICON marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 09:54:49 +02:00
Nikolay Sivov
8ba5df9a56
combase: Move HMENU marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 09:54:46 +02:00
Nikolay Sivov
63ee3fd52d
combase: Move HDC marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 09:54:43 +02:00
Nikolay Sivov
e14055ca84
combase: Move HWND marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 09:54:39 +02:00
Nikolay Sivov
7d67c412ea
combase: Move Wdtp* marshalling functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-01 09:54:35 +02:00