Commit Graph

130612 Commits

Author SHA1 Message Date
Alexandre Julliard 94700e8376 rpcss: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:42 +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 7c0385bdb4 ntdll: Check for time conversion error to silence a compiler warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:25:11 +02:00
Erich E. Hoover 05fca48ebc iphlpapi: Implement AllocateAndGetTcpExTableFromStack.
Based on a patch by Ralf Habacker.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=34372
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:16:42 +02:00
Jefferson Carpenter dd318b135d server: Add __pad member to pe_image_info_t and zero it.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47032
Signed-off-by: Jefferson Carpenter <jeffersoncarpenter2@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:11:08 +02:00
Alistair Leslie-Hughes 911e9dad02 wintab32/tests: Improve WTInfoA tests.
Some older WACOM tables dont support DVC_Z, DVC_TPRESSURE.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:09:56 +02:00
Jacek Caban 73568dab0b ntoskrnl.exe: Support NULL offset in IoBuildSynchronousFsdRequest.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:09:38 +02:00
Jacek Caban b781a00b14 ntoskrnl.exe: Support SL_INVOKE_ON_CANCEL in IoCompleteRequest.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:09:34 +02:00
Jacek Caban 332035fb94 ntoskrnl.exe: Use ObOpenObjectByPointer to get handle for kernel object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:09:28 +02:00
Jacek Caban bfe3dfb535 ntoskrnl.exe: Implement ObOpenObjectByPointer.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:09:15 +02:00
Nikolay Sivov 136312e2dc mf: Add MFEnumDeviceSources() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:08:41 +02:00
Nikolay Sivov ec991fbf29 mfplat: Add more attribute guids.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:08:38 +02:00
Józef Kucia c03184001e dxgi: Avoid magic constants.
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-04-30 20:08:33 +02:00
Józef Kucia 750016bc8d wined3d: Assign *device in adapter_vk_create_device().
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-04-30 20:08:31 +02:00
Józef Kucia cf9623e68f wined3d: Make wined3d_gpu_description from Vulkan physical device properties.
This fallback for cards that are not present in wined3d database should be
quite accurate. Almost all information required to fill wined3d_gpu_description
can be retrieved from Vulkan. The GPU description string is expected to be
slightly different from Windows.

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-04-30 20:08:29 +02:00
Józef Kucia ace408edb4 wined3d: Factor out wined3d_copy_name().
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-04-30 20:08:26 +02:00
Józef Kucia 9f75b84219 wined3d: Implement GPU description registry override for Vulkan adapter.
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-04-30 20:08:24 +02:00
Nikolay Sivov dda9037c37 mfplat: Copy attributes when cloning presentation descriptor.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:08:09 +02:00
Nikolay Sivov fe0f8a150f ntdll: Initialize critical section debug info with correct pointer value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:08:04 +02:00
Nikolay Sivov 10bbe1111b mfreadwrite: Wake waiting threads on stream states changes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:07:04 +02:00
Dmitry Timoshkov 1875620466 crypt32: CryptMsgUpdate should skip broken certificates.
CertOpenStore() already verifies the certificate before adding it
to the memory store from the file, this patch makes CryptMsgUpdate()
behave in a similar way.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45757
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:06:47 +02:00
Nikolay Sivov 9fcb2c8822 ntdll: Account for null terminating char in unload traces (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:05:27 +02:00
Alexandre Julliard 4c5dd0e513 regsvr32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:56:00 +02:00
Alexandre Julliard 65e2d341a0 progman: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:55:50 +02:00
Alexandre Julliard cd6aa5f229 oleview: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:55:42 +02:00
Alexandre Julliard b13ce7597b netstat: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:54 +02:00
Alexandre Julliard cf391dc3e7 net: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:45 +02:00
Alexandre Julliard 8dff0e3445 msiexec: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:38 +02:00
Alexandre Julliard 40058d0486 msidb: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:28 +02:00
Alexandre Julliard adeb282c33 ipconfig: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:17 +02:00
Alexandre Julliard d47770e503 iexplore: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:08 +02:00
Alexandre Julliard 30ab4fe8ca icinfo: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:05 +02:00
Alexandre Julliard fdc124c1c6 hostname: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:02 +02:00
Alexandre Julliard cc47be73c9 hh: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:53:59 +02:00
Michael Stefaniuc 5bd1b2652c mscoree: Remove a redundant NULL check before heap_free().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 22:47:57 +02:00
Michael Stefaniuc 70996f49e3 wintrust: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 22:23:41 +02:00
Michael Stefaniuc 4905bc740d ntoskrnl.exe: Correctly initialize two CRITICAL_SECTION_DEBUGs.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 22:23:38 +02:00
Michael Stefaniuc 21f3bf53dc ntdll/tests: Avoid the comma operator.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 22:23:34 +02:00
Louis Lenders 34408796b9 user32: Added GetPointerType stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45765
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Vijay Kiran Kamuju 081fd1e997 virtdisk: Add stub and tests for OpenVirtualDisk.
Based on patch from Louis Lenders.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45947
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Martin Storsjo 2c42d5ee4d qcap: Fix compilation with older videodev2.h.
Older videodev2.h lack the V4L2_CAP_DEVICE_CAPS define and
the device_caps field in the v4l2_capability struct.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Martin Storsjo b10cdce31d avicap32: Fix compilation with older videodev2.h.
Older videodev2.h lack the V4L2_CAP_DEVICE_CAPS define and
the device_caps field in the v4l2_capability struct.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Nikolay Sivov df9a047aa2 mf: Add stub scheme handler for local file urls.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Jacek Caban 82860424bf ntoskrnl.exe: Implement PsGetThreadId.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Jacek Caban eb1146a500 ntoskrnl.exe: Implement PsGetProcessId.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Derek Lesho 1c2d517242 ntoskrnl.exe: Implement PsIsSystemThread.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Derek Lesho 1064e20a3f ntoskrnl.exe: Export and set PsInitialSystemProcess.
Signed-off-by: Derek Lesho <dereklesho52@Gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Jacek Caban 6ebc223955 ntoskrnl.exe: Implement IoGetCurrentProcess.
Based on patch by Derek Lesho.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=29460
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Nikolay Sivov 2be769d648 mfreadwrite: Return sample timestamp from ReadSample().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00